[Bug 294858] pfctl -o none fails to skip optimization
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294858] pfctl -o none fails to skip optimization"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294858] pfctl -o none fails to skip optimization"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294858] pfctl -o none fails to skip optimization"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294858] pfctl -o none fails to skip optimization"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294858] pfctl -o none fails to skip optimization"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Apr 2026 00:48:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294858
Bug ID: 294858
Summary: pfctl -o none fails to skip optimization
Product: Base System
Version: 15.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: andy@codeedog.com
OS: 15.0-RELEASE-p6 FreeBSD 15.0-RELEASE-p6 GENERIC amd64
Expected behavior:
pfctl -o none should skip pf rule optimization.
Observed behavior:
pfctl -o none fails to skip optimization.
# Example: pf.conf
block in tagged FOO
pass in tag FOO
block in tagged FOO
> pfctl -o none -vnf pf.conf
block drop in all tagged FOO
pass in all flags S/SA keep state tag FOO
block drop in all tagged FOO
> pfctl -vf pf.conf
No ALTQ support in kernel
ALTQ related functions disabled
block drop in all tagged FOO
pass in all flags S/SA keep state tag FOO
block drop in all tagged FOO -- rule was already present
> pfctl -sr
block drop in all tagged FOO
pass in all flags S/SA keep state tag FOO
Turning optimizer off within the file also fails:
# Example: pf-set-opt-off.conf
set ruleset-optimization none
block in tagged FOO
pass in tag FOO
block in tagged FOO
> pfctl -vf pf-set-opt-off.conf
No ALTQ support in kernel
ALTQ related functions disabled
block drop in all tagged FOO
pass in all flags S/SA keep state tag FOO
block drop in all tagged FOO -- rule was already present
--
You are receiving this mail because:
You are the assignee for the bug.