Bug #7789
closedGIF interface page does not validate IPv6 addresses
100%
Description
The following field (and maybe others) seem not to be properly validated:
GIF tunnel local address
GIF tunnel remote address
I entered a "/64" at the end of both of these fields, and it appeared to save successfully, but then failed at this step:
php-fpm 12554 /system.php: The command '/sbin/route change -host -inet6 2001:xxx:xx::2 2001:xxx:xxxx:xxx::1/64' returned exit code '71', the output was 'route: 2001:xxx:xxxx:xxx::1/64: hostname nor servname provided, or not known'
Fixing my mistake - removing /64 from those fields, disabling and re-enabling the gateway - fixed the problem; but it should have been caught sooner, at the GIF page.
Updated by Jim Pingle over 7 years ago
- Category changed from Gateways to Interfaces
- Status changed from New to Confirmed
- Assignee set to Jim Pingle
- Target version set to 2.3.4-p2
It is validating IPv4/IPv6 addresses but it also happens to also validate subnets as valid addresses. I'll push a fix momentarily.
Updated by Jim Pingle over 7 years ago
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Applied in changeset 6d028dc26c129ce1b0b25551142819772664f1e5.
Updated by Jim Pingle about 7 years ago
- Status changed from Feedback to Resolved
- Target version changed from 2.3.4-p2 to 2.3.5