Project

General

Profile

Actions

Bug #7789

closed

GIF interface page does not validate IPv6 addresses

Added by Greg Toombs over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
08/21/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.4_1
Affected Architecture:
amd64

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.

Actions #1

Updated by Jim Pingle over 4 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.

Actions #2

Updated by Jim Pingle over 4 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle about 4 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 2.3.4-p2 to 2.3.5
Actions

Also available in: Atom PDF