diff options
author | robiscool <robrob2626@yahoo.com> | 2009-12-08 17:28:18 -0800 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-12-08 17:28:18 -0800 |
commit | 593b06c24de03f6a6d44e13e2849451cd088062b (patch) | |
tree | e301f60dc0eb6c1a5eead9a93433eebf58f6490c /config/snort-dev/snort_define_servers.php | |
parent | da1daf005f921ef728759f618101967e4cc038d8 (diff) | |
download | pfsense-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_define_servers.php')
-rw-r--r-- | config/snort-dev/snort_define_servers.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/snort-dev/snort_define_servers.php b/config/snort-dev/snort_define_servers.php index aca2f036..779598b0 100644 --- a/config/snort-dev/snort_define_servers.php +++ b/config/snort-dev/snort_define_servers.php @@ -112,6 +112,9 @@ if (isset($id) && $a_nat[$id]) { $pconfig['alertsystemlog'] = $a_nat[$id]['alertsystemlog']; $pconfig['tcpdumplog'] = $a_nat[$id]['tcpdumplog']; $pconfig['snortunifiedlog'] = $a_nat[$id]['snortunifiedlog']; + $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); @@ -149,6 +152,9 @@ if ($_POST) { if ($pconfig['dns_preprocessor'] != "") { $natent['dns_preprocessor'] = $pconfig['dns_preprocessor']; } if ($pconfig['barnyard_enable'] != "") { $natent['barnyard_enable'] = $pconfig['barnyard_enable']; } if ($pconfig['barnyard_mysql'] != "") { $natent['barnyard_mysql'] = $pconfig['barnyard_mysql']; } + 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['brule_sid_on']; } /* post new options */ |