aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_alerts.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2014-01-02 02:36:52 -0800
committerErmal Luçi <eri@pfsense.org>2014-01-02 02:36:52 -0800
commit8950feb1d56407b3b5af01722a6db2f64020b25b (patch)
treebff9635d0657eeb61a6735ca707eaaab693cd8cc /config/snort/snort_alerts.php
parent5e3ebef13f2715fef8694b4fa34fd75e6ec4f40c (diff)
parent1816cf8bc9f6cab945acd52b7e632b24834de6e3 (diff)
downloadpfsense-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/snort_alerts.php')
-rwxr-xr-xconfig/snort/snort_alerts.php2
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;