Date: Fri, 27 Sep 2002 15:09:41 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.8 ifconfig.c src/sys/net if.h if_ethersubr.c Message-ID: <Pine.NEB.3.96L.1020927150839.65249C-100000@fledge.watson.org> In-Reply-To: <200209271857.g8RIvlam004322@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I can't remember if it ever made it into the main tree, but we use the mac_ifoff policy module to silence network interface I/O when trying to sniff a network. This is particularly useful for "noisy" network stacks such as IPv6, which like to spontaneously send packets following link layer activity. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Fri, 27 Sep 2002, Poul-Henning Kamp wrote: > phk 2002/09/27 11:57:47 PDT > > Modified files: > sbin/ifconfig ifconfig.8 ifconfig.c > sys/net if.h if_ethersubr.c > Log: > Add the "Monitor" interface flag. > > Setting this flag on an ethernet interface blocks transmission of packets > and discards incoming packets after BPF processing. > > This is useful if you want to monitor network trafic but not interact > with the network in question. > > Sponsored by: http://www.babeltech.dk > > Revision Changes Path > 1.62 +11 -0 src/sbin/ifconfig/ifconfig.8 > 1.80 +2 -0 src/sbin/ifconfig/ifconfig.c > 1.78 +1 -0 src/sys/net/if.h > 1.124 +7 -0 src/sys/net/if_ethersubr.c > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020927150839.65249C-100000>