Home | History | Annotate | only in /src/sbin/brconfig
History log of /src/sbin/brconfig
RevisionDateAuthorComments
 1.3 27-Jun-2005  christos Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
 1.2 20-Jan-2005  xtraeme Remove main() prototype; WARNS=3
 1.1 17-Aug-2001  thorpej Configuration utility for bridge(4) devices.
 1.22 03-Sep-2024  uwe brconfig(8): tweak markup
 1.21 03-Sep-2024  ozaki-r brconfig: add protect/-protect commands

It marks/clears a specified interface "protected".
 1.20 19-Jul-2020  wiz branches: 1.20.6; 1.20.8;
Remove unused Pp. Sort SEE ALSO.
 1.19 19-Jul-2020  maxv sync with reality
 1.18 05-Jan-2015  msaitoh Add missing "addr" and "static" commands.
 1.17 08-Jan-2007  wiz branches: 1.17.20; 1.17.38; 1.17.56;
Bump date for previous.
 1.16 07-Jan-2007  isaki Sync with reality. The default timeout is 1200 sec.
 1.15 14-Dec-2006  reed Mention pfil(9). Reword slightly for "ipf" option as filters IPv6
also (and ICMP is implied) and that other types are blocked.

Point to pf(4) and pfil man pages.

Based on discussion in January 2006 on tech-kern. (This has been
in my tree for around 11 months.)

This part of my work to change this (and related to use) pfil (instead
of ipf). That is done back then but needs some testing.
 1.14 11-Oct-2006  pooka lower value mean higher priority for bridges
+ fix off-by-one

Tobias Nygren, bin/34781
 1.13 12-Jan-2006  wiz Improve a sentence.
 1.12 11-Jan-2006  agc Minor fix - correct a typo
 1.11 29-Apr-2003  wiz Remove superfluous +. From FUKAUMI Naoki in PR 21390.
 1.10 19-Mar-2003  wiz Bump date for last change; new sentence, new line.
 1.9 19-Mar-2003  bouyer Fix 2 bugs:
- initialise stp when the bridge is turned up, without this stp will keep
all interfaces disabled in a sequence like:
brconfig bridge0 add if0 add if1 stp if0 stp if1 up
- s/BRDGSPRI/BRDGSIFPRIO in brconfig.c:cmd_ifpriority()

add a command (ifpathcost) to change the stp path cost of the STP path cost of
an interface. Display the interface path cost with the others STP parameters.
 1.8 03-Mar-2003  wiz New sentence, new line.
 1.7 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.6 15-Feb-2003  perseant Add ipf packet-filtering option to if_bridge. The option is controlled at
compile-time by BRIDGE_IPF, and at runtime by brconfig with the {ipf,-ipf}
option on a per-bridge basis.

As a side-effect, add PFIL_HOOKS processing to if_bridge.
 1.5 06-Nov-2002  enami Fix typo.
 1.4 01-Oct-2002  wiz New sentence, new line. By Robert Elz with minimal fixes.
 1.3 16-Nov-2001  wiz branches: 1.3.2;
