diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-10-31 15:09:58 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-10-31 15:10:39 +0100 |
commit | 22c3dcbb01d731f0dab0ffefa2e5a0be7009baf1 (patch) | |
tree | c7a5308cd7426c357dde5586e9ead79463475c4b /interface-definitions/include/radius-timeout.xml.i | |
parent | 2291f4c7a967bdc81fb19e89f27fb378b2ecd09b (diff) | |
download | vyos-1x-22c3dcbb01d731f0dab0ffefa2e5a0be7009baf1.tar.gz vyos-1x-22c3dcbb01d731f0dab0ffefa2e5a0be7009baf1.zip |
ipsec: T4787: add support for road-warrior/remote-access RADIUS timeout
This enabled users to also use 2FA/MFA authentication with a radius backend as
there is enough time to enter the second factor.
Diffstat (limited to 'interface-definitions/include/radius-timeout.xml.i')
-rw-r--r-- | interface-definitions/include/radius-timeout.xml.i | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/radius-timeout.xml.i b/interface-definitions/include/radius-timeout.xml.i new file mode 100644 index 000000000..22bb6d312 --- /dev/null +++ b/interface-definitions/include/radius-timeout.xml.i @@ -0,0 +1,16 @@ +<!-- include start from radius-timeout.xml.i --> +<leafNode name="timeout"> + <properties> + <help>Session timeout</help> + <valueHelp> + <format>u32:1-240</format> + <description>Session timeout in seconds (default: 2)</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-240"/> + </constraint> + <constraintErrorMessage>Timeout must be between 1 and 240 seconds</constraintErrorMessage> + </properties> + <defaultValue>2</defaultValue> +</leafNode> +<!-- include end --> |