Barnyard2 error with Suricata inline mode
Suricata and barnyard2 have been working very well for me until switching to inline mode. When I start barnyard2 in inline mode I get the following error:
FATAL ERROR: [ParseSidMapLine()], File [/usr/local/etc/suricata/suricata_3702_em3/sid-msg.map], Error in map definition [1 || 1000001 || || NOCLASS || 0 || Pass List Entry - allow all traffic from/to 18.104.22.168/32] for value 
Any thoughts on how I can fix this?
bmeeks last edited by
Looks like you have a custom rule for a Pass List, but Barnyard2 does not like the fact it is missing some fields. The hint is the blank space between pairs of delimiters (the double pipe symbols). You need to look at all the other sid-msg.map entries and add the missing metadata to your custom rule.
Thanks. I was able to fix this by setting the Pass List option to none. Inline mode was not working with my NICs until the latest update so I think the Pass List setting carried over when I made the switch from legacy to inline.