Sort sections, use standard section headers.
 1.2 16-Nov-2001  wiz Whitespace nits
 1.1 17-Aug-2001  thorpej Configuration utility for bridge(4) devices.
 1.3.2.2 30-Jun-2003  grant Pull up revision 1.10 (requested by bouyer in ticket #1355):

Bump date for last change; new sentence, new line.
 1.3.2.1 30-Jun-2003  grant Apply patch (requested by bouyer in ticket #1355):

Fix 2 bugs:
- initialise stp when the bridge is turned up, without this stp will
keep all interfaces disabled in a sequence like:
brconfig bridge0 add if0 add if1 stp if0 stp if1 up
- s/BRDGSPRI/BRDGSIFPRIO in brconfig.c:cmd_ifpriority()

add a command (ifpathcost) to change the stp path cost of the STP path
cost of an interface. Display the interface path cost with the others
STP parameters.
 1.17.56.1 08-Jan-2015  snj Pull up following revision(s) (requested by msaitoh in ticket #391):
sbin/brconfig/brconfig.8: revision 1.18
Add missing "addr" and "static" commands.
 1.17.38.1 16-Jan-2015  snj Pull up following revision(s) (requested by msaitoh in ticket #1228):
sbin/brconfig/brconfig.8: revision 1.18
Add missing "addr" and "static" commands.
 1.17.20.1 23-Jan-2015  martin Pull up following revision(s) (requested by msaitoh in ticket #1941):
sbin/brconfig/brconfig.8: revision 1.18
Add missing "addr" and "static" commands.
 1.20.8.1 02-Aug-2025  perseant Sync with HEAD
 1.20.6.1 05-Sep-2024  martin Pull up following revision(s) (requested by ozaki-r in ticket #818):

sys/net/if_bridgevar.h: revision 1.39
sbin/brconfig/brconfig.c: revision 1.18
tests/net/if_bridge/unicast.pcap.uue: revision 1.1
tests/net/if_bridge/t_bridge.sh: revision 1.20
sbin/brconfig/brconfig.8: revision 1.21
tests/net/if_bridge/t_bridge.sh: revision 1.21
sys/net/if_bridge.c: revision 1.194
tests/net/if_bridge/Makefile: revision 1.4
distrib/sets/lists/tests/mi: revision 1.1336
tests/net/if_bridge/broadcast.pcap.uue: revision 1.1

bridge: implement interface protection

It enables a feature similar to "protected-port" or "isolation" in some
router products by marking member interfaces protected; when a frame
arrives on a protected interface and is being forwarded to another
protected interface, the frame will be discarded.

The code is developed by the SEIL team at IIJ.

tests: dedup test scripts like others

brconfig: add protect/-protect commands

It marks/clears a specified interface "protected".
tests, bridge: add tests for interface protection

The original author of the test is k-goda@IIJ. ozaki-r improved
the test slightly.

distrib: install uuencoded pcap files for testing
 1.18 03-Sep-2024  ozaki-r brconfig: add protect/-protect commands

It marks/clears a specified interface "protected".
 1.17 01-Jun-2015  matt branches: 1.17.26; 1.17.28;
Use the new BRDGGIFS and BRDGRTS cmds which just use ifdrv directly.
 1.16 28-May-2015  joerg constness doesn't increase by applying more const.
 1.15 28-May-2015  matt Constify an array of strings.
 1.14 23-Aug-2012  drochner the address expire counter is just a time difference; it can turn
negative after the timer expired until the entry is deleted.
make it signed, so that we don't get output like
"00:1b:78:12:50:46 wm0 18446744073709551349 flags=0<>"
 1.13 29-Aug-2011  joerg branches: 1.13.2;
static + __dead
 1.12 16-Mar-2009  lukem fix sign-compare issues
 1.11 20-Mar-2006  christos branches: 1.11.30;
Coverity CID 774: Don't increment a pointer *before* testing it for NULL!
 1.10 20-Mar-2005  yamt remove IFFBITS definition. now net/if.h has it.

PR/29748 from FUKAUMI Naoki.
 1.9 20-Jan-2005  xtraeme Remove main() prototype; WARNS=3
 1.8 28-Oct-2004  dsl Add (unsigned char) to isdidgit call
 1.7 19-Sep-2003  itojun realloc pedant
 1.6 23-Jun-2003  agc Add NetBSD RCS Ids.
 1.5 19-Mar-2003  bouyer Fix 2 bugs:
- initialise stp when the bridge is turned up, without this stp will keep
all interfaces disabled in a sequence like:
brconfig bridge0 add if0 add if1 stp if0 stp if1 up
- s/BRDGSPRI/BRDGSIFPRIO in brconfig.c:cmd_ifpriority()

add a command (ifpathcost) to change the stp path cost of the STP path cost of
an interface. Display the interface path cost with the others STP parameters.
 1.4 27-Feb-2003  perseant Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
 1.3 15-Feb-2003  perseant Add ipf packet-filtering option to if_bridge. The option is controlled at
compile-time by BRIDGE_IPF, and at runtime by brconfig with the {ipf,-ipf}
option on a per-bridge basis.

As a side-effect, add PFIL_HOOKS processing to if_bridge.
 1.2 06-Nov-2002  enami Fix typo in error message.
 1.1 17-Aug-2001  thorpej branches: 1.1.2;
Configuration utility for bridge(4) devices.
 1.1.2.1 30-Jun-2003  grant Apply patch (requested by bouyer in ticket #1355):

Fix 2 bugs:
- initialise stp when the bridge is turned up, without this stp will
keep all interfaces disabled in a sequence like:
brconfig bridge0 add if0 add if1 stp if0 stp if1 up
- s/BRDGSPRI/BRDGSIFPRIO in brconfig.c:cmd_ifpriority()

add a command (ifpathcost) to change the stp path cost of the STP path
cost of an interface. Display the interface path cost with the others
STP parameters.
 1.11.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.13.2.1 30-Oct-2012  yamt sync with head
 1.17.28.1 02-Aug-2025  perseant Sync with HEAD
 1.17.26.1 05-Sep-2024  martin Pull up following revision(s) (requested by ozaki-r in ticket #818):

sys/net/if_bridgevar.h: revision 1.39
sbin/brconfig/brconfig.c: revision 1.18
tests/net/if_bridge/unicast.pcap.uue: revision 1.1
tests/net/if_bridge/t_bridge.sh: revision 1.20
sbin/brconfig/brconfig.8: revision 1.21
tests/net/if_bridge/t_bridge.sh: revision 1.21
sys/net/if_bridge.c: revision 1.194
tests/net/if_bridge/Makefile: revision 1.4
distrib/sets/lists/tests/mi: revision 1.1336
tests/net/if_bridge/broadcast.pcap.uue: revision 1.1

bridge: implement interface protection

It enables a feature similar to "protected-port" or "isolation" in some
router products by marking member interfaces protected; when a frame
arrives on a protected interface and is being forwarded to another
protected interface, the frame will be discarded.

The code is developed by the SEIL team at IIJ.

tests: dedup test scripts like others

brconfig: add protect/-protect commands

It marks/clears a specified interface "protected".
tests, bridge: add tests for interface protection

The original author of the test is k-goda@IIJ. ozaki-r improved
the test slightly.

distrib: install uuencoded pcap files for testing

RSS XML Feed