Project

General

Profile

Actions

Support #2666

closed

add BPF filter from /etc/init.d/suricata to /etc/suricata/suricata.yaml

Added by lolilol party about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

hello,

I have a bpf filter in /etc/init.d/suricata

SURICATA_OPTIONS=" -c $SURCONF --pidfile $PIDFILE $LISTEN_OPTIONS -D -vvv $USER_SWITCH not proto 47

but I don't want to modify the init.d file, so I want to move this filter "not proto 47" in /etc/suricata/suricata.yaml

It is possible ?

Thanks

Actions #1

Updated by Victor Julien about 6 years ago

Yes, you can add it in the yaml to the interface config. Most likely af-packet in your case, so it would go here https://github.com/OISF/suricata/blob/master/suricata.yaml.in#L692

Actions #2

Updated by Victor Julien about 6 years ago

  • Tracker changed from Feature to Support
Actions #3

Updated by Victor Julien almost 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF