[Oisf-users] Running Suricata with Netmap support

Victor Julien lists at inliniac.net
Fri Jul 1 13:08:36 UTC 2016


On 01-07-16 14:22, Kancheti Sai Srinivas (Security Engineering) wrote:
> Hello,
> 
> I have compiled the NETMAP code and generated the .ko modules. The
> modules are in /home/intern-web/netmap folder.
> My NIC driver is ixgbe.
> 
> I have then loaded the modules, netmap.ko and ixgbe.ko using insmod.
> 
> Suricata has been compiled with NETMAP support. I have attached the
> output of suricata --build-info as 'info.txt'. I have also set the
> appropriate options for NETMAP in the .yaml file.
> 
> However, when I run suricata --netmap=em1, I get the following error:
> 
> "Error> - [ERRCODE: SC_ERR_NO_NETMAP(262)] - NETMAP not enabled"
> 
> What am I missing?

Netmap support should be compiled in. It seems your configure option is
wrong. It should be something like:


--enable-netmap --with-netmap-includes=/path/to/netmap/sys

Then recompile.

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-users mailing list