summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2024-08-16 02:18:03 -0700
committerGitHub <noreply@github.com>2024-08-16 12:18:03 +0300
commit003209eeab231675e82abb8cf6eab7ca0384bc3f (patch)
tree577195f53837c33fec8cc5f6c139b65b67f88920
parent9e740c4339d215ff7332d22d12d40f4acd75d4c8 (diff)
downloadvyos-1x-003209eeab231675e82abb8cf6eab7ca0384bc3f.tar.gz
vyos-1x-003209eeab231675e82abb8cf6eab7ca0384bc3f.zip
T6659: suricata: use unique cluster_id per interface (#3992)
-rw-r--r--data/templates/ids/suricata.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ids/suricata.j2 b/data/templates/ids/suricata.j2
index 585db93eb..d76994c47 100644
--- a/data/templates/ids/suricata.j2
+++ b/data/templates/ids/suricata.j2
@@ -79,7 +79,7 @@ af-packet:
{% for interface in suricata.interface %}
- interface: {{ interface }}
# Default clusterid. AF_PACKET will load balance packets based on flow.
- cluster-id: 99
+ cluster-id: {{ 100 - loop.index }}
# Default AF_PACKET cluster type. AF_PACKET can load balance per flow or per hash.
# This is only supported for Linux kernel > 3.1
# possible value are: