opnsense-src/sbin/pfctl/tests
Kristof Provost 7a372bded8 pf: make reply-to work with nat64
Just like route-to reply-to is problematic when used in combination with nat64.

In the normal (i.e. without nat64) flow we return immediately from pf_route().
However, with nat64 we need to continue and do a route lookup. In that case
we should not make the extra pf_test(PF_OUT) call to remain similar to the
non-nat64 flow.

We also have to fix the interface binding. We can only bind to the interface
after we've done the route lookup, not before.

Add a funcional test case, and a test for pfctl's rule printing.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-01-24 11:20:31 +01:00
..
files pf: make reply-to work with nat64 2025-01-24 11:20:31 +01:00
macro.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile pfctl tests: fix dependency 2024-07-25 15:06:25 +02:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00
pfctl_test.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl_test_list.inc pf: make reply-to work with nat64 2025-01-24 11:20:31 +01:00