]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 6c1a7de000c991b116fa9f7e65b56b2474ac9435..94e13f501c80f373c4cc7566532e8abc7853ead6 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 93c2636f360dfe285c2487c73537a8405c05321c..99097a8e3aaca6db7e3a98fa95447097cad98da7 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"