Snort Widget v0.3.2, Snort 2.9.2.3 pkg v. 2.5.1 Alerts Tab and Blocked tab fix
-
@fillmoreb: Thanks for the bugreport and testing.
@ermal: could you push this? -
I had the problem and the fix worked for me. Not see a block yet but no more error shows.
-
Thanks for the response. The widget will only display alerts if there are any.
-
I am waiting for ermal to pull the changes. ;)
-
Has this been pushed to production?
Should we be looking for a version change, or just reinstall the package? -
As soon as it has been pulled you just have to reinstall.
-
Looking forward to seeing this fix as well.
-
FYI: Widget issue:
Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/snort_alerts.widget.php on line 36
is still there.
-
The 03-08 fix still not has been pulled…
If you have the error you have to fix it manually with the latest fix I sended 03-08-2012.
The file /usr/local/www/widgets/snort_alerts.widget.php should contain "mod 03-08-2012" at line 5. -
Date today: 12-11-29: Fix is not merged into the package. Seems to be like no (or very small) interest to fix it?????
-
Same here I got the same problem Warning:
Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/snort_alerts.widget.php on line 36 Warning: array_reverse(): The argument should be an array in /usr/local/www/widgets/widgets/snort_alerts.widget.php on line 50
-
I don't know why the fixes aren't pulled :-\
The problem only exists when you don't have any snort-alerts.
To fix it manually, re-install the Snort Widget package and replace the file as I describe in this post:
http://forum.pfsense.org/index.php/topic,51782.msg278917.html#msg278917 -
I re installed and it worked but now I have another problem with the pfsense dashboard page it self :D I only have one column for widgets not two :( how to solve this?