Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 02:07:29 -0700 (PDT)
From:      Constantin Stefanov <cstef@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/44400: ipfw(8) has contradictions in bridged and layer2 options description
Message-ID:  <200210230907.g9N97TXD072024@www.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210230907.g9N97TXD072024>