ipfw カーネルモジュール

提供: セキュリティ
2015年9月23日 (水) 16:55時点におけるDaemon (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索
スポンサーリンク

ipfwカーネルモジュール の設定です。

概要

ipfwカーネルモジュール の設定です。

カーネルオプション

下記の設定は、カーネル のコンフィグレーションファイルの設定です。

options    IPFIREWALL
 
# This option enables IPFW as part of the kernel.
options    IPFIREWALL_VERBOSE
 
#This option enables logging of packets that pass through IPFW
# and have the log keyword specified in the ruleset.
options    IPFIREWALL_VERBOSE_LIMIT=5
 
#This option limits the number of packets logged through syslogd(8), on a
# per-entry basis. This option may be used in hostile environments,
# when firewall activity logging is desired.
# This will close a possible denial of service attack via syslog flooding.
options    IPFIREWALL_DEFAULT_TO_ACCEPT
 
# This option allows everything to pass through the firewall by default,
# which is a good idea when the firewall is being set up for the first time.
options    IPDIVERT

カーネルモジュール

カーネルモジュール ipfw をロードします。

sudo kldload ipfw

カーネルモジュール ipfw をアンロードします。

sudo kldunload ipfw

関連項目




スポンサーリンク