#! /bin/bash ## usr/bin/suricata -c /etc/suricata/suricata.yaml -D -i ens1f1 --user=suri --group=suri -v ### Auto Flow Pinning mode # /usr/bin/suricata -c /etc/suricata/suricata.yaml --user=suri --group=suri -v --af-packet=ens1f1 -D ### - next line removed for 3.2 since it should change these settings automatically #ethtool -K ens1f1 sg off gro off lro off tso off gso off rx off tx off rxvlan off txvlan off ethtool -G rx 4096 ethtool -L ens1f1 combined 1 ### Workers Mode ### Stopped using TC_MALLOC due to concerns listed in "Caveats" at bottom of page - http://goog-perftools.sourceforge.net/doc/tcmalloc.html #LD_PRELOAD="/usr/lib64/libtcmalloc_minimal.so.4" /usr/bin/suricata -c /etc/suricata/suricata.yaml --user=suri --group=suri -v --af-packet=ens1f1 --runmode=workers -D /usr/bin/suricata -c /etc/suricata/newsuricata.yaml --user=suri --group=suri -v --af-packet=ens1f1 --runmode=workers -D