aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_preprocessors.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-12-08 17:28:18 -0800
committerrobiscool <robrob2626@yahoo.com>2009-12-08 17:28:18 -0800
commit593b06c24de03f6a6d44e13e2849451cd088062b (patch)
treee301f60dc0eb6c1a5eead9a93433eebf58f6490c /config/snort-dev/snort_preprocessors.php
parentda1daf005f921ef728759f618101967e4cc038d8 (diff)
downloadpfsense-packages-593b06c24de03f6a6d44e13e2849451cd088062b.tar.gz
pfsense-packages-593b06c24de03f6a6d44e13e2849451cd088062b.tar.bz2
pfsense-packages-593b06c24de03f6a6d44e13e2849451cd088062b.zip
snort-dev, add code to enable updates and remove block times, add repost rulesets.
Diffstat (limited to 'config/snort-dev/snort_preprocessors.php')
-rw-r--r--config/snort-dev/snort_preprocessors.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/snort-dev/snort_preprocessors.php b/config/snort-dev/snort_preprocessors.php
index 39ed86d4..8fb437eb 100644
--- a/config/snort-dev/snort_preprocessors.php
+++ b/config/snort-dev/snort_preprocessors.php
@@ -115,6 +115,9 @@ if (isset($id) && $a_nat[$id]) {
$pconfig['tcpdumplog'] = $a_nat[$id]['tcpdumplog'];
$pconfig['snortunifiedlog'] = $a_nat[$id]['snortunifiedlog'];
$pconfig['flow_depth'] = $a_nat[$id]['flow_depth'];
+ $pconfig['rulesets'] = $a_nat[$id]['rulesets'];
+ $pconfig['rule_sid_off'] = $a_nat[$id]['rule_sid_off'];
+ $pconfig['rule_sid_on'] = $a_nat[$id]['rule_sid_on'];
if (isset($_GET['dup']))
unset($id);
@@ -175,6 +178,9 @@ if ($_POST) {
if ($pconfig['def_rlogin_ports'] != "") { $natent['def_rlogin_ports'] = $pconfig['def_rlogin_ports']; }
if ($pconfig['def_rsh_ports'] != "") { $natent['def_rsh_ports'] = $pconfig['def_rsh_ports']; }
if ($pconfig['def_ssl_ports'] != "") { $natent['def_ssl_ports'] = $pconfig['def_ssl_ports']; }
+ if ($pconfig['rulesets'] != "") { $natent['rulesets'] = $pconfig['rulesets']; }
+ if ($pconfig['rule_sid_off'] != "") { $natent['rule_sid_off'] = $pconfig['rule_sid_off']; }
+ if ($pconfig['rule_sid_on'] != "") { $natent['rule_sid_on'] = $pconfig['rule_sid_on']; }
/* post new options */
$natent['perform_stat'] = $_POST['perform_stat'];