aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-02-05 18:29:03 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-02-05 18:29:03 +0000
commit16765436192c1cb4a8f60c68fd4c022438d7cee0 (patch)
tree4a40a8ef2d44a9187733213a0201b4d5d1d35631 /sbin/ipfw
parent14cb4a2f664f2784a7915f5ec4813e12a55bdaa6 (diff)
downloadsrc-16765436192c1cb4a8f60c68fd4c022438d7cee0.tar.gz
src-16765436192c1cb4a8f60c68fd4c022438d7cee0.zip
Document how interaction with ng_ipfw node is configured.
Notes
Notes: svn path=/head/; revision=141366
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw.825
1 files changed, 23 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 620f32cdbf30..f5471ee73b97 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -726,6 +726,24 @@ is a number from 0 to 255, or one of these aliases:
or
.Cm precedence-cutoff .
The search terminates.
+.It Cm netgraph Ar cookie
+Divert packet into netgraph with given
+.Ar cookie .
+The search terminates.
+If packet is later returned from netgraph it is either
+accepted or continues with the next rule, depending on
+.Em net.inet.ip.fw.one_pass
+sysctl variable.
+.It Cm ngtee Ar cookie
+A copy of packet is diverted into netgraph, original
+packet continues with next rule.
+See
+.Xr ng_ipfw 4
+for more information on
+.Cm netgraph
+and
+.Cm ngtee
+actions.
.El
.Ss RULE BODY
The body of a rule contains zero or more patterns (such as
@@ -1902,8 +1920,10 @@ firewall even if compiled in.
.It Em net.inet.ip.fw.one_pass : No 1
When set, the packet exiting from the
.Xr dummynet 4
-pipe is not passed though the firewall again.
-Otherwise, after a pipe action, the packet is
+pipe or from
+.Xr ng_ipfw 4
+node is not passed though the firewall again.
+Otherwise, after an action, the packet is
reinjected into the firewall at the next rule.
.It Em net.inet.ip.fw.verbose : No 1
Enables verbose messages.
@@ -2325,6 +2345,7 @@ the sleep terminates thus restoring the previous situation.
.Xr bridge 4 ,
.Xr divert 4 ,
.Xr dummynet 4 ,
+.Xr ng_ipfw 4 ,
.Xr ip 4 ,
.Xr ipfirewall 4 ,
.Xr protocols 5 ,