[Bug 253479] [pf] pfctl: DIOCADDRULE: Invalid argument

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 13 10:49:02 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253479

            Bug ID: 253479
           Summary: [pf] pfctl: DIOCADDRULE: Invalid argument
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: michal at microwave.sk

Hi,

Having any of these two rules in /etc/pf.conf:

  block in quick from no-route to any

or

  block in quick from urpf-failed to any

trigger following error while loading rules:

# cat /etc/pf.conf; echo; pfctl -v -f /etc/pf.conf
block in quick from urpf-failed to any

No ALTQ support in kernel
ALTQ related functions disabled
pfctl: DIOCADDRULE: Invalid argument

# cat /etc/pf.conf; echo; pfctl -v -f /etc/pf.conf
block in quick from no-route to any

No ALTQ support in kernel
ALTQ related functions disabled
pfctl: DIOCADDRULE: Invalid argument

This worked flawlessly in stable/12.

# uname -a
FreeBSD beastie 13.0-STABLE FreeBSD 13.0-STABLE #2 stable/13-8874f305d: Sat Feb
13 10:50:10 CET 2021     root at beastie:/usr/obj/usr/src/amd64.amd64/sys/BEASTIE 
amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list