From owner-cvs-all Wed Jul 31 16:45: 3 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 7785C37B400; Wed, 31 Jul 2002 16:44:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 417FB43E3B; Wed, 31 Jul 2002 16:44:37 -0700 (PDT) (envelope-from luigi@FreeBSD.org) Received: from freefall.freebsd.org (luigi@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6VNiRJU072610; Wed, 31 Jul 2002 16:44:27 -0700 (PDT) (envelope-from luigi@freefall.freebsd.org) Received: (from luigi@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6VNiQVj072609; Wed, 31 Jul 2002 16:44:27 -0700 (PDT) Message-Id: <200207312344.g6VNiQVj072609@freefall.freebsd.org> From: Luigi Rizzo Date: Wed, 31 Jul 2002 16:44:26 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_ethersubr.c X-FreeBSD-CVS-Branch: RELENG_4 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 luigi 2002/07/31 16:44:26 PDT Modified files: (Branch: RELENG_4) sys/net if_ethersubr.c Log: Make net.link.ether.ipfw read-write so users of ipfw2 can set it to 1 to try MAC filtering of layer2 packets. It also works with ipfw, but 1) you are not supposed to know, and 2) ipfw does not have instructions to match MAC fields. See the commit log for rev.1.111 of this file to understand when the firewall is invoked. We do not have separate firewall chains yet so if you are not careful the same packet can be processed by ipfw up to 4 times. Revision Changes Path 1.70.2.28 +1 -1 src/sys/net/if_ethersubr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message