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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 03 Mar 2011 15:38:35 -0600
From:	Chris Friesen <chris.friesen@...band.com>
To:	Nico Schümann <dev@...o22.de>
CC:	linux-kernel@...r.kernel.org
Subject: Re: Network link detection

On 03/03/2011 01:30 PM, Nico Schümann wrote:
> Dear kernel developers,
> 
> currently I'm looking for a way to find out whether a network link went 
> down or up. Of course there is mii-tool, which can watch devices, too.
> 
> Unfortunately, I was not able to find out a way to be notified about 
> link status changes asynchronously. Is there a way? I'm looking for 
> something like "inotify for link states".

You might look at whether you could write a kernel module to register
for NETDEV_CHANGE notifications and pass that back to userspace.

Chris

-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@...band.com
www.genband.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