aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_define_servers.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-03-25 11:55:53 -0700
committerrobiscool <robrob2626@yahoo.com>2010-03-25 11:56:35 -0700
commit13656fde85d45e3533ba8dfdd8b3b173851d4f92 (patch)
tree7a8926d4862bafbe31e95ab8012436453a53d7e2 /config/snort-dev/snort_define_servers.php
parent98fe4d812fc9d5278d756cba51728e0cf9d0ab45 (diff)
downloadpfsense-packages-13656fde85d45e3533ba8dfdd8b3b173851d4f92.tar.gz
pfsense-packages-13656fde85d45e3533ba8dfdd8b3b173851d4f92.tar.bz2
pfsense-packages-13656fde85d45e3533ba8dfdd8b3b173851d4f92.zip
snort-dev, upload binarries 8.0x32 and update to final RC.
Diffstat (limited to 'config/snort-dev/snort_define_servers.php')
-rw-r--r--config/snort-dev/snort_define_servers.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/snort-dev/snort_define_servers.php b/config/snort-dev/snort_define_servers.php
index 550cf153..2e3ed9f5 100644
--- a/config/snort-dev/snort_define_servers.php
+++ b/config/snort-dev/snort_define_servers.php
@@ -38,8 +38,9 @@ Important add error checking
*/
-require("guiconfig.inc");
-require("/usr/local/pkg/snort/snort.inc");
+require_once("globals.inc");
+require_once("guiconfig.inc");
+require_once("/usr/local/pkg/snort/snort.inc");
if (!is_array($config['installedpackages']['snortglobal']['rule'])) {
$config['installedpackages']['snortglobal']['rule'] = array();
@@ -94,7 +95,7 @@ if (isset($id) && $a_nat[$id]) {
$pconfig['def_imap_servers'] = $a_nat[$id]['def_imap_servers'];
$pconfig['def_imap_ports'] = $a_nat[$id]['def_imap_ports'];
$pconfig['def_sip_proxy_ip'] = $a_nat[$id]['def_sip_proxy_ip'];
- $pconfig['ip def_sip_proxy_ports'] = $a_nat[$id]['ip def_sip_proxy_ports'];
+ $pconfig['def_sip_proxy_ports'] = $a_nat[$id]['def_sip_proxy_ports'];
$pconfig['def_auth_ports'] = $a_nat[$id]['def_auth_ports'];
$pconfig['def_finger_ports'] = $a_nat[$id]['def_finger_ports'];
$pconfig['def_irc_ports'] = $a_nat[$id]['def_irc_ports'];
@@ -155,7 +156,7 @@ if ($_POST) {
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']; }
+ if ($pconfig['rule_sid_on'] != "") { $natent['rule_sid_on'] = $pconfig['rule_sid_on']; }
/* post new options */
@@ -205,6 +206,7 @@ if ($_POST) {
/* enable this if you want the user to aprove changes */
// touch($d_natconfdirty_path);
+ sync_snort_package_all();
write_config();