diff options
author | ache <ache@FreeBSD.org> | 2000-05-06 17:18:19 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-05-06 17:18:19 +0000 |
commit | 4a110a737fc15fae4519d5b86df549c0d0eaeca8 (patch) | |
tree | 9297b1ead3510874f9ad817070a9d77d315a743f /etc/network.subr | |
parent | dc25977c3ba7edfbef0e01b51bc5920cb8be8e8d (diff) | |
download | FreeBSD-src-4a110a737fc15fae4519d5b86df549c0d0eaeca8.zip FreeBSD-src-4a110a737fc15fae4519d5b86df549c0d0eaeca8.tar.gz |
Add firewall_logging knob to enable/disablle events logging, disabled
by default. Needed mainly for ipfw kernel module to enable logging
disabled there.
Diffstat (limited to 'etc/network.subr')
-rw-r--r-- | etc/network.subr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr index dd60e89..a03e000 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -223,6 +223,16 @@ network_pass1() { echo "but firewall rules are not enabled." echo " All ip services are disabled." fi + + case ${firewall_logging} in + [Yy][Ee][Ss] | '') + echo 'Firewall logging=YES' + sysctl -w net.inet.ip.fw.verbose=1 >/dev/null + ;; + *) + ;; + esac + ;; esac ;; |