aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 19:16:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 19:16:46 +0000
commit0fe495045a5196735154952798b1cd320f7fe3ff (patch)
treefb53783748702ea4188c3d043c534fc87bee53e6 /packages
parent9734abbbcad66c504e29ad14a498e0fd66eef5b1 (diff)
downloadpfsense-packages-0fe495045a5196735154952798b1cd320f7fe3ff.tar.gz
pfsense-packages-0fe495045a5196735154952798b1cd320f7fe3ff.tar.bz2
pfsense-packages-0fe495045a5196735154952798b1cd320f7fe3ff.zip
After clearing the snort alert log, HUP both snort and snort2c
Diffstat (limited to 'packages')
-rw-r--r--packages/snort/snort_alerts.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/snort/snort_alerts.php b/packages/snort/snort_alerts.php
index 881a4c83..2589a382 100644
--- a/packages/snort/snort_alerts.php
+++ b/packages/snort/snort_alerts.php
@@ -43,6 +43,8 @@ if ($_POST['clear']) {
exec("killall syslogd");
exec("rm {$snort_logfile}; touch {$snort_logfile}");
system_syslogd_start();
+ exec("/usr/bin/killall -HUP snort");
+ exec("/usr/bin/killall -HUP snort2c");
}
$pgtitle = "Services: Snort: Snort Alerts";