On Thu, 2008-01-31 at 13:51 +0000, Andrew Suffield wrote:
> On Thu, Jan 31, 2008 at 08:44:14AM -0500, Brian J. Murrell wrote:
> > On Thu, 2008-01-31 at 13:25 +0000, Andrew Suffield wrote:
> > > 
> > > This would be an inadequate solution, because it does not account for
> > > ethernet interfaces that change media state;
> > 
> > As in link up/down -- the result of [un]plugging the cable?
> 
> Yes, but also of the device on the other end changing state. For
> example, it's fairly common for a fibre transceiver to indicate loss
> of link on the fibre connection by switching off its ethernet
> interface. It's also the behaviour you get when somebody puts a nail
> through the cat5 cable. From userspace, this appears as the RUNNING
> flag changing on the interface, not as a hotplug event.

Hrm.  Maybe I inadvertently described my goal more lofty than it is.  I
guess the "event" that I want to plug into is more like when an
administrator (or a system boot) if{up,down}'s an interface.  I don't
know how many distributions provide hooks into that, but OpenWrt for one
does.

b.

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to