From 1462b338120014abcd75abc80723ab1f1f1ed19e Mon Sep 17 00:00:00 2001 From: robiscool Date: Sat, 12 Sep 2009 16:54:34 -0700 Subject: snort-dev, change the startup order, adjust path to perl in snort_download --- config/snort-dev/snort.inc | 3 ++- config/snort-dev/snort_download_rules.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'config/snort-dev') 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...")); -- cgit v1.2.3