Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2025 14:09:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291318] "pfctl -T load" does not work properly
Message-ID:  <bug-291318-227-014alt5pzc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291318-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Wes Morgan <morganw@gmail.com> ---
Are you certain? The option was the "table" analog of the -R, -A, -O, etc
options that allow importing specific sections of a config file. In my specific
case, this lets me reload everything without flushing the state table, and it
does exactly this:

[root@volatile:~#]: pfctl -s Tables
[root@volatile:~#]: pfctl -T load -f /etc/pf.conf      
usage: pfctl [-AdeghMmNnOPqRSrvz] [-a anchor] [-D macro=value] [-F modifier]
        [-f file] [-i interface] [-K host | network]
        [-k host | network | gateway | label | id] [-o level] [-p device]
        [-s modifier] [-t table -T command [address ...]] [-x level]
[root@volatile:~#]: pfctl -t nosuchtable -T load -f /etc/pf.conf
[root@volatile:~#]: pfctl -s Tables                       
badguys
hostile
sshguard
[root@volatile:~#]:

-- 
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-291318-227-014alt5pzc>