[Pidgin] #13612: ntrack support for networkmanager independent network online/offline tracking onlinux

Pidgin trac at pidgin.im
Sun Mar 27 07:32:09 EDT 2011


#13612: ntrack support for networkmanager independent network online/offline
tracking onlinux
--------------------------+-------------------------------------------------
 Reporter:  asac          |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.7.11    
 Keywords:                |  
--------------------------+-------------------------------------------------
 Hi,

 force_online could be the past. ntrack supports linux systems by tracking
 online/offline through the rtnetlink kernel interface.

 It gives you high level network status:

  1. online
  2. blocked (while reconnecting etc.)
  3. offline

 also you can register for network change events

  1. connect
  2. disconnect
  3. reconnect (this is when the topmost default route changes (e.g. like
 you a new default route with higher priority; typically this means you
 have to reconnect your sockets etc.)

 ntrack has various APIs supported. Attached a first patch for using the
 ntrack-glib.h API which comes in form of a GSource.

 If you prefer to use the gobject/signal driven gobject API let me know and
 I can update the patch.

 Also, if you have questions in future, please file bugs against
 https://bugs.launchpad.net/ntrack or ping me (asac) on freenode for input
 ... or just reply to this bug i guess ;).

 attached a first patch against 2.7.11.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13612>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list