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

    I broke the Snort widget

    Scheduled Pinned Locked Moved IDS/IPS
    4 Posts 3 Posters 1.3k Views
    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.
    • KOMK
      KOM
      last edited by

      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
      • KOMK
        KOM
        last edited by

        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

          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
          • bmeeksB
            bmeeks
            last edited by

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.