opnsense-src/sbin/pfctl
Kristof Provost e0dcc51ddb pfctl: do not allow af-to tables without round-robin
Tables can only be used as a redirspec (i.e. in pf_map_addr()) in round-robin mode.
Enforce this for af-to tables as well.

Add a test case to verify.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2024-12-17 11:07:17 +01:00
..
tests pfctl: basic nat64 parser test 2024-12-17 11:07:14 +01:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
parse.y pfctl: do not allow af-to tables without round-robin 2024-12-17 11:07:17 +01:00
pf.os Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pf_print_state.c pfctl: change for af-to / NAT64 support. 2024-12-17 11:07:13 +01:00
pf_ruleset.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl.8 pfctl: add -T reset to touch pfras_tzero only for non-zero entries 2024-12-09 10:36:34 +01:00
pfctl.c pfctl: change for af-to / NAT64 support. 2024-12-17 11:07:13 +01:00
pfctl.h pfctl: clear statistic for specified addresses 2024-11-22 12:22:16 +01:00
pfctl_altq.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
pfctl_ioctl.h pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
pfctl_optimize.c pf: fold pf_test_fragment() into pf_test_rule() 2024-10-01 09:55:13 +02:00
pfctl_osfp.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl_parser.c pfctl: print_rule: rename opts -> ropts 2024-12-17 11:07:15 +01:00
pfctl_parser.h pf: partially import OpenBSD's NAT rewrite 2024-12-17 11:07:12 +01:00
pfctl_qstats.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
pfctl_radix.c pfctl: add -T reset to touch pfras_tzero only for non-zero entries 2024-12-09 10:36:34 +01:00
pfctl_table.c pfctl: add -T reset to touch pfras_tzero only for non-zero entries 2024-12-09 10:36:34 +01:00