From owner-cvs-all Fri Sep 27 12:10:12 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6160837B404; Fri, 27 Sep 2002 12:10:10 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B1AC43E65; Fri, 27 Sep 2002 12:10:08 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g8RJ9gOo069296; Fri, 27 Sep 2002 15:09:42 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 27 Sep 2002 15:09:41 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Poul-Henning Kamp 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 In-Reply-To: <200209271857.g8RIvlam004322@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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