Actions
Bug #1661
closedMissing input validation in system_routes_edit.php
Start date:
07/10/2011
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1-IPv6
Affected Architecture:
Description
system_routes_edit.php doesn't validate that the gateway selected is the same protocol as the entered "Destination network". Routes to an IPv4 network can't be added to an IPv6 gateway nor vice versa. If an IPv4 gateway is chosen, the "Destination network" must be an IPv4 subnet (including a valid v4 subnet mask, > 32 only valid with v6). If an IPv6 gateway is chosen, the "Destination network" must be an IPv6 subnet.
Updated by Seth Mos over 13 years ago
Will fix, same javascript helper from firewall rules and DNS server settings (gateway) would apply.
Updated by Seth Mos over 13 years ago
- Status changed from New to Feedback
Code with address family validation checked in, please test.
Updated by Seth Mos almost 13 years ago
- Status changed from Feedback to Resolved
Actions