aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_alerts.widget.php
Commit message (Collapse)AuthorAgeFilesLines
* Validate widget_snort_display_linesPhil Davis2015-02-211-2/+6
| | | | | | | Currently if you open the snort widget settings and just press "save" with a blank field, it sets the parameter to blank. Subsequently that causes problems trying to fetch the last "" number of alerts, and actually the little "tool" icon never reappears, so you cannot fix it from the dashboard. 1) Setting the number of entries to 0 seems silly, so limit it to a minimum of 1 alert. 2) If the user blanks the box, then unset widget_snort_display_lines to make sure things will always revert to the default. 3) Whatever else the user types in - "abc", "-999", "23xyz99" - try to interpret it as an int (with intval()), then do not let it be less than 1 (not negative or zero). This forum entry made me touch it and "break" my widget also: https://forum.pfsense.org/index.php?topic=89161.0
* Show alert description instead of classification in dashboard widget.bmeeks82014-09-191-23/+12
|
* Integrate Snort Dashboard Widget into Snort package.bmeeks82014-04-081-0/+246