aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_interfaces_edit.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-11-19 06:15:00 -0800
committerrobiscool <robrob2626@yahoo.com>2009-11-19 06:15:00 -0800
commit607a3926f3efbc1f675696423448ef4591676332 (patch)
treedcf7145d709028af0944a3b3ebf5a36a8ce9aa81 /config/snort-dev/snort_interfaces_edit.php
parentf0277174966666e88e8d8d5157bbfecaec61d851 (diff)
downloadpfsense-packages-607a3926f3efbc1f675696423448ef4591676332.tar.gz
pfsense-packages-607a3926f3efbc1f675696423448ef4591676332.tar.bz2
pfsense-packages-607a3926f3efbc1f675696423448ef4591676332.zip
snort-dev, every rule should have its own snort.sh, snort_interfaces_edit.php, snort.inc
Diffstat (limited to 'config/snort-dev/snort_interfaces_edit.php')
-rw-r--r--config/snort-dev/snort_interfaces_edit.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/snort-dev/snort_interfaces_edit.php b/config/snort-dev/snort_interfaces_edit.php
index 06c4a2bf..f6fc2143 100644
--- a/config/snort-dev/snort_interfaces_edit.php
+++ b/config/snort-dev/snort_interfaces_edit.php
@@ -31,6 +31,7 @@
*/
require("guiconfig.inc");
+include_once("/usr/local/pkg/snort/snort.inc");
if (!is_array($config['installedpackages']['snortglobal']['rule'])) {
$config['installedpackages']['snortglobal']['rule'] = array();
@@ -162,6 +163,12 @@ if ($_POST) {
touch($d_natconfdirty_path);
write_config();
+ // stop_service("snort");
+ //create_snort_conf();
+ //create_barnyard2_conf();
+ sync_package_snort();
+ // sleep(2);
+ // start_service("snort");
header("Location: snort_interfaces.php");
exit;