Relax validators of IPsec tunnel id fields
In nethserver-ipsec-1.1.3-1.ns6 the validator of "Local Id" and "Remote Id" fields allows only IP or an domain name prefixed with
Some firewalls, like zywall, allow also email. Relax the validator to allow any string of less than 64 characters length.
#4 Updated by Filippo Carletti almost 4 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
I verified the issue on a system where I created a tunnel with nethserver-ipsec-1.2, at time I used an fqdn as leftid without the @ prefix.
When I received the updated nethserver-ipsec-1.3 and tried to modify the tunnel I got the following validation error:
IPv4 valid address
An host name prepended with "@", or IP address
Then I updated to:
Updated: nethserver-ipsec.noarch 0:1.1.3-1.2.g249f62e.ns6
and tried again to save the tunnel: everything proceeded and the ipsec.conf contains the leftid value I used.