Enabling Connectivity Checking in NetworkManager

Chase Douglas chase.douglas at canonical.com
Wed Jul 11 19:48:09 UTC 2012


On 07/11/2012 12:17 PM, Thomas Bechtold wrote:
> On Wed, 2012-07-11 at 06:08 +0200, Martin Pitt wrote:
>> Mathieu Trudel-Lapierre [2012-07-10 14:41 -0400]:
>> It could stop polling until the connection state changes
>> then.
>
> if you don't poll, you never know if the connection state changed.

My devious self is wondering if each computer can have an active TCP 
connection to a specific address, like connected.ubuntu.com, with TCP 
keepalives at a high interval (maybe 10 seconds). You don't have the 
overhead of constantly opening and closing connections, but you do have 
the overhead of actually keeping millions of connections open on the server.

This addresses none of the privacy concerns, of course, but it does give 
near immediate notification when the network has died, no matter how you 
get your connection.

-- Chase



More information about the ubuntu-devel mailing list