mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wireguard: adjust naming validation (#3102)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= wireguard
|
||||
PLUGIN_VERSION= 1.11
|
||||
PLUGIN_VERSION= 1.12
|
||||
PLUGIN_COMMENT= WireGuard VPN service
|
||||
PLUGIN_DEPENDS= wireguard-go wireguard-tools
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -16,6 +16,10 @@ WWW: https://www.wireguard.com/
|
||||
Changelog
|
||||
---------
|
||||
|
||||
1.12
|
||||
|
||||
* Adjust validation for naming local instance and endpoints
|
||||
|
||||
1.11
|
||||
|
||||
* Add script for renewal of Wireguard DNS-based entries for stale connections (#2956)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/wireguard/client</mount>
|
||||
<description>Wireguard Client configuration</description>
|
||||
<version>0.0.6</version>
|
||||
<version>0.0.7</version>
|
||||
<items>
|
||||
<clients>
|
||||
<client type="ArrayField">
|
||||
@@ -9,9 +9,11 @@
|
||||
<default>1</default>
|
||||
<Required>Y</Required>
|
||||
</enabled>
|
||||
<name type="HostnameField">
|
||||
<name type="TextField">
|
||||
<default></default>
|
||||
<Required>Y</Required>
|
||||
<mask>/^([0-9a-zA-Z._\-]){1,64}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 64 characters. Allowed characters are alphanumeric characters, dash and underscores.</ValidationMessage>
|
||||
</name>
|
||||
<pubkey type="Base64Field">
|
||||
<Required>Y</Required>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/wireguard/server</mount>
|
||||
<description>Wireguard Server configuration</description>
|
||||
<version>0.0.3</version>
|
||||
<version>0.0.4</version>
|
||||
<items>
|
||||
<servers>
|
||||
<server type="ArrayField">
|
||||
@@ -12,8 +12,8 @@
|
||||
<name type="TextField">
|
||||
<default></default>
|
||||
<Required>Y</Required>
|
||||
<mask>/^([0-9a-zA-Z]){1,32}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 32 characters. Allowed characters are 0-9, a-z, and A-Z</ValidationMessage>
|
||||
<mask>/^([0-9a-zA-Z._\-]){1,64}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 64 characters. Allowed characters are alphanumeric characters, dash and underscores.</ValidationMessage>
|
||||
</name>
|
||||
<instance type="AutoNumberField">
|
||||
<Required>Y</Required>
|
||||
|
||||
Reference in New Issue
Block a user