Sun Jul 19 14:39:42 2020 UTC ()
sync with reality


(maxv)
diff -r1.18 -r1.19 src/sbin/brconfig/brconfig.8

cvs diff -r1.18 -r1.19 src/sbin/brconfig/brconfig.8 (expand / switch to unified diff)

--- src/sbin/brconfig/brconfig.8 2015/01/05 00:36:23 1.18
+++ src/sbin/brconfig/brconfig.8 2020/07/19 14:39:42 1.19
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: brconfig.8,v 1.18 2015/01/05 00:36:23 msaitoh Exp $ 1.\" $NetBSD: brconfig.8,v 1.19 2020/07/19 14:39:42 maxv Exp $
2.\" 2.\"
3.\" Copyright 2001 Wasabi Systems, Inc. 3.\" Copyright 2001 Wasabi Systems, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Written by Jason R. Thorpe for Wasabi Systems, Inc. 6.\" Written by Jason R. Thorpe for Wasabi Systems, Inc.
7.\" 7.\"
8.\" Redistribution and use in source and binary forms, with or without 8.\" Redistribution and use in source and binary forms, with or without
9.\" modification, are permitted provided that the following conditions 9.\" modification, are permitted provided that the following conditions
10.\" are met: 10.\" are met:
11.\" 1. Redistributions of source code must retain the above copyright 11.\" 1. Redistributions of source code must retain the above copyright
12.\" notice, this list of conditions and the following disclaimer. 12.\" notice, this list of conditions and the following disclaimer.
13.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" 2. Redistributions in binary form must reproduce the above copyright
14.\" notice, this list of conditions and the following disclaimer in the 14.\" notice, this list of conditions and the following disclaimer in the
@@ -23,27 +23,27 @@ @@ -23,27 +23,27 @@
23.\" 23.\"
24.\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 24.\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
25.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 25.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
26.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 26.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 27.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
28.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34.\" POSSIBILITY OF SUCH DAMAGE. 34.\" POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.Dd January 5, 2015 36.Dd July 19, 2020
37.Dt BRCONFIG 8 37.Dt BRCONFIG 8
38.Os 38.Os
39.Sh NAME 39.Sh NAME
40.Nm brconfig 40.Nm brconfig
41.Nd configure network bridge parameters 41.Nd configure network bridge parameters
42.Sh SYNOPSIS 42.Sh SYNOPSIS
43.Nm 43.Nm
44.Fl a 44.Fl a
45.Nm 45.Nm
46.Ar bridge 46.Ar bridge
47.Nm 47.Nm
48.Ar bridge 48.Ar bridge
49.Ar command 49.Ar command
@@ -142,29 +142,27 @@ attribute on a member interface. @@ -142,29 +142,27 @@ attribute on a member interface.
142For packets without the 142For packets without the
143.Dq discovering 143.Dq discovering
144attribute, the only packets forwarded on the interface are broadcast 144attribute, the only packets forwarded on the interface are broadcast
145or multicast packets and packets for which the destination address 145or multicast packets and packets for which the destination address
146is known to be on the interface's segment. 146is known to be on the interface's segment.
147.It Cm ipf 147.It Cm ipf
148Enable packet filtering with 148Enable packet filtering with
149.Xr pfil 9 149.Xr pfil 9
150on the bridge. 150on the bridge.
151The current implementation passes 151The current implementation passes
152all ARP and RARP packets through the bridge 152all ARP and RARP packets through the bridge
153while filtering IP and IPv6 packets through the configured packet 153while filtering IP and IPv6 packets through the configured packet
154filter, such as 154filter, such as
155.Xr ipf 4 155.Xr npf 7 .
156or 
157.Xr pf 4 . 
158Other packet types are blocked. 156Other packet types are blocked.
159.It Cm learn Ar interface 157.It Cm learn Ar interface
160Mark an interface as a 158Mark an interface as a
161.Dq learning 159.Dq learning
162interface. 160interface.
163When a packet arrives on such an interface, the source 161When a packet arrives on such an interface, the source
164address of the packet is entered into the address cache as being a 162address of the packet is entered into the address cache as being a
165destination address on the interface's segment. 163destination address on the interface's segment.
166This is the default for all interfaces added to a bridge. 164This is the default for all interfaces added to a bridge.
167.It Cm -learn Ar interface 165.It Cm -learn Ar interface
168Clear the 166Clear the
169.Dq learning 167.Dq learning
170attribute on a member interface. 168attribute on a member interface.
@@ -249,27 +247,27 @@ create @@ -249,27 +247,27 @@ create
249 add tlp2 stp tlp2 \e 247 add tlp2 stp tlp2 \e
250 add tlp3 stp tlp3 \e 248 add tlp3 stp tlp3 \e
251 add tlp4 stp tlp4 \e 249 add tlp4 stp tlp4 \e
252 add tlp5 stp tlp5 \e 250 add tlp5 stp tlp5 \e
253 add tlp6 stp tlp6 \e 251 add tlp6 stp tlp6 \e
254 add tlp7 stp tlp7 \e 252 add tlp7 stp tlp7 \e
255 up 253 up
256.Ed 254.Ed
257.Sh SEE ALSO 255.Sh SEE ALSO
258.Xr bridge 4 , 256.Xr bridge 4 ,
259.Xr pf 4 , 257.Xr pf 4 ,
260.Xr ifconfig.if 5 , 258.Xr ifconfig.if 5 ,
261.Xr ifconfig 8 , 259.Xr ifconfig 8 ,
262.Xr ipf 8 , 260.Xr npf 7 ,
263.Xr pfil 9 261.Xr pfil 9
264.Sh HISTORY 262.Sh HISTORY
265The 263The
266.Nm 264.Nm
267utility first appeared in 265utility first appeared in
268.Nx 1.6 . 266.Nx 1.6 .
269.Sh AUTHORS 267.Sh AUTHORS
270The 268The
271.Xr bridge 4 269.Xr bridge 4
272driver and 270driver and
273.Nm 271.Nm
274utility were originally written by 272utility were originally written by
275.An Jason L. Wright 273.An Jason L. Wright