From 80ecb1b7aaab47edeb355c3b74a763e940d88179 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 29 Apr 2022 19:51:50 +0200 Subject: xml: T4047: use full string match in the regex validator --- interface-definitions/vpn_ipsec.xml.in | 36 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'interface-definitions/vpn_ipsec.xml.in') diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index a86951ce8..555ba689f 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -37,7 +37,7 @@ Enable ESP compression - ^(disable|enable)$ + (disable|enable) disable @@ -94,7 +94,7 @@ Transport mode - ^(tunnel|transport)$ + (tunnel|transport) tunnel @@ -202,7 +202,7 @@ Disable PFS - ^(enable|dh-group1|dh-group2|dh-group5|dh-group14|dh-group15|dh-group16|dh-group17|dh-group18|dh-group19|dh-group20|dh-group21|dh-group22|dh-group23|dh-group24|dh-group25|dh-group26|dh-group27|dh-group28|dh-group29|dh-group30|dh-group31|dh-group32|disable)$ + (enable|dh-group1|dh-group2|dh-group5|dh-group14|dh-group15|dh-group16|dh-group17|dh-group18|dh-group19|dh-group20|dh-group21|dh-group22|dh-group23|dh-group24|dh-group25|dh-group26|dh-group27|dh-group28|dh-group29|dh-group30|dh-group31|dh-group32|disable) enable @@ -246,7 +246,7 @@ Attempt to re-negotiate the connection immediately - ^(none|hold|restart)$ + (none|hold|restart) @@ -274,7 +274,7 @@ Attempt to re-negotiate the connection immediately - ^(hold|clear|restart)$ + (hold|clear|restart) @@ -321,7 +321,7 @@ Disable remote host re-authenticaton during an IKE rekey - ^(yes|no)$ + (yes|no) @@ -340,7 +340,7 @@ Use IKEv2 for key exchange - ^(ikev1|ikev2)$ + (ikev1|ikev2) @@ -372,7 +372,7 @@ Disable MOBIKE - ^(enable|disable)$ + (enable|disable) enable @@ -392,7 +392,7 @@ Use the aggressive mode (insecure, not recommended) - ^(main|aggressive)$ + (main|aggressive) main @@ -501,7 +501,7 @@ Diffie-Hellman group 32 (curve448) - ^(1|2|5|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32)$ + (1|2|5|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32) 2 @@ -628,7 +628,7 @@ Any subsystem - ^(dmn|mgr|ike|chd|job|cfg|knl|net|asn|enc|lib|esp|tls|tnc|imc|imv|pts|any)$ + (dmn|mgr|ike|chd|job|cfg|knl|net|asn|enc|lib|esp|tls|tnc|imc|imv|pts|any) @@ -747,7 +747,7 @@ Use EAP-RADIUS authentication - ^(eap-tls|eap-mschapv2|eap-radius)$ + (eap-tls|eap-mschapv2|eap-radius) eap-mschapv2 @@ -768,7 +768,7 @@ Use x.509 certificate - ^(pre-shared-secret|x509)$ + (pre-shared-secret|x509) x509 @@ -840,7 +840,7 @@ Delete any existing connection if a new one for the same user gets established - ^(never|keep|replace)$ + (never|keep|replace) @@ -976,7 +976,7 @@ Use x.509 certificate - ^(pre-shared-secret|rsa|x509)$ + (pre-shared-secret|rsa|x509) @@ -1017,7 +1017,7 @@ Load the connection only - ^(initiate|respond|none)$ + (initiate|respond|none) @@ -1046,7 +1046,7 @@ Do not force UDP encapsulation - ^(enable|disable)$ + (enable|disable) @@ -1070,7 +1070,7 @@ Inherit the reauth configuration form your IKE-group - ^(yes|no|inherit)$ + (yes|no|inherit) -- cgit v1.2.3