1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00
freebsd/tests/sys
Kristof Provost e27970ae8f netinet: handle blackhole routes
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
2024-11-20 16:52:41 +01:00
..
acl Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
aio Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
audit Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
auditpipe Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
cam Make the CTL tests more resilient 2024-11-04 19:06:53 -07:00
capsicum capsicum tests: Serialize functional tests 2024-09-04 14:28:28 +00:00
cddl zfsd: replace vdevs with the AUX faulted state 2024-10-03 16:21:46 -06:00
common vnet tests: verify that we can load if_epair and if_bridge 2024-07-23 15:57:25 +02:00
compat32 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devrandom Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fifo Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
file Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fs tests/sys/fs/fusefs: include iomanip header 2024-10-19 18:50:48 -07:00
geom ggate tests: Use unique ports among tests 2024-09-04 14:28:28 +00:00
kern unix: Add support for atomically setting the socket mode 2024-11-03 16:46:53 +00:00
kqueue Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mac Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mqueue Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
net if_ovpn tests: destroy an if_ovpn interface before it's been used 2024-09-10 20:34:23 +02:00
netgraph Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netinet netinet: handle blackhole routes 2024-11-20 16:52:41 +01:00
netinet6 netinet: handle blackhole routes 2024-11-20 16:52:41 +01:00
netipsec Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netlink Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netmap Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netpfil pf tests: check counters on anchors 2024-11-18 18:57:53 +01:00
opencrypto Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pjdfstest Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
posixshm shm: Respect PROT_MAX when creating private mappings 2024-10-04 15:56:34 +00:00
ses Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
sound sound tests: Add SNDSTIOC_ADD_USER_DEVS test 2024-08-24 15:07:29 +03:00
sys tests: Add buf_ring overflow checks 2024-09-30 12:04:24 +00:00
vfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
vm shm: Respect PROT_MAX when creating private mappings 2024-10-04 15:56:34 +00:00
vmm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
Makefile ctl: add some ATF tests for READ BUFFER 2024-09-04 14:38:12 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00