From 39585a520f03048486b9e498f5b1439b17569550 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Thu, 7 Mar 2024 10:39:09 +0200 Subject: conntrack-sync: T6057: Add ability to disable syslog for conntrackd --- data/templates/conntrackd/conntrackd.conf.tmpl | 2 +- interface-definitions/service_conntrack-sync.xml.in | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data/templates/conntrackd/conntrackd.conf.tmpl b/data/templates/conntrackd/conntrackd.conf.tmpl index 7ec8a727c..3f957b696 100644 --- a/data/templates/conntrackd/conntrackd.conf.tmpl +++ b/data/templates/conntrackd/conntrackd.conf.tmpl @@ -73,7 +73,7 @@ General { HashSize {{ hash_size }} HashLimit {{ table_size | int *2 }} LogFile off - Syslog on + Syslog {{ 'off' if disable_syslog is 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 584f687c7..105c2a3a0 100644 --- a/interface-definitions/service_conntrack-sync.xml.in +++ b/interface-definitions/service_conntrack-sync.xml.in @@ -51,6 +51,12 @@ + + + Disable connection logging via Syslog + + + Queue size for local conntrack events -- cgit v1.2.3