|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
| #
a6daf4d5 |
| 20-Feb-2021 |
Alexander V. Chernikov <[email protected]> |
Add arp/ndp tests in addition to rtsock ll tests.
(cherry picked from commit f17f94cd1b99c61faa08aa988b47805c53b78ac7)
|
|
Revision tags: release/12.2.0 |
|
| #
99efb80d |
| 10-Sep-2020 |
Alexander V. Chernikov <[email protected]> |
Add basic test for net.fibs dynamic growth.
Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D26382
|
|
Revision tags: release/11.4.0 |
|
| #
b43bd107 |
| 19-May-2020 |
Edward Tomasz Napierala <[email protected]> |
Make sys.netinet.output and sys.netinet6.output6 tests depend on python; they need to be able to run net_receiver.py.
MFC after: 2 weeks Sponsored by: DARPA
|
| #
768c98a7 |
| 06-May-2020 |
Alexander V. Chernikov <[email protected]> |
Add basic routing LPM tests.
Differential Revision: https://reviews.freebsd.org/D24684
|
| #
b4a4a3b8 |
| 23-Mar-2020 |
Alexander V. Chernikov <[email protected]> |
Add tests verifying IPv4/IPv6 output for TCP/UDP/raw paths.
Reviewed by: kp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24138
|
| #
d7cdd897 |
| 10-Mar-2020 |
Alexander V. Chernikov <[email protected]> |
Add basic IPv4/IPv6 forwarding tests.
MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24002
|
| #
2207447b |
| 14-Feb-2020 |
Alexander V. Chernikov <[email protected]> |
Add basic IPDIVERT tests.
Reviewed by: lwhsu,kp Differential Revision: https://reviews.freebsd.org/D23316
|
| #
34a5582c |
| 22-Jan-2020 |
Alexander V. Chernikov <[email protected]> |
Bring back redirect route expiration.
Redirect (and temporal) route expiration was broken a while ago. This change brings route expiration back, with unified IPv4/IPv6 handling code.
It introduces
Bring back redirect route expiration.
Redirect (and temporal) route expiration was broken a while ago. This change brings route expiration back, with unified IPv4/IPv6 handling code.
It introduces net.inet.icmp.redirtimeout sysctl, allowing to set an expiration time for redirected routes. It defaults to 10 minutes, analogues with net.inet6.icmp6.redirtimeout.
Implementation uses separate file, route_temporal.c, as route.c is already bloated with tons of different functions. Internally, expiration is implemented as an per-rnh callout scheduled when route with non-zero rt_expire time is added or rt_expire is changed. It does not add any overhead when no temporal routes are present.
Callout traverses entire routing tree under wlock, scheduling expired routes for deletion and calculating the next time it needs to be run. The rationale for such implemention is the following: typically workloads requiring large amount of routes have redirects turned off already, while the systems with small amount of routes will not inhibit large overhead during tree traversal.
This changes also fixes netstat -rn display of route expiration time, which has been broken since the conversion from kread() to sysctl.
Reviewed by: bz MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D23075
show more ...
|
| #
32af08ec |
| 18-Nov-2019 |
Bjoern A. Zeeb <[email protected]> |
icmpv6: Fix mbuf change in mld
After r354748 mld_input() can change the mbuf. The new pointer is never returned to icmp6_input() and when passed to icmp6_rip6_input() the mbuf may no longer valid l
icmpv6: Fix mbuf change in mld
After r354748 mld_input() can change the mbuf. The new pointer is never returned to icmp6_input() and when passed to icmp6_rip6_input() the mbuf may no longer valid leading to a panic. Pass a pointer to the mbuf to mld_input() so we can return an updated version in the non-error case.
Add a test sending an MLD packet case which will trigger this bug.
Pointyhat to: bz Reported by: gallatin, thj MFC After: 2 weeks X-MFC with: r354748 Sponsored by: Netflix
show more ...
|
| #
ed91ae7f |
| 06-Nov-2019 |
Bjoern A. Zeeb <[email protected]> |
IPv6 tests: test case for scapy bpf parsing bug
PR: 239380 Reported by: lwhsu, CI system MFC after: 3 weeks Sponsored by: Netflix
|
| #
1e19cdbb |
| 05-Nov-2019 |
Bjoern A. Zeeb <[email protected]> |
ip6 tests: Add very simplistic extension header tests
Add a simple test case which can exercise some of the IPv6 extension header code paths. At the moment only a small set of extension headers is
ip6 tests: Add very simplistic extension header tests
Add a simple test case which can exercise some of the IPv6 extension header code paths. At the moment only a small set of extension headers is implemented and no options to the ones which take them. Also implements a "bad" case to make sure that error handling works.
The tests were used to test m_pullup() changes to the code paths while removing the KAME PULLDOWN_TEST cases and related macros.
MFC after: 3 weeks Sponsored by: Netflix
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
f74e6e49 |
| 21-Oct-2019 |
Bjoern A. Zeeb <[email protected]> |
frag6: import a set of test cases
In order to ensure that changing the frag6 code does not change behaviour or break code a set of test cases were implemented.
Like some other test cases these use
frag6: import a set of test cases
In order to ensure that changing the frag6 code does not change behaviour or break code a set of test cases were implemented.
Like some other test cases these use Scapy to generate packets and possibly wait for expected answers. In most cases we do check the global and per interface (netstat) statistics output using the libxo output and grep to validate fields and numbers. This is a bit hackish but we currently have no better way to match a selected number of stats only (we have to ignore some of the ND6 variables; otherwise we could use the entire list).
Test cases include atomic fragments, single fragments, multi-fragments, and try to cover most error cases in the code currently. In addition vnet teardown is tested to not panic.
A separate set (not in-tree currently) of probes were used in order to make sure that the test cases actually test what they should.
The "sniffer" code was copied and adjusted from the netpfil version as we sometimes will not get packets or have longer timeouts to deal with.
Sponsored by: Netflix
show more ...
|