Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2026 13:06:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293137] [pf] pfctl - ultiple errors when asking pfctl to show "all" for existing anchors (pfctl -a "anchorname" -sa)
Message-ID:  <bug-293137-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 293137
           Summary: [pf] pfctl - ultiple errors when asking pfctl to show
                    "all" for existing anchors (pfctl -a "anchorname" -sa)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: matteo@FreeBSD.org

Running 16.0-CURRENT main-71569594d860.

I have blocklistd(8) runnining.

Relevant part of pf.conf:

```
anchor "blocklistd/*" in
```

Output of `pfctl -sA`:

```                                                                   
  blocklistd
  blocklistd/22
  (other anchor omitted)
```

Output of `pfctl -a "blocklistd/22" -sa`:

```                                             
pfctl: DIOCGETETHRULES: No such file or directory
pfctl: DIOCGETRULES: Invalid argument
pfctl: Anchor does not exist.
STATES:
(output continues with states, soure tracking nodes, and infos not associated
with the anchor)

after the infos, it shows, again:

pfctl: Anchor does not exist.

TIMEOUTS:
(output continues)
```

The output of `pfctl -a "blocklistd/22 -sr" is correct:

```
block drop in quick proto tcp from <port22> to any port = ssh
```

The output of `pfctl -a "blocklistd/22" -sT` is correct:

```
port22@blocklistd/22
```

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

home | help

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