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

Suricata & netmap errors

Scheduled Pinned Locked Moved IDS/IPS
3 Posts 3 Posters 1.5k 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.
  • I
    ivve
    last edited by Oct 13, 2017, 6:08 AM

    Hi,

    I just wanted to share my solution to a rather critical error I encountered.
    Long story short, using 2.3.x or 2.4.x with suricata inline mode i got a "netmap_transmit <nic>full hwcur 51 hwtail 198 qlen 364 len…." error.
    This caused my WAN interface to die off, seems like there was some vlan problem.. but always related to the error above and it appeared when inline mode was enabled.
    I had a hard time to reproduce it but it would happen every 1-2 days or when someone connected to the openvpn (but not always).
    One of the hardwares is a vmware guest using the e1000 nic or vmxnet3 (em0). The other is a rather old zotac internal mATX nic (re0).

    Anyways, the solution was to force the netmap to the emulated mode: dev.netmap.admode 2
    As it can be read about in the netmap manual for freebsd.
    This setting can be enabled by simply entering the string & value under System > Advanced > System Tunables.

    I posted it under reddit as well, although a shorter version: https://www.reddit.com/r/PFSENSE/comments/75vamu/suricata_inline_mode_netmap/

    Another person solved it for his hardware with another tunable, but that is probably not applicable to any network card.</nic>

    1 Reply Last reply Reply Quote 0
    • A
      antilog
      last edited by Jun 24, 2018, 11:07 AM

      This seemed to work for my SG-2220 at first, but pfSense wouldn't stay online for very long before rebooting.

      1 Reply Last reply Reply Quote 0
      • J
        JasonAU
        last edited by Jun 25, 2018, 9:28 AM

        It would be interesting to keep a forum sticky as to what hardware this works for people on, I have the Intel i211AT on the pcengines APUC4

        Brisbane Queensland Australia

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