diff options
author | luigi <luigi@FreeBSD.org> | 2003-07-12 07:01:48 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2003-07-12 07:01:48 +0000 |
commit | 896ab15831459c06ad2eaa750ed015c16b10a1c3 (patch) | |
tree | b07d29a7a19dec270af78ec547fec25414cd1547 /sbin | |
parent | 1282338878b6d294cf795d294e7bb6aa5a5186e2 (diff) | |
download | FreeBSD-src-896ab15831459c06ad2eaa750ed015c16b10a1c3.zip FreeBSD-src-896ab15831459c06ad2eaa750ed015c16b10a1c3.tar.gz |
Document the existence of comments in ipfw rules,
the new flags handled when reading from a file,
and clarify that only numeric values are allowed for icmptypes.
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipfw/ipfw.8 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8 index 2cc2a69..542724b 100644 --- a/sbin/ipfw/ipfw.8 +++ b/sbin/ipfw/ipfw.8 @@ -15,7 +15,7 @@ .Nm .Op Fl acdeftnNS .Brq Cm list | show -.Op Ar number ... +.Op Ar rule | first-last ... .Nm .Op Fl f | q .Cm flush @@ -54,7 +54,7 @@ .Op Ar number ... .Pp .Nm -.Op Fl nq +.Op Fl cNnqS .Oo .Fl p Ar preproc .Oo @@ -855,6 +855,12 @@ operand, and possibly grouped into .Pp The following match patterns can be used (listed in alphabetical order): .Bl -tag -width indent +.It Cm // this is a comment. +Inserts the specified text as a comment in the rule. +Everything following // is considered as a comment and stored in the rule. +You can have comment-only rules, which are listed as having a +.Cm count +action followed by the comment. .It Cm bridged Matches only bridged packets. .It Cm dst-ip Ar ip-address @@ -879,8 +885,9 @@ may be specified by name or number. .It Cm icmptypes Ar types Matches ICMP packets whose ICMP type is in the list .Ar types . -The list may be specified as any combination of ranges or -individual types separated by commas. +The list may be specified as any combination of +individual types (numeric) separated by commas. +.Em Ranges are not allowed. The supported ICMP types are: .Pp echo reply |