aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_download_rules.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-09-08 22:36:24 -0700
committerrobiscool <robrob2626@yahoo.com>2009-09-08 22:36:24 -0700
commit8a00fd158c9be05e852cb6d9b95b2a2bdd3a85f4 (patch)
treea88b3a983a6ba493b809843337ef27c27fe2f967 /config/snort-dev/snort_download_rules.php
parent09fdcfd226f5a6f5fe120f5860afac3da527084c (diff)
downloadpfsense-packages-8a00fd158c9be05e852cb6d9b95b2a2bdd3a85f4.tar.gz
pfsense-packages-8a00fd158c9be05e852cb6d9b95b2a2bdd3a85f4.tar.bz2
pfsense-packages-8a00fd158c9be05e852cb6d9b95b2a2bdd3a85f4.zip
Update msg-mappings, add create-sidmap.pl to download_rules.php, update snort.xml for create-sidmap.pl
Diffstat (limited to 'config/snort-dev/snort_download_rules.php')
-rw-r--r--config/snort-dev/snort_download_rules.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/snort-dev/snort_download_rules.php b/config/snort-dev/snort_download_rules.php
index d653f424..904f8057 100644
--- a/config/snort-dev/snort_download_rules.php
+++ b/config/snort-dev/snort_download_rules.php
@@ -631,6 +631,11 @@ sleep(5);
apc_clear_cache();
exec("/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync");
+
+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");
+
/* php code finish */
update_status(gettext("The Rules update finished..."));
update_output_window(gettext("You may start snort now..."));