opnsense-src/tests/sys
Kajetan Staszkiewicz ad428a318b pf: Fix interface counters for af-to rules
An inbound af-to rule creates a state bypassing outbound pf_test().
In such case increase counters of the outbound interface directly in
pf_route() for post-af-to address family.

For outbound af-to rules ensure that post-af-to address family is used
to increase interface counters.

Reviewed by:	kp
Sponsored by:	InnoGames GmbH
Differential Revision:	https://reviews.freebsd.org/D52448

(cherry picked from commit 7cd3854f827faaad1ecf414d20bdf6802cfa60f8)
2025-10-01 18:00:47 +02: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 ctl: delete dead code in the tests 2025-07-22 16:55:40 -06:00
capsicum capsicum tests: Serialize functional tests 2024-09-04 14:28:28 +00:00
cddl zfsd: don't try to fix an OFFLINE condition 2025-08-04 10:00:52 -06:00
common tests: disable transmit checksum offloading for epair interfaces 2025-09-04 13:52:37 +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 tests: Adapt existing tests for O_CLOEXEC to O_CLOFORK 2025-07-06 23:08:46 +00:00
fs fusefs: fix a kernel panic regarding SCM_RIGHTS 2025-09-26 12:11:37 -06:00
geom ggate tests: Use unique ports among tests 2024-09-04 14:28:28 +00:00
kern unix/stream: fix EVFILT_WRITE after we did shutdown(2) 2025-09-02 13:34:12 -07:00
kqueue tests/kqueue: repair flaky test 2025-06-24 15:29:03 -07:00
mac tests/mac_portacl: enable is_exclusive for now 2025-07-26 04:55:01 +08:00
mqueue Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
net if_ovpn tests: skip float and linklocal test on < 2.7 2025-09-03 12:10:21 +02:00
netgraph ng_ksocket: Add tests for IPv6 2025-06-25 12:12:11 +02:00
netinet fibs_test: Mark same_ip_multiple_ifaces_fib0 as expected to fail 2025-06-26 21:27:57 +00:00
netinet6 netinet6: allow binding a raw socket to an anycast address 2025-07-15 06:12:45 +01:00
netipsec tests: fix test for NULL encription 2025-03-25 10:23:40 +03:00
netlink netlink: Move static arrays of parsers into tests that use them 2025-04-11 09:52:39 -04:00
netmap netmap: Disable a buggy and unsafe test (sync_kloop_conflict) 2025-03-06 13:22:25 -05:00
netpfil pf: Fix interface counters for af-to rules 2025-10-01 18:00:47 +02: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: Fetch HWBUF_RATE and SWBUF_RATE in sndstat_nv 2025-04-26 12:06:52 +02:00
sys queue(3): Add a test for STAILQ_REVERSE() 2025-05-07 14:34:39 +02:00
vfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
vm tests: move some files to the tests package 2025-05-05 16:39:25 +01: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