Skip to content

Commit 063dc45

Browse files
committed
pfctl.8: small cleanups
- show -R with -s in options list - show -t with -T in options list - sort the -T commands - small text/formatting tweaks ok sthen ok kn on an earlier version Obtained from: OpenBSD, jmc <jmc@openbsd.org>, bc345da85f Sponsored by: Rubicon Communications, LLC ("Netgate")
1 parent 95fda90 commit 063dc45

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

sbin/pfctl/pfctl.8

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2525
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
.\"
27-
.Dd July 7, 2025
27+
.Dd August 5, 2025
2828
.Dt PFCTL 8
2929
.Os
3030
.Sh NAME
@@ -410,6 +410,7 @@ This is the default behaviour.
410410
.It Fl o Cm profile
411411
Enable basic ruleset optimizations with profiling.
412412
.El
413+
.Pp
413414
For further information on the ruleset optimizer, see
414415
.Xr pf.conf 5 .
415416
.It Fl P
@@ -431,7 +432,7 @@ Perform reverse DNS lookups on states and tables when displaying them.
431432
and
432433
.Fl r
433434
are mutually exclusive.
434-
.It Fl s Ar modifier
435+
.It Fl s Ar modifier Op Fl R Ar id
435436
Show the filter parameters specified by
436437
.Ar modifier
437438
(may be abbreviated):
@@ -563,19 +564,16 @@ no free ports in translation port range
563564
.It Fl S
564565
Do not perform domain name resolution.
565566
If a name cannot be resolved without DNS, an error will be reported.
566-
.It Fl T Ar command Op Ar address ...
567+
.It Fl t Ar table Fl T Ar command Op Ar address ...
567568
Specify the
568569
.Ar command
569-
(may be abbreviated) to apply to the table.
570+
(may be abbreviated) to apply to
571+
.Ar table .
570572
Commands include:
571573
.Pp
572-
.Bl -tag -width xxxxxxxxxxxx -compact
573-
.It Fl T Cm kill
574-
Kill a table.
575-
.It Fl T Cm flush
576-
Flush all addresses of a table.
574+
.Bl -tag -width "-T expire number" -compact
577575
.It Fl T Cm add
578-
Add one or more addresses in a table.
576+
Add one or more addresses to a table.
579577
Automatically create a persistent table if it does not exist.
580578
.It Fl T Cm delete
581579
Delete one or more addresses from a table.
@@ -586,6 +584,10 @@ seconds ago.
586584
For entries which have never had their statistics cleared,
587585
.Ar number
588586
refers to the time they were added to the table.
587+
.It Fl T Cm flush
588+
Flush all addresses in a table.
589+
.It Fl T Cm kill
590+
Kill a table.
589591
.It Fl T Cm replace
590592
Replace the addresses of the table.
591593
Automatically create a persistent table if it does not exist.
@@ -765,8 +767,6 @@ tables of the same name from anchors attached below it.
765767
.It C
766768
This flag is set when per-address counters are enabled on the table.
767769
.El
768-
.It Fl t Ar table
769-
Specify the name of the table.
770770
.It Fl v
771771
Produce more verbose output.
772772
A second use of

0 commit comments

Comments
 (0)