From a6831b208ca431c323904949285f0205f342d4fb Mon Sep 17 00:00:00 2001 From: hagbard Date: Sat, 1 Sep 2018 09:16:25 -0700 Subject: T427,T793 wireguard support - regex added to check endpoint as pattern IP:port - T793: preparation for the use preshared key --- interface-definitions/wireguard.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml index cf25124fa..e325c5df9 100644 --- a/interface-definitions/wireguard.xml +++ b/interface-definitions/wireguard.xml @@ -87,6 +87,15 @@ Key is not valid 44-character (32-bytes) base64 + + + + base64 encoded preshared key + + ^[0-9a-zA-Z\+/]{43}=$ + + Key is not valid 44-character (32-bytes) base64 + @@ -98,6 +107,10 @@ Remote endpoint + + :[1-6][0-9]{3,4}$ + + invalid endpoint setting (IP:port) -- cgit v1.2.3