• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

I broke the Snort widget

IDS/IPS
3
4
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    KOM
    last edited by Feb 20, 2015, 9:18 PM Feb 20, 2015, 7:22 PM

    I made the mistake of clicking Save with the # of recent alerts box empty.  Now the Snort widget only shows one entry, it doesn't ever update and it doesn't show its config button.  I tried poking around the widget section of the www folder but I can't figure it out.  Help!

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Feb 20, 2015, 8:59 PM

      OK, fixed it.  I found the config file in /conf.  A quick glance showed a badly-formatted XML entry:

       <widgets><widget_snort_display_lines></widget_snort_display_lines></widgets> 
      

      I changed it to:

       <widgets><widget_snort_display_lines>5</widget_snort_display_lines></widgets> 
      

      Save, reboot and all is good again.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by Feb 21, 2015, 2:02 PM

        Yeh, pressing Save with blank input breaks it for me also. The widget gets itself in trouble then trying to display the last "blank" number of snort alerts. It does not get far enough to switch the little "tool" icon on, so you do not get a chance to do the setting again.
        This pull request should fix it: https://github.com/pfsense/pfsense-packages/pull/826

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • B
          bmeeks
          last edited by Feb 23, 2015, 10:37 PM

          The fix for this (provided by Phil, thanks  ;)) was merged into production today.  The package version was NOT bumped because the change was so minor and really did not impact Snort itself.  If you want the fix, simply do a GUI Components reinstall of Snort using the XML icon on the System > Packages > Installed Packages tab.

          Bill

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.