summaryrefslogtreecommitdiff
path: root/interface-definitions/include/tls-version-min.xml.i
diff options
context:
space:
mode:
authorAlex W <embezzle.dev@proton.me>2024-04-29 20:53:51 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-30 06:30:40 +0000
commitef665adb7e44ef03e7f3e6f2cd1db88315ffcbe1 (patch)
tree681e917ed2394067e062a69817865688667bd994 /interface-definitions/include/tls-version-min.xml.i
parent7edaf47f0f582459d5324da39cd0da0937c30fa9 (diff)
downloadvyos-1x-ef665adb7e44ef03e7f3e6f2cd1db88315ffcbe1.tar.gz
vyos-1x-ef665adb7e44ef03e7f3e6f2cd1db88315ffcbe1.zip
openconnect: T4982: Support defining minimum TLS version in openconnect VPN
(cherry picked from commit 9ff74d4370f0a5f66c303074796dab8b1ca5c4a5)
Diffstat (limited to 'interface-definitions/include/tls-version-min.xml.i')
-rw-r--r--interface-definitions/include/tls-version-min.xml.i29
1 files changed, 29 insertions, 0 deletions
diff --git a/interface-definitions/include/tls-version-min.xml.i b/interface-definitions/include/tls-version-min.xml.i
new file mode 100644
index 000000000..b3dcbad49
--- /dev/null
+++ b/interface-definitions/include/tls-version-min.xml.i
@@ -0,0 +1,29 @@
+<!-- include start from tls-version-min.xml.i -->
+<leafNode name="tls-version-min">
+ <properties>
+ <help>Specify the minimum required TLS version</help>
+ <completionHelp>
+ <list>1.0 1.1 1.2 1.3</list>
+ </completionHelp>
+ <valueHelp>
+ <format>1.0</format>
+ <description>TLS v1.0</description>
+ </valueHelp>
+ <valueHelp>
+ <format>1.1</format>
+ <description>TLS v1.1</description>
+ </valueHelp>
+ <valueHelp>
+ <format>1.2</format>
+ <description>TLS v1.2</description>
+ </valueHelp>
+ <valueHelp>
+ <format>1.3</format>
+ <description>TLS v1.3</description>
+ </valueHelp>
+ <constraint>
+ <regex>(1.0|1.1|1.2|1.3)</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->