diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 19:16:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 19:16:46 +0000 |
commit | 0fe495045a5196735154952798b1cd320f7fe3ff (patch) | |
tree | fb53783748702ea4188c3d043c534fc87bee53e6 /packages/snort | |
parent | 9734abbbcad66c504e29ad14a498e0fd66eef5b1 (diff) | |
download | pfsense-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/snort')
-rw-r--r-- | packages/snort/snort_alerts.php | 2 |
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"; |