Codebase list suricata / 9a0bbe3
Add support for af-packet mode in init script (Closes: #697928). Thanks to Jamie Strandboge <jamie@ubuntu.com> for the patch. Pierre Chifflier 10 years ago
2 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
55 # Configuration file to load
66 SURCONF=/etc/suricata/suricata-debian.yaml
77
8 # Listen mode: pcap or nfqueue
8 # Listen mode: pcap, nfqueue or af-packet
99 # depending on this value, only one of the two following options
10 # will be used
10 # will be used (af-packet uses neither).
1111 # Please note that IPS mode is only available when using nfqueue
1212 LISTENMODE=nfqueue
1313
6868 pcap)
6969 IDMODE="IDS (pcap)"
7070 LISTEN_OPTIONS=" -i $IFACE"
71 ;;
72 af-packet)
73 IDMODE="IDS (af-packet)"
74 LISTEN_OPTIONS=" --af-packet"
7175 ;;
7276 *)
7377 echo "Unsupported listen mode $LISTENMODE, aborting"