lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 01 Dec 2009 12:28:59 +0100
From:	Patrick McHardy <kaber@...sh.net>
To:	Marcel Holtmann <marcel@...tmann.org>
CC:	netdev@...r.kernel.org
Subject: Re: Netlink event for network device statistics

Marcel Holtmann wrote:
> Hi everyone,
> 
> so I was playing with monitoring network device statistics and storing
> them over a period of time. While netlink and ethtool provides all the
> network packet statistics, I have a problem with devices that are
> actually hotplug. Especially 3G cards that get taken off the bus via
> RFKILL and external dongles that can be unplugged at any time.
> 
> So I was thinking that before we send the DELLINK netlink event for that
> interface, we should send the latest statistic details via netlink. Is
> that a good idea or is there another way to get up-to-date statistics
> without polling for them?

Don't we already include them in the DELLINK message? rtnl_fill_ifinfo()
unconditionally includes the statistics.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists