summaryrefslogtreecommitdiff
path: root/interface-definitions/include/stunnel/protocol-options.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-24 18:42:53 +0200
committerGitHub <noreply@github.com>2024-06-24 18:42:53 +0200
commit6fbe91ea8ea639e3933b3e23f99ce32204cebfe0 (patch)
tree160fa688a867c2cb12f93074efa8588d5b4370ce /interface-definitions/include/stunnel/protocol-options.xml.i
parent4cd052bddcecd0d24c72521564f9844f21ffc4ea (diff)
parentf6131611e15a644312e3c4baf5b8f6387c2930e7 (diff)
downloadvyos-1x-6fbe91ea8ea639e3933b3e23f99ce32204cebfe0.tar.gz
vyos-1x-6fbe91ea8ea639e3933b3e23f99ce32204cebfe0.zip
Merge pull request #3588 from HollyGurza/T5735
T5735: Stunnel CLI and configuration
Diffstat (limited to 'interface-definitions/include/stunnel/protocol-options.xml.i')
-rw-r--r--interface-definitions/include/stunnel/protocol-options.xml.i75
1 files changed, 75 insertions, 0 deletions
diff --git a/interface-definitions/include/stunnel/protocol-options.xml.i b/interface-definitions/include/stunnel/protocol-options.xml.i
new file mode 100644
index 000000000..2f0202875
--- /dev/null
+++ b/interface-definitions/include/stunnel/protocol-options.xml.i
@@ -0,0 +1,75 @@
+<!-- include start from stunel/protocol-options.xml.i -->
+<node name="options">
+ <properties>
+ <help>Advanced protocol options</help>
+ </properties>
+ <children>
+ <leafNode name="authentication">
+ <properties>
+ <help>Authentication type for the protocol negotiations</help>
+ <completionHelp>
+ <list>basic ntlm plain login</list>
+ </completionHelp>
+ <valueHelp>
+ <format>basic</format>
+ <description>The default 'connect' authentication type</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ntlm</format>
+ <description>Supported authentication types for the 'connect' protocol</description>
+ </valueHelp>
+ <valueHelp>
+ <format>plain</format>
+ <description>The default 'smtp' authentication type</description>
+ </valueHelp>
+ <valueHelp>
+ <format>login</format>
+ <description>Supported authentication types for the 'smtp' protocol</description>
+ </valueHelp>
+ <constraint>
+ <regex>(basic|ntlm|plain|login)</regex>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="domain">
+ <properties>
+ <help>Domain for the 'connect' protocol.</help>
+ <valueHelp>
+ <format>domain</format>
+ <description>domain</description>
+ </valueHelp>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <node name="host">
+ <properties>
+ <help>Destination address for the 'connect' protocol</help>
+ </properties>
+ <children>
+ #include <include/stunnel/address.xml.i>
+ #include <include/port-number.xml.i>
+ </children>
+ </node>
+ <leafNode name="password">
+ <properties>
+ <help>Password for the protocol negotiations</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Authentication password</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="username">
+ <properties>
+ <help>Username for the protocol negotiations</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Authentication username</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->