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

Barnyard2 error with Suricata inline mode

Scheduled Pinned Locked Moved IDS/IPS
3 Posts 2 Posters 432 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.
  • M
    mrtom
    last edited by Oct 21, 2017, 10:33 AM

    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 65.19.96.252/32] for value []

    Any thoughts on how I can fix this?

    1 Reply Last reply Reply Quote 0
    • B
      bmeeks
      last edited by Oct 21, 2017, 11:39 PM

      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.

      Bill

      1 Reply Last reply Reply Quote 0
      • M
        mrtom
        last edited by Oct 23, 2017, 6:31 PM

        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.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received