From e4ef1cc967beccf78643da58d7d603003b748aae Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 6 Mar 2024 15:10:51 +0200 Subject: conntrack-sync: T6057: Add ability to disable syslog for conntrackd (cherry picked from commit c37fb4010c50a18029d6c680c42fceb3b8930dbd) --- data/templates/conntrackd/conntrackd.conf.j2 | 2 +- interface-definitions/service_conntrack-sync.xml.in | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data/templates/conntrackd/conntrackd.conf.j2 b/data/templates/conntrackd/conntrackd.conf.j2 index 8f56c8171..669b20877 100644 --- a/data/templates/conntrackd/conntrackd.conf.j2 +++ b/data/templates/conntrackd/conntrackd.conf.j2 @@ -76,7 +76,7 @@ General { HashSize {{ hash_size }} HashLimit {{ table_size | int *2 }} LogFile off - Syslog on + Syslog {{ 'off' if disable_syslog is vyos_defined else 'on' }} LockFile /var/lock/conntrack.lock UNIX { Path /var/run/conntrackd.ctl diff --git a/interface-definitions/service_conntrack-sync.xml.in b/interface-definitions/service_conntrack-sync.xml.in index 46dc8adc0..397864867 100644 --- a/interface-definitions/service_conntrack-sync.xml.in +++ b/interface-definitions/service_conntrack-sync.xml.in @@ -52,6 +52,12 @@ + + + Disable connection logging via Syslog + + + Queue size for local conntrack events -- cgit v1.2.3