From owner-freebsd-doc Wed Oct 23 2:10: 6 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93D7237B404 for ; Wed, 23 Oct 2002 02:10:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C520843E8A for ; Wed, 23 Oct 2002 02:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9N9A3x3021105 for ; Wed, 23 Oct 2002 02:10:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9N9A3wk021104; Wed, 23 Oct 2002 02:10:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F97F37B404 for ; Wed, 23 Oct 2002 02:07:31 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F77143E6A for ; Wed, 23 Oct 2002 02:07:31 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9N97T7R072025 for ; Wed, 23 Oct 2002 02:07:29 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9N97TXD072024; Wed, 23 Oct 2002 02:07:29 -0700 (PDT) Message-Id: <200210230907.g9N97TXD072024@www.freebsd.org> Date: Wed, 23 Oct 2002 02:07:29 -0700 (PDT) From: Constantin Stefanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/44400: ipfw(8) has contradictions in bridged and layer2 options description Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44400 >Category: docs >Synopsis: ipfw(8) has contradictions in bridged and layer2 options description >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 23 02:10:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Constantin Stefanov >Release: 4.7-RELEASE >Organization: SRCC MSU >Environment: FreeBSD undisclosed.domain 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Tue Oct 15 12:52:12 MSD 2002 cstef@undisclosed.domain:/opt/obj/opt/src/sys/KERNEL i386 >Description: In ipfw(8) we read: # packets from ether_demux or bdg_forward ipfw add 10 skipto 1000 all from any to any layer2 in ..skipped... (yes, at the moment there is no way to differentiate between ether_demux and bdg_forward). But in RULE OPTIONS (MATCH PATTERNS) section: bridged Matches only bridged packets. .. layer2 Matches only layer2 packets, i.e. those passed to ipfw from ether_demux() and ether_output_frame(). After reading /usr/src/sbin/ipfw2.c I understood that layer2 and bridged are aliases. To make man page clearer it should be reflected in it. >How-To-Repeat: man 8 ipfw >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message