diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/snort/snort.inc | 2 | ||||
-rw-r--r-- | packages/snort/snort.xml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 768078c0..bda4ea4b 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -67,7 +67,7 @@ function sync_package_snort() { /* if block offenders is checked, start snort2c */ if($_POST['blockoffenders']) - $start .= ";snort2c -w /var/db/whitelist -a /var/log/snort/alert"; + $start .= ";sleep 1;snort2c -w /var/db/whitelist -a /var/log/snort/alert"; write_rcfile(array( "file" => "snort.sh", diff --git a/packages/snort/snort.xml b/packages/snort/snort.xml index 172d6f08..f276b16e 100644 --- a/packages/snort/snort.xml +++ b/packages/snort/snort.xml @@ -74,6 +74,10 @@ <type>select</type> <options> <option> + <value>lowmem</value> + <name>lowmem</name> + </option> + <option> <value>ac-std</value> <name>ac-std</name> </option> @@ -98,10 +102,6 @@ <value>acs</value> <name>acs</name> </option> - <option> - <value>lowmem</value> - <name>lowmem</name> - </option> </options> </field> <field> |