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: [email protected]
          Reporter: [email protected]

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.

Reply via email to