freebsd-dev/tests/sys/netpfil
Kristof Provost 225e85513f pf tests: test IPv6 fragmentation with link-local addresses
We've observed a panic after pf_refragment6() with link-local addresses,
because pf_refragment6() calls ip6_forward() even for a simple output
case.
That results in us entering ip6_forward() with an mbuf with a NULL
m->m_pkthdr.rcvif, which can cause a NULL deref (but seemingly not for
GUAs.

Test sending fragmented link-local packets to pf.

MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D39063
2023-03-16 10:59:04 +01:00
..
common netpfil tests: improve pft_ping.py 2023-01-22 04:26:32 +01:00
ipfw tests: add test for ipfw fwd localaddr,port 2023-01-06 12:17:42 -08:00
pf pf tests: test IPv6 fragmentation with link-local addresses 2023-03-16 10:59:04 +01:00
Makefile tests: add test for ipfw fwd localaddr,port 2023-01-06 12:17:42 -08:00
Makefile.depend DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00