github-actions: set bpf to icmp for af-packet

pull/11086/head
Victor Julien 10 months ago committed by Victor Julien
parent 1240bdd914
commit d401082bba

@ -52,7 +52,9 @@ fi
# Start Suricata, SIGINT after 120 secords. Will close it earlier through
# the unix socket.
timeout --kill-after=240 --preserve-status 120 \
./src/suricata -c suricata.yaml -l ./ --af-packet=$IFACE -v --set af-packet.1.tpacket-v3=$V3 --set default-rule-path=. --runmode=$RUNMODE &
./src/suricata -c suricata.yaml -l ./ --af-packet=$IFACE -v \
--set af-packet.1.bpf-filter=icmp \
--set af-packet.1.tpacket-v3=$V3 --set default-rule-path=. --runmode=$RUNMODE &
SURIPID=$!
sleep 15

Loading…
Cancel
Save