summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2012-07-09 07:16:19 +0000
committerhrs <hrs@FreeBSD.org>2012-07-09 07:16:19 +0000
commit9a711a67d4aa86f9a25f182702a0f82bc85a7859 (patch)
tree832647ea9dbdde90423233f17877e38369f18bc5 /sbin/ipfw
parentfd33b54fca41db793fb39ad39751f4e2ff775e67 (diff)
downloadFreeBSD-src-9a711a67d4aa86f9a25f182702a0f82bc85a7859.zip
FreeBSD-src-9a711a67d4aa86f9a25f182702a0f82bc85a7859.tar.gz
Make ipfw0 logging pseudo-interface clonable. It can be created automatically
by $firewall_logif rc.conf(5) variable at boot time or manually by ifconfig(8) after a boot. Discussed on: freebsd-ipfw@
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw.819
1 files changed, 17 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 7974ed6..7f38157 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 3, 2012
+.Dd July 9, 2012
.Dt IPFW 8
.Os
.Sh NAME
@@ -560,7 +560,22 @@ is set to 0 (default), one can use
.Xr bpf 4
attached to the
.Li ipfw0
-pseudo interface. There is no overhead if no
+pseudo interface.
+This pseudo interface can be created after a boot
+manually by using the following command:
+.Bd -literal -offset indent
+# ifconfig ipfw0 create
+.Ed
+.Pp
+Or, automatically at boot time by adding the following
+line to the
+.Xr rc.conf 5
+file:
+.Bd -literal -offset indent
+firewall_logif="YES"
+.Ed
+.Pp
+There is no overhead if no
.Xr bpf 4
is attached to the pseudo interface.
.Pp
OpenPOWER on IntegriCloud