Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2021 10:49:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253479] [pf] pfctl: DIOCADDRULE: Invalid argument
Message-ID:  <bug-253479-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253479

            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@FreeBSD.org
          Reporter: michal@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@beastie:/usr/obj/usr/src/amd64.amd64/sys/BEAS=
TIE=20
amd64

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253479-227>