From: Michael Tremer Date: Mon, 18 Oct 2021 10:10:16 +0000 (+0000) Subject: suricata: Define bypass mark X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11f7218f9cd16b32b2cb4477355e0e5057df6399;p=people%2Fstevee%2Fipfire-2.x.git suricata: Define bypass mark Signed-off-by: Michael Tremer Reviewed-by: Peter Müller Tested-by: Stefan Schantl Signed-off-by: Arne Fitzenreiter --- diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index 1ce013dc7c..f02b93d766 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -348,8 +348,8 @@ nfq: mode: repeat repeat-mark: 2147483648 repeat-mask: 2147483648 -# bypass-mark: 1 -# bypass-mask: 1 + bypass-mark: 1073741824 + bypass-mask: 1073741824 # route-queue: 2 # batchcount: 20 fail-open: yes diff --git a/src/initscripts/system/suricata b/src/initscripts/system/suricata index 111bd9df3f..981471c7ca 100644 --- a/src/initscripts/system/suricata +++ b/src/initscripts/system/suricata @@ -37,6 +37,8 @@ enabled_ips_zones=() # Mark and Mask options. REPEAT_MARK="0x80000000" REPEAT_MASK="0x80000000" +BYPASS_MARK="0x40000000" +BYPASS_MASK="0x40000000" # PID file of suricata. PID_FILE="/var/run/suricata.pid"