Re: Network Monitor



On Thu, 2011-02-17 at 14:14 +0000, Marc Herbert wrote:
> Le 15/02/2011 18:53, Matej Kovacic a écrit :
> > I am using 3G mobile connection, and have limited traffic. Traffic over
> > some treshold (for instance 1 Gb a month) is very very expensive.
> > 
> > Which means there would be great to have some network traffic monitor
> > for a specific connection. Something like:
> > http://netramon.sourceforge.net/eng/help.html
> > 
> > Idea is to have per-connection traffic monitor, which could be enabled
> > or disabled. When enabled, it would measure amount of traffic for a
> > specific time interval. When limit will be approaching, it would start
> > notifying user about the limit. When limit is reached, it would
> > disconnect connection.
> 
> I am not an NM developer but if I had to implement this I would rather
> make netramon and NetworkManager talk to each other using D-BUS rather
> than re-implementing netramon (or else) inside NetworkManager.
> 
> From the NetworkManager side I guess that most of the required D-BUS
> API is already there.
> 
> See also:
> http://thread.gmane.org/gmane.linux.network.networkmanager.devel/17322

It's not been done yet because it requires a lookaside database to store
the start/stop times and data counts for each connection type, not just
3G.  But it should be pretty contained, and patches are welcome to do so
from the NM side, then we can work on the UI side as well.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]