summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw.8
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-06-04 23:56:26 +0000
committerdes <des@FreeBSD.org>2001-06-04 23:56:26 +0000
commitd2c56fe110d4ff06081e248d8e77f19b4da9b409 (patch)
tree326ab4e40d2d2f771c11e07b6e45d72cdebeed40 /sbin/ipfw/ipfw.8
parent1b83a0aef8279d4632bec49b32ee9f6040df984c (diff)
downloadFreeBSD-src-d2c56fe110d4ff06081e248d8e77f19b4da9b409.zip
FreeBSD-src-d2c56fe110d4ff06081e248d8e77f19b4da9b409.tar.gz
Invert the meaning of the -d option (i.e. default to *not* list dynamic rules,
but list them if -d was specified). Avoid listing expired dynamic rules unless the (new) -e option was specified. If specific rule numbers were listed on the command line, and the -d flag was specified, only list dynamic rules that match the specified rule numbers. Try to partly clean up the bleeding mess this file has become. If there is any justice in this world, the responsible parties (you know who you are!) should expect to wake up one morning with a horse's head in their bed. The code still looks like spaghetti, but at least now it's *properly intented* spaghetti (hmm? did somebody say "tagliatelle"?).
Diffstat (limited to 'sbin/ipfw/ipfw.8')
-rw-r--r--sbin/ipfw/ipfw.812
1 files changed, 8 insertions, 4 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index c7c8476..f4450ef 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,12 +1,12 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 16, 2000
+.Dd May 31, 2001
.Dt IPFW 8
.Os FreeBSD
.Sh NAME
.Nm ipfw
-.Nd controlling utility for IP firewall and traffic shaper
+.Nd IP firewall and traffic shaper control program
.Sh SYNOPSIS
.Nm
.Op Fl q
@@ -28,7 +28,7 @@
.Op Ar number ...
.Nm
.Op Fl s Op Ar field
-.Op Fl adftN
+.Op Fl adeftN
.Es \&{ \&}
.En Cm list | show
.Op Ar number ...
@@ -154,7 +154,11 @@ See also the
.Cm show
command.
.It Fl d
-While listing, do not print the dynamic rules.
+While listing, show dynamic rules in addition to static ones.
+.It Fl e
+While listing, if the
+.Fl d
+option was specified, also show expired dynamic rules.
.It Fl f
Don't ask for confirmation for commands that can cause problems
if misused,
OpenPOWER on IntegriCloud