From 73b9eba81999744ba0adf4c252ccdb2bd0bd2a19 Mon Sep 17 00:00:00 2001 From: khramshinr Date: Wed, 11 Dec 2024 11:51:10 +0800 Subject: T6934: Add preshared key for zabbix-agent monitoring service - Allow configure preshared key for zabbix-agent - Added op mode command for generatre random psk secret - Removed duplicate xml definition for psk settings Configure authentication mode: ``` # set service monitoring zabbix-agent authentication mode Possible completions: pre-shared-secret Use a pre-shared secret key ``` Configure PSK Settings: ``` # set service monitoring zabbix-agent authentication psk Possible completions: id ID for authentication secret pre-shared secret key ``` Generate Random PSK: ``` $ generate psk random Possible completions: Execute the current command size Key size in bytes ``` --- interface-definitions/include/stunnel/psk.xml.i | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'interface-definitions/include/stunnel/psk.xml.i') diff --git a/interface-definitions/include/stunnel/psk.xml.i b/interface-definitions/include/stunnel/psk.xml.i index db11a93d3..a8226c866 100644 --- a/interface-definitions/include/stunnel/psk.xml.i +++ b/interface-definitions/include/stunnel/psk.xml.i @@ -4,27 +4,8 @@ Pre-shared key name - - - ID for authentication - - txt - ID used for authentication - - - - - - pre-shared secret key - - txt - pre-shared secret key are required to be at least 16 bytes long, which implies at least 32 characters for hexadecimal key - - - - - - + #include + #include -- cgit v1.2.3