diff options
author | robiscool <robrob2626@yahoo.com> | 2009-09-10 13:17:32 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-09-10 13:18:16 -0700 |
commit | aa84719e22ad87aaca64c4b84376afa6861c5bfc (patch) | |
tree | 5da7033c69caa929a9d2ff484b32b0309eadf7b6 /config/snort-dev/snort.xml | |
parent | 82e2ebcef782f077ac6d04293e8bb7041422df30 (diff) | |
download | pfsense-packages-aa84719e22ad87aaca64c4b84376afa6861c5bfc.tar.gz pfsense-packages-aa84719e22ad87aaca64c4b84376afa6861c5bfc.tar.bz2 pfsense-packages-aa84719e22ad87aaca64c4b84376afa6861c5bfc.zip |
add ajust block times, add create rules dir after install
Diffstat (limited to 'config/snort-dev/snort.xml')
-rw-r--r-- | config/snort-dev/snort.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/config/snort-dev/snort.xml b/config/snort-dev/snort.xml index 70739737..28a9f858 100644 --- a/config/snort-dev/snort.xml +++ b/config/snort-dev/snort.xml @@ -247,6 +247,50 @@ <size>60</size> </field> <field> + <fielddescr>Remove blocked hosts every</fielddescr> + <fieldname>rm_blocked</fieldname> + <description>Please select the amount of time hosts are blocked</description> + <type>select</type> + <options> + <option> + <name>never</name> + <value>never_b</value> + </option> + <option> + <name>1 hour</name> + <value>1h_b</value> + </option> + <option> + <name>3 hours</name> + <value>3h_b</value> + </option> + <option> + <name>6 hours</name> + <value>6h_b</value> + </option> + <option> + <name>12 hours</name> + <value>12h_b</value> + </option> + <option> + <name>1 day</name> + <value>1d_b</value> + </option> + <option> + <name>4 days</name> + <value>4d_b</value> + </option> + <option> + <name>7 days</name> + <value>7d_b</value> + </option> + <option> + <name>28 days</name> + <value>28d_b</value> + </option> + </options> + </field> + <field> <fielddescr>Update rules automatically</fielddescr> <fieldname>automaticrulesupdate</fieldname> <description>Checking this option will automatically check for and update rules once a week from snort.org.</description> @@ -286,6 +330,7 @@ <custom_add_php_command> </custom_add_php_command> <custom_php_resync_config_command> + system("/bin/mkdir -p /usr/local/etc/snort/rules"); sync_package_snort(); </custom_php_resync_config_command> <custom_php_install_command> |