suricata: Use highest bit to mark packets

We are using the netfilter MARK in IPsec & QoS and this
is causing conflicts.

Therefore, we use the highest bit in the IPS chain now
and clear it afterwards because we do not really care about
this after the packets have been passed through suricata.

Then, no other application has to worry about suricata.

Fixes: #12010
Signed-off-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Michael Tremer
2019-02-28 19:37:38 +00:00
committed by Stefan Schantl
parent c9ee3592f0
commit 5d04cfe7d5
2 changed files with 7 additions and 4 deletions

View File

@@ -117,8 +117,8 @@ logging:
nfq:
mode: repeat
repeat-mark: 16
repeat-mask: 16
repeat-mark: 1879048192
repeat-mask: 1879048192
# bypass-mark: 1
# bypass-mask: 1
# route-queue: 2