Flowbit IDs in the current ruleset exceeds the maximum number of IDs that are allowed (1024)
-
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)
-
@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.