From c509d0e6caae55106a2fbde3059652a493ed3903 Mon Sep 17 00:00:00 2001 From: khramshinr Date: Mon, 8 Jul 2024 16:38:22 +0600 Subject: T6362: Create conntrack logger daemon --- .../include/conntrack/log-common.xml.i | 20 ------ .../include/conntrack/log-protocols.xml.i | 26 +++++++ interface-definitions/system_conntrack.xml.in | 81 ++++++++++++++++------ 3 files changed, 85 insertions(+), 42 deletions(-) delete mode 100644 interface-definitions/include/conntrack/log-common.xml.i create mode 100644 interface-definitions/include/conntrack/log-protocols.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/conntrack/log-common.xml.i b/interface-definitions/include/conntrack/log-common.xml.i deleted file mode 100644 index 38799f8f4..000000000 --- a/interface-definitions/include/conntrack/log-common.xml.i +++ /dev/null @@ -1,20 +0,0 @@ - - - - Log connection deletion - - - - - - Log connection creation - - - - - - Log connection updates - - - - diff --git a/interface-definitions/include/conntrack/log-protocols.xml.i b/interface-definitions/include/conntrack/log-protocols.xml.i new file mode 100644 index 000000000..019250760 --- /dev/null +++ b/interface-definitions/include/conntrack/log-protocols.xml.i @@ -0,0 +1,26 @@ + + + + Log connection tracking events for ICMP + + + + + + Log connection tracking events for all protocols other than TCP, UDP and ICMP + + + + + + Log connection tracking events for TCP + + + + + + Log connection tracking events for UDP + + + + diff --git a/interface-definitions/system_conntrack.xml.in b/interface-definitions/system_conntrack.xml.in index 0dfa2ea81..cd59d1308 100644 --- a/interface-definitions/system_conntrack.xml.in +++ b/interface-definitions/system_conntrack.xml.in @@ -223,41 +223,78 @@ - Log connection tracking events per protocol + Log connection tracking - + - Log connection tracking events for ICMP + Event type and protocol - #include + + + Log connection deletion + + + #include + + + + + Log connection creation + + + #include + + + + + Log connection updates + + + #include + + - + - Log connection tracking events for all protocols other than TCP, UDP and ICMP + Log connection tracking events include flow-based timestamp + - - #include - - - + + - Log connection tracking events for TCP + Internal message queue size + + u32:100-999999 + Queue size + + + + + Queue size must be between 100 and 999999 - - #include - - - + + - Log connection tracking events for UDP + Set log-level. Log must be enable. + + info debug + + + info + Info log level + + + debug + Debug log level + + + (info|debug) + - - #include - - + -- cgit v1.2.3