suricata: Use "2" as repeat-mark and repeat-mask.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 17 Dec 2018 14:04:48 +0000 (15:04 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 17 Dec 2018 14:04:48 +0000 (15:04 +0100)
The previous used "1" was already used to mark source-natted
packets.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/suricata/suricata.yaml
src/initscripts/system/suricata

index 6c1a7de..94e13f5 100644 (file)
@@ -117,10 +117,10 @@ logging:
 
 nfq:
    mode: repeat
-   repeat-mark: 1
-   repeat-mask: 1
-   bypass-mark: 1
-   bypass-mask: 1
+   repeat-mark: 2
+   repeat-mask: 2
+#   bypass-mark: 1
+#   bypass-mask: 1
 #  route-queue: 2
 #  batchcount: 20
    fail-open: yes
index 93c2636..99097a8 100644 (file)
@@ -29,8 +29,8 @@ NFQ_OPTS="--queue-bypass "
 network_zones=( red green blue orange )
 
 # Mark and Mask options.
-MARK="0x1"
-MASK="0x1"
+MARK="0x2"
+MASK="0x2"
 
 # PID file of suricata.
 PID_FILE="/var/run/suricata.pid"