diff options
author | Kim Hagen <kim@sentrium.io> | 2021-09-01 14:09:55 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-09-01 14:09:55 -0500 |
commit | 02b6370c3cd1b580b0140deed6c250a682c3a4eb (patch) | |
tree | 4a8113bcdf19b8edd8c00a44e5913ca77c1d6a07 /interface-definitions/interfaces-openvpn.xml.in | |
parent | 6748dbe0100cfedf1b2f00884899e71729bfa9f3 (diff) | |
download | vyos-1x-02b6370c3cd1b580b0140deed6c250a682c3a4eb.tar.gz vyos-1x-02b6370c3cd1b580b0140deed6c250a682c3a4eb.zip |
more 2fa changes
Diffstat (limited to 'interface-definitions/interfaces-openvpn.xml.in')
-rw-r--r-- | interface-definitions/interfaces-openvpn.xml.in | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in index 1a07e7d91..b9575595c 100644 --- a/interface-definitions/interfaces-openvpn.xml.in +++ b/interface-definitions/interfaces-openvpn.xml.in @@ -648,32 +648,71 @@ <leafNode name="slop"> <properties> <help>Maximum allowed clock slop in seconds (default: 180)</help> + <valueHelp> + <format>1-65535</format> + <description>Seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> </properties> <defaultValue>180</defaultValue> </leafNode> <leafNode name="t0"> <properties> <help>time drift in seconds (default: 0)</help> + <valueHelp> + <format>1-65535</format> + <description>Seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> </properties> <defaultValue>0</defaultValue> </leafNode> <leafNode name="step"> <properties> <help>Step value for TOTP in seconds (default: 30)</help> + <valueHelp> + <format>1-65535</format> + <description>Seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> </properties> <defaultValue>30</defaultValue> </leafNode> <leafNode name="digits"> <properties> <help>Number of digits to use from TOTP hash (default: 6)</help> + <valueHelp> + <format>1-65535</format> + <description>Seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> </properties> <defaultValue>6</defaultValue> </leafNode> <leafNode name="challenge"> <properties> <help>expect password as result of a challenge response protocol (default: enabled)</help> + <completionHelp> + <list>disable enable</list> + </completionHelp> + <valueHelp> + <format>disable</format> + <description>Disable challenge response (default)</description> + </valueHelp> + <valueHelp> + <format>enable</format> + <description>Enable chalenge response (default)</description> + </valueHelp> <constraint> - <regex>^(enable|disable)$</regex> + <regex>^(disable|enable)$</regex> </constraint> </properties> <defaultValue>enable</defaultValue> |