aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_interfaces.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-04-29 21:31:46 -0700
committerrobiscool <robrob2626@yahoo.com>2010-04-29 21:31:46 -0700
commit2267b1f065f8ea6f87a8c15ab5ef1e0ec92faaec (patch)
treec5c52cf2a442fdfd56c0b4d16ae7c7189606b9ab /config/snort/snort_interfaces.php
parent145fd3aec9003dce4ccddd8a420937047c920975 (diff)
downloadpfsense-packages-2267b1f065f8ea6f87a8c15ab5ef1e0ec92faaec.tar.gz
pfsense-packages-2267b1f065f8ea6f87a8c15ab5ef1e0ec92faaec.tar.bz2
pfsense-packages-2267b1f065f8ea6f87a8c15ab5ef1e0ec92faaec.zip
snort, fix line endings
Diffstat (limited to 'config/snort/snort_interfaces.php')
-rw-r--r--config/snort/snort_interfaces.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php
index e15ea12c..d9ecc333 100644
--- a/config/snort/snort_interfaces.php
+++ b/config/snort/snort_interfaces.php
@@ -29,16 +29,16 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+/* TODO: redo check if snort is up */
+
require_once("guiconfig.inc");
require_once("/usr/local/pkg/snort/snort_gui.inc");
require_once("/usr/local/pkg/snort/snort.inc");
-
$id = $_GET['id'];
if (isset($_POST['id']))
$id = $_POST['id'];
-
if (!is_array($config['installedpackages']['snortglobal']['rule']))
$config['installedpackages']['snortglobal']['rule'] = array();
@@ -50,7 +50,6 @@ $id_gen = count($config['installedpackages']['snortglobal']['rule']);
$id_gen = '0';
}
-
/* alert file */
$d_snortconfdirty_path_ls = exec('/bin/ls /var/run/snort_conf_*.dirty');