Created
April 14, 2016 15:21
-
-
Save mpurzynski/ac15b8126c924ca3d7ac3a276199a271 to your computer and use it in GitHub Desktop.
Suricata with Netmap on FreeBSD 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build and install your kernel with netmap support | |
FreeBSD nsm1 10.2-RELEASE-p12 FreeBSD 10.2-RELEASE-p12 #1: Sat Feb 6 11:12:43 UTC 2016 michal@nsm1:/usr/obj/usr/src/sys/NETMAP amd64 | |
cat interfaces_setup.sh | |
ifconfig em0 -arp promisc -rxcsum -txcsum -rxcsum6 -txcsum6 -tso -tso4 -tso6 -lro -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso | |
ifconfig em1 -arp promisc -rxcsum -txcsum -rxcsum6 -txcsum6 -tso -tso4 -tso6 -lro -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso | |
ifconfig em0 mtu 1524 up | |
ifconfig em1 mtu 1524 up | |
/opt/suricata/bin/suricata -c /etc/nsm/suricata.yaml --netmap=em0 --runmode workers -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment