opnsense-src/tests/sys
Kajetan Staszkiewicz f6f116cdbd pf: Make af-to work on outbound interface
Currently af-to works only on inbound interface by creating a reversed
NAT state key which is used to match traffic returning on the outbound
interface.

Such limitation is not necessary. When an af-to state is created
for an outbound rule do not reverse the NAT state key, making it work
just like if it was created for a normal NAT rule. Depending on firewall
design it might be easier and more natural to use af-to on the outbound
interface.

Reviewed by:		kp
Approved by:		kp (mentor)
Sponsored by:		InnoGames GmbH
Differential Revision:	https://reviews.freebsd.org/D49122
2025-02-27 16:28:27 +01:00
..
acl Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
aio aio_kqueue_test: Fix CID 1558429 2025-01-09 08:42:36 -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 path_test: adjust test for open(O_PATH | O_CREAT) 2025-01-07 04:46:19 +02:00
fs fusefs: fix the 32-bit build after 564c732b5c 2025-01-15 16:31:56 -07:00
geom ggate tests: Use unique ports among tests 2024-09-04 14:28:28 +00:00
kern tests/unix_stream: fix signedness error 2025-02-11 11:07:41 -08: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 inpcb: Fix reuseport lbgroup array resizing 2025-02-23 16:20:12 +00:00
netinet6 netinet6 tests: Add Scapy as a required program 2025-02-17 19:56:59 +00:00
netipsec Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netlink netlink: underscore snl_get_genl_family_info() to discourage its use 2025-01-20 12:53:37 -08:00
netmap Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netpfil pf: Make af-to work on outbound interface 2025-02-27 16:28:27 +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: Fix downshift calculation in pcm_read_write test 2025-02-18 21:37:17 +02: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 vmm tests: Check for /dev/vmmctl to decide if vmm is initialized 2025-02-08 16:05:37 +00: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