diff options
author | Alex W <embezzle.dev@proton.me> | 2024-04-29 20:53:51 +0100 |
---|---|---|
committer | Alex W <embezzle.dev@proton.me> | 2024-04-29 20:53:51 +0100 |
commit | 9ff74d4370f0a5f66c303074796dab8b1ca5c4a5 (patch) | |
tree | 60d235ab78dfe2e3bd22f0ba417c7e1506ceb0ef /interface-definitions/include | |
parent | aa15f74818ca2cb35696315cc5cb0c57335f6911 (diff) | |
download | vyos-1x-9ff74d4370f0a5f66c303074796dab8b1ca5c4a5.tar.gz vyos-1x-9ff74d4370f0a5f66c303074796dab8b1ca5c4a5.zip |
openconnect: T4982: Support defining minimum TLS version in openconnect VPN
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/tls-version-min.xml.i | 29 | ||||
-rw-r--r-- | interface-definitions/include/version/openconnect-version.xml.i | 2 |
2 files changed, 30 insertions, 1 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 --> diff --git a/interface-definitions/include/version/openconnect-version.xml.i b/interface-definitions/include/version/openconnect-version.xml.i index 654806278..15097eebe 100644 --- a/interface-definitions/include/version/openconnect-version.xml.i +++ b/interface-definitions/include/version/openconnect-version.xml.i @@ -1,3 +1,3 @@ <!-- include start from include/version/openconnect-version.xml.i --> -<syntaxVersion component='openconnect' version='2'></syntaxVersion> +<syntaxVersion component='openconnect' version='3'></syntaxVersion> <!-- include end --> |