]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
suricata: Set most significant bit as repeat marker
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Oct 2021 10:10:14 +0000 (10:10 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 19 Oct 2021 11:33:47 +0000 (11:33 +0000)
I have no idea why some odd value was chosen here, but one bit should be
enough.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Tested-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/suricata/suricata.yaml
src/initscripts/system/suricata

index 4e9e399675551c8a5bfd81568da622b2f3767576..1ce013dc7ca10066b7613c828852fbc79081572a 100644 (file)
@@ -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
index 33633ddf943cd8af0aa42484310352674f834ac0..e327225d7aa8e7604300535ee202e7809f785db4 100644 (file)
@@ -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"