diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/snort-dev/snort.sh (renamed from config/snort-dev/snort) | 0 | ||||
-rw-r--r-- | config/snort-dev/snort.xml | 2 | ||||
-rw-r--r-- | config/snort-dev/snort_check_for_rule_updates.php | 2 | ||||
-rw-r--r-- | config/snort-dev/snort_interfaces.php | 6 | ||||
-rw-r--r-- | config/snort-dev/snort_interfaces_edit.php | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/config/snort-dev/snort b/config/snort-dev/snort.sh index 5b725cfe..5b725cfe 100755 --- a/config/snort-dev/snort +++ b/config/snort-dev/snort.sh diff --git a/config/snort-dev/snort.xml b/config/snort-dev/snort.xml index 327428e5..79a17ca9 100644 --- a/config/snort-dev/snort.xml +++ b/config/snort-dev/snort.xml @@ -181,7 +181,7 @@ <additional_files_needed> <prefix>/usr/local/etc/rc.d/</prefix> <chmod>755</chmod> - <item>http://www.pfsense.com/packages/config/snort-dev/snort</item> + <item>http://www.pfsense.com/packages/config/snort-dev/snort.sh</item> </additional_files_needed> <fields> </fields> diff --git a/config/snort-dev/snort_check_for_rule_updates.php b/config/snort-dev/snort_check_for_rule_updates.php index 8ec51081..d95e24ad 100644 --- a/config/snort-dev/snort_check_for_rule_updates.php +++ b/config/snort-dev/snort_check_for_rule_updates.php @@ -752,7 +752,7 @@ exec("/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/syn /* if snort is running hardrestart, if snort is not running do nothing */ if (file_exists("/tmp/snort_download_halt.pid")) { - exec("/bin/sh /usr/local/etc/rc.d/snort\* start"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh start"); echo "The Rules update finished...\n"; echo "Snort has restarted with your new set of rules...\n"; exec("/usr/bin/logger -p daemon.info -i -t SnortStartup 'SNORT RULE UPDATE FINNISHED...'"); diff --git a/config/snort-dev/snort_interfaces.php b/config/snort-dev/snort_interfaces.php index 5d98105e..8e3f7570 100644 --- a/config/snort-dev/snort_interfaces.php +++ b/config/snort-dev/snort_interfaces.php @@ -82,7 +82,7 @@ if (isset($_POST['del_x'])) { /* dont flood the syslog code */ exec("/bin/cp /var/log/system.log /var/log/system.log.bk"); - exec("/bin/sh /usr/local/etc/rc.d/snort stop $rulei"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh stop $rulei"); /* stop syslog flood code */ $if_real_wan_rulei = $a_nat[$rulei]['interface']; @@ -170,10 +170,10 @@ if ($_GET['act'] == "toggle" && $_GET['id'] != "") $snort_pid = exec("pgrep -F /var/run/snort_{$if_real2}{$name}.pid snort"); if ($snort_pid != "") { - exec("/bin/sh /usr/local/etc/rc.d/snort stop $name"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh stop $name"); }else{ sync_snort_package_all(); - exec("/bin/sh /usr/local/etc/rc.d/snort start $name"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh start $name"); } header("Location: snort_interfaces.php"); } diff --git a/config/snort-dev/snort_interfaces_edit.php b/config/snort-dev/snort_interfaces_edit.php index 2da18160..3a384df5 100644 --- a/config/snort-dev/snort_interfaces_edit.php +++ b/config/snort-dev/snort_interfaces_edit.php @@ -294,7 +294,7 @@ if ($_POST["Submit"]) { if ($_POST["Submit2"]) { sync_snort_package_all(); sleep(1); - exec("/bin/sh /usr/local/etc/rc.d/snort restart {$id}{$if_real}"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh restart {$id}{$if_real}"); header("Location: /snort/snort_interfaces_edit.php?id=$id"); exit; } |