From owner-cvs-all Mon Aug 19 8:16:46 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 06D7737B400; Mon, 19 Aug 2002 08:16:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1255C43E42; Mon, 19 Aug 2002 08:16:40 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from freefall.freebsd.org (sobomax@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7JFGdJU066214; Mon, 19 Aug 2002 08:16:39 -0700 (PDT) (envelope-from sobomax@freefall.freebsd.org) Received: (from sobomax@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7JFGdeG066213; Mon, 19 Aug 2002 08:16:39 -0700 (PDT) Message-Id: <200208191516.g7JFGdeG066213@freefall.freebsd.org> From: Maxim Sobolev Date: Mon, 19 Aug 2002 08:16:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.8 ifconfig.c src/sys/net if.c if.h if_ethersubr.c X-FreeBSD-CVS-Branch: HEAD 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 sobomax 2002/08/19 08:16:38 PDT Modified files: sbin/ifconfig ifconfig.8 ifconfig.c sys/net if.c if.h if_ethersubr.c Log: Implement user-setable promiscuous mode (a new `promisc' flag for ifconfig(8)). Also, for all interfaces in this mode pass all ethernet frames to upper layer, even those not addressed to our own MAC, which allows packets encapsulated in those frames be processed with packet filters (ipfw(8) et al). Emphatically requested by: Anton Turygin Valuable suggestions by: fenner Revision Changes Path 1.60 +4 -0 src/sbin/ifconfig/ifconfig.8 1.78 +3 -1 src/sbin/ifconfig/ifconfig.c 1.146 +11 -0 src/sys/net/if.c 1.75 +2 -1 src/sys/net/if.h 1.117 +2 -2 src/sys/net/if_ethersubr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message