aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-09-12 16:54:34 -0700
committerrobiscool <robrob2626@yahoo.com>2009-09-12 17:01:52 -0700
commit1462b338120014abcd75abc80723ab1f1f1ed19e (patch)
treed9a95b0ef67f7d7c21db016e727a2697326e5c26 /config/snort-dev
parent466ac46485bda0ece17e3c7fe5d78a39999146d4 (diff)
downloadpfsense-packages-1462b338120014abcd75abc80723ab1f1f1ed19e.tar.gz
pfsense-packages-1462b338120014abcd75abc80723ab1f1f1ed19e.tar.bz2
pfsense-packages-1462b338120014abcd75abc80723ab1f1f1ed19e.zip
snort-dev, change the startup order, adjust path to perl in snort_download
Diffstat (limited to 'config/snort-dev')
-rw-r--r--config/snort-dev/snort.inc3
-rw-r--r--config/snort-dev/snort_download_rules.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 3aa9606d..ad6eefcb 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -379,7 +379,8 @@ if ($snortunifiedlog_info_chk == on)
$spoink_info_chk = $config['installedpackages']['snort']['config'][0]['blockoffenders7'];
if ($spoink_info_chk == on)
$spoink_type = "output alert_pf: /var/db/whitelist,snort2c";
-/* define servers and ports snortdefservers */
+
+ /* define servers and ports snortdefservers */
/* def DNS_SERVSERS */
$def_dns_servers_info_chk = $config['installedpackages']['snortdefservers']['config'][0]['def_dns_servers'];
diff --git a/config/snort-dev/snort_download_rules.php b/config/snort-dev/snort_download_rules.php
index 904f8057..a1793df8 100644
--- a/config/snort-dev/snort_download_rules.php
+++ b/config/snort-dev/snort_download_rules.php
@@ -634,7 +634,7 @@ exec("/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/syn
update_status(gettext("Updating Alert Messages..."));
update_output_window(gettext("Please Wait..."));
-exec("/usr/local/bin/create-sidmap.pl /usr/local/etc/snort/rules > /usr/local/etc/snort/gen-msg.map");
+exec("/usr/local/bin/perl /usr/local/bin/create-sidmap.pl /usr/local/etc/snort/rules > /usr/local/etc/snort/gen-msg.map");
/* php code finish */
update_status(gettext("The Rules update finished..."));