Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2026 09:14:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295324] /etc/periodic/security/520.pfdenied broken
Message-ID:  <bug-295324-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 295324
           Summary: /etc/periodic/security/520.pfdenied broken
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: p+freebsd@krvtz.net

Created attachment 270776
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270776&action=edit
Diff to fix the bug

Current version of /etc/periodic/security/520.pfdenied broken fails in the loop
iterating through the list of anchors - empty, blacklistd, blocklistd - because
the anchor name is passed as an argument pfctl -a. For the first item, empty
string, this results in syntax error. Sample output from "sh -x 520.pfdenied":


+ pfctl -a blacklistd -sA
+ pfctl -a blocklistd -sA
+ pfctl -a '' -sr -v -z     <-- this is invalid command

Proposed fix can be found in the diff and it simply changes pfctl command line
syntax for an empty anchor.

-- 
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-295324-227>