aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev2/snort_interfaces.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2012-06-12 23:04:39 -0700
committerrobiscool <robrob2626@yahoo.com>2012-06-12 23:04:39 -0700
commitede8a5141d24d7a7f72071811bd78de099dc681f (patch)
tree9f4855788da54411c2d33bde76b877b975ce486c /config/snort-dev2/snort_interfaces.php
parentbc2c451e729f31303e687605af16dce80185a646 (diff)
downloadpfsense-packages-ede8a5141d24d7a7f72071811bd78de099dc681f.tar.gz
pfsense-packages-ede8a5141d24d7a7f72071811bd78de099dc681f.tar.bz2
pfsense-packages-ede8a5141d24d7a7f72071811bd78de099dc681f.zip
snort-dev2, fixed interface remove dir issue when iface rule stop, changed iface rule log dir
Diffstat (limited to 'config/snort-dev2/snort_interfaces.php')
-rw-r--r--config/snort-dev2/snort_interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort-dev2/snort_interfaces.php b/config/snort-dev2/snort_interfaces.php
index 86a9aff6..966c115d 100644
--- a/config/snort-dev2/snort_interfaces.php
+++ b/config/snort-dev2/snort_interfaces.php
@@ -97,12 +97,12 @@ if ($_GET['act'] == 'toggle' && is_numeric($id)) {
/* Log Iface stop */
exec("/usr/bin/logger -p daemon.info -i -t SnortStartup 'Toggle for {$snort_uuid}_{$if_real}...'");
- sync_snort_package_config();
+ // sync_snort_package_config();
$tester2 = Running_Ck($snort_uuid, $if_real, $id);
if ($tester2 == 'yes') {
- Running_Stop($snort_uuid, $if_real, $id);
+ Running_Stop($snort_uuid, $if_real, $id); // causeing snort to delete the ifcae rule dir
header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );