diff options
author | robiscool <robrob2626@yahoo.com> | 2009-11-19 06:15:00 -0800 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-11-19 06:15:00 -0800 |
commit | 607a3926f3efbc1f675696423448ef4591676332 (patch) | |
tree | dcf7145d709028af0944a3b3ebf5a36a8ce9aa81 /config/snort-dev/snort_interfaces_edit.php | |
parent | f0277174966666e88e8d8d5157bbfecaec61d851 (diff) | |
download | pfsense-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.php | 7 |
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; |