From: Michael Tremer Date: Mon, 18 Oct 2021 10:10:14 +0000 (+0000) Subject: suricata: Set most significant bit as repeat marker X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=761fadbdde805c8863a1f2a736408367a38f94da;p=people%2Fstevee%2Fipfire-2.x.git suricata: Set most significant bit as repeat marker I have no idea why some odd value was chosen here, but one bit should be enough. 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 4e9e399675..1ce013dc7c 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -346,8 +346,8 @@ logging: nfq: mode: repeat - repeat-mark: 1879048192 - repeat-mask: 1879048192 + repeat-mark: 2147483648 + repeat-mask: 2147483648 # bypass-mark: 1 # bypass-mask: 1 # route-queue: 2 diff --git a/src/initscripts/system/suricata b/src/initscripts/system/suricata index 33633ddf94..e327225d7a 100644 --- a/src/initscripts/system/suricata +++ b/src/initscripts/system/suricata @@ -35,8 +35,8 @@ network_zones=( red green blue orange ovpn ) enabled_ips_zones=() # Mark and Mask options. -MARK="0x70000000" -MASK="0x70000000" +MARK="0x80000000" +MASK="0x80000000" # PID file of suricata. PID_FILE="/var/run/suricata.pid"