aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netinet6/forward6.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Require python3 when using ScapyJose Luis Duran2025-03-031-6/+6
| | | | | | | | | | | | | | | python3 is a symbolic link that points to the current python 3.X version. It is possible for a system to have python (python 3.X) without the python3 (symlink) package. Test scripts that use Scapy are invoked using python3, so add it as a required program. Reviewed by: ngie, asomers Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D49007
* netinet: handle blackhole routesKristof Provost2024-11-201-0/+54
| | | | | | | | | | | | | | If during ip_forward() we find a blackhole (or reject) route we should stop processing and count this in the 'cantforward' counter, just like we already do for IPv6. Blackhole routes are set to use the loopback interface, so we don't actually incorrectly forward traffic, but we do fail to count it as unroutable. Test this, both for IPv4 and IPv6. Reviewed by: melifaro Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D47529
* netinet6 tests: Restore an atf_check invocationMark Johnston2024-01-271-1/+1
| | | | | | | This one has been commented out since the initial commit, but doesn't appear to pose any problems. MFC after: 1 week
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Add basic IPv4/IPv6 forwarding tests.Alexander V. Chernikov2020-03-101-0/+482
MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24002 Notes: svn path=/head/; revision=358853