History log of /src/tests/net/if_bridge/t_bridge.sh |
Revision | | Date | Author | Comments |
1.21 |
| 03-Sep-2024 |
ozaki-r | tests, bridge: add tests for interface protection
The original author of the test is k-goda@IIJ. ozaki-r improved the test slightly.
|
1.20 |
| 03-Sep-2024 |
ozaki-r | tests: dedup test scripts like others
|
1.19 |
| 19-Aug-2019 |
ozaki-r | branches: 1.19.8; 1.19.10; tests: use rump_server_add_iface to create interfaces
|
1.18 |
| 01-Feb-2018 |
ozaki-r | branches: 1.18.4; Commonalize and add tests of creating/destroying interfaces
|
1.17 |
| 11-Mar-2017 |
ozaki-r | branches: 1.17.4; Separate tests for learning table of bridge
|
1.16 |
| 25-Nov-2016 |
ozaki-r | branches: 1.16.2; Share rump_server start/stop and interface creation/destruction functions
The common functions store socks of rump_servers, interfaces of rump_servers and buses that intefaces connect and allow to destroy them with common functions without specifying which socks, interfaces and buses we should destroy.
This change reduces lots of similar setup/cleanup codes.
|
1.15 |
| 25-Nov-2016 |
ozaki-r | Add $DEBUG and remove a unused function
|
1.14 |
| 24-Nov-2016 |
ozaki-r | Move get_macaddr to net_common.sh
|
1.13 |
| 10-Aug-2016 |
kre | + -lrumpdev (and avoid doing stuff twice).
|
1.12 |
| 21-Jun-2016 |
ozaki-r | branches: 1.12.2; Make a bunch of test names self-descriptive
|
1.11 |
| 07-Aug-2015 |
ozaki-r | Use rump.ping6 instead of ping6 with rumphijack(3)
|
1.10 |
| 23-Jul-2015 |
ozaki-r | Reflect a fix for bridge
Due to PR 48104, some tests of ping/ping6 were failed but the tests now should be successful. So reverse atf_check.
Bonus: the fix for PR 48104 also fixes another uknown failure.
|
1.9 |
| 10-Jun-2015 |
ozaki-r | Add missing cleanup
|
1.8 |
| 09-Jun-2015 |
ozaki-r | Add tests for bridge members with an IP address
The tests include checks for PR#48104 which is not fixed yet.
Note that one test unexpectedly fails for some reason (unrelated to PR#48104). We have to fix it somehow.
|
1.7 |
| 29-May-2015 |
ozaki-r | Disable test_ping_failure which is conducted before setup_bridge
It randomly fails (esp, often on a slow or loaded machine) due to PR kern/49219, so disable it for now.
I forgot why I didn't include the test when I committed the test at first and wrongly added it at v1.4.
|
1.6 |
| 29-May-2015 |
ozaki-r | Bump timeout for ping and ping6 to 5 sec
Hope the wait is enough for slow machines, e.g., qemu/anita/i386.
|
1.5 |
| 29-May-2015 |
ozaki-r | Get rid of unnecessary shebang
It will be added when it's built.
|
1.4 |
| 16-May-2015 |
ozaki-r | Enable IPv6 negative tests
As ping6 timeout feature (-X option) is added, we can do negative tests without wasting time.
1 sec delay is added after network setup to avoid false positives.
|
1.3 |
| 08-Jan-2015 |
ozaki-r | Add tests for brconfig maxaddr
|
1.2 |
| 07-Jan-2015 |
ozaki-r | Add some tests for rtable operations of if_bridge
|
1.1 |
| 18-Sep-2014 |
ozaki-r | Add net/if_bridge test
|
1.12.2.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.12.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.16.2.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.17.4.1 |
| 26-Feb-2018 |
snj | Pull up following revision(s) (requested by ozaki-r in ticket #572): sys/net/if_bridge.c: 1.138, 1.148 tests/net/if_bridge/t_bridge.sh: 1.18 tests/net/if_gif/t_gif.sh: 1.12 tests/net/if_ipsec/t_ipsec.sh: 1.3 tests/net/if_l2tp/t_l2tp.sh: 1.4 tests/net/if_loop/t_basic.sh: 1.2 tests/net/if_pppoe/t_pppoe.sh: 1.18 tests/net/if_tap/t_tap.sh: 1.7 tests/net/if_tun/Makefile: 1.2 tests/net/if_tun/t_tun.sh: 1.5 tests/net/if_vlan/t_vlan.sh: 1.8 tests/net/net_common.sh: 1.26 Remove unnecessary splsoftnet -- If the bridge is not running, don't call bridge_stop. Otherwise the following commands will crash the kernel: ifconfig bridge0 create ifconfig bridge0 destroy -- Commonalize and add tests of creating/destroying interfaces
|
1.18.4.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.19.10.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
1.19.8.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
|