Actions
Bug #7565
closedopenvpn and port 0
Start date:
05/20/2017
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All
Description
openvpn_validate_port() has:
if (empty($value ...
so when passing zero to it complains
(because empty(0) is FALSE):
"The field 'Local port' must contain a valid port, ranging from 0 to 65535"
While I would want it to check for not 0,
the above says zero is okay and the
vpn_openvpn_server.php addInput form for it allows it.
make fix in both places.
Updated by Jim Pingle over 7 years ago
- Category changed from VPN (Multiple Types) to OpenVPN
- Status changed from New to Assigned
- Assignee set to Jim Pingle
- Target version set to 2.4.0
- Affected Version set to All
- Affected Architecture All added
- Affected Architecture deleted (
)
Server shouldn't allow 0, but for clients, 0 is the same as blank/empty so that's OK. Needs to reflect the proper range for server ports.
Updated by Jim Pingle over 7 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Applied in changeset 39fed386534d3e7dc6fc248cc6cdf831cf422000.
Actions