diff options
author | Ermal Luçi <eri@pfsense.org> | 2014-01-02 02:36:52 -0800 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2014-01-02 02:36:52 -0800 |
commit | 8950feb1d56407b3b5af01722a6db2f64020b25b (patch) | |
tree | bff9635d0657eeb61a6735ca707eaaab693cd8cc /config/snort | |
parent | 5e3ebef13f2715fef8694b4fa34fd75e6ec4f40c (diff) | |
parent | 1816cf8bc9f6cab945acd52b7e632b24834de6e3 (diff) | |
download | pfsense-packages-8950feb1d56407b3b5af01722a6db2f64020b25b.tar.gz pfsense-packages-8950feb1d56407b3b5af01722a6db2f64020b25b.tar.bz2 pfsense-packages-8950feb1d56407b3b5af01722a6db2f64020b25b.zip |
Merge pull request #567 from bmeeks8/master
Snort Alerts Dashboard Widget Package Update to 0.3.7
Diffstat (limited to 'config/snort')
-rwxr-xr-x | config/snort/snort_alerts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php index ede6cf9a..2b957f61 100755 --- a/config/snort/snort_alerts.php +++ b/config/snort/snort_alerts.php @@ -379,7 +379,7 @@ if ($pconfig['arefresh'] == 'on') /* make sure alert file exists */ if (file_exists("/var/log/snort/snort_{$if_real}{$snort_uuid}/alert")) { - exec("tail -{$anentries} /var/log/snort/snort_{$if_real}{$snort_uuid}/alert | sort -r > /tmp/alert_{$snort_uuid}"); + exec("tail -{$anentries} -r /var/log/snort/snort_{$if_real}{$snort_uuid}/alert > /tmp/alert_{$snort_uuid}"); if (file_exists("/tmp/alert_{$snort_uuid}")) { $tmpblocked = array_flip(snort_get_blocked_ips()); $counter = 0; |