diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 17:11:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 17:11:36 +0000 |
commit | af7dce4fad954900886ec5223ddee31d9c6dad46 (patch) | |
tree | a0953fc3650ba491bb358a4ae68889458d542988 /packages/snort/snort_alerts.php | |
parent | 5bb0b3067102bcac7ab1082b9258d4b025a7ee08 (diff) | |
download | pfsense-packages-af7dce4fad954900886ec5223ddee31d9c6dad46.tar.gz pfsense-packages-af7dce4fad954900886ec5223ddee31d9c6dad46.tar.bz2 pfsense-packages-af7dce4fad954900886ec5223ddee31d9c6dad46.zip |
* Do not CLOG alert file
* s/alerts/alert/
Diffstat (limited to 'packages/snort/snort_alerts.php')
-rw-r--r-- | packages/snort/snort_alerts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/snort/snort_alerts.php b/packages/snort/snort_alerts.php index e0ba80f2..536cb0f7 100644 --- a/packages/snort/snort_alerts.php +++ b/packages/snort/snort_alerts.php @@ -32,7 +32,7 @@ require("guiconfig.inc"); -$snort_logfile = "{$g['varlog_path']}/snort/alerts"; +$snort_logfile = "{$g['varlog_path']}/snort/alert"; $nentries = $config['syslog']['nentries']; if (!$nentries) @@ -40,7 +40,7 @@ if (!$nentries) if ($_POST['clear']) { exec("killall syslogd"); - exec("/usr/sbin/clog -i -s 262144 {$snort_logfile}"); + exec("rm {$snort_logfile}; touch {$snort_logfile}"); system_syslogd_start(); } |