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

    Flowbit IDs in the current ruleset exceeds the maximum number of IDs that are allowed (1024)

    Scheduled Pinned Locked Moved IDS/IPS
    2 Posts 2 Posters 683 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.
    • S
      Simbad
      last edited by

      Hi!

      where or. how can i fix this error in Snort config?

      FATAL ERROR: The number of flowbit IDs in the current ruleset exceeds the maximum number of IDs that are allowed (1024)

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by

        @Simbad said in Flowbit IDs in the current ruleset exceeds the maximum number of IDs that are allowed (1024):

        The number of flowbit IDs in the current ruleset exceeds the maximum number of IDs that are allowed

        To fix this, edit the following file:

        /usr/local/pkg/snort/snort_conf_template.inc
        

        Add this new line immediately above line 38:

        # Configure maximum number of flowbit references.  For more information, see README.flowbits
        # config flowbits_size: 2000
        

        The maximum allowed value for flowbits_size is 2048, so you can experiment by lowering or increasing this value for your setup, but you can't exceed 2048.

        After making this edit, got to the INTERFACE SETTINGS tab for each configured Snort interface and click Save to re-generate the configuration file for that interface. Then go to INTERFACES and start/restart that interface.

        This change will be overwritten if you remove and install Snort again. I will put this on my bug fix list and increase the value in a future Snort package update.

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