Project

General

Profile

Bug #8024

static ipv6 config allow invalid addresses

Added by Sorin Sbarnea about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
Target version:
Start date:
10/29/2017
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.1
Affected Architecture:
All

Description

I discovered that the ipv6 static address allows user to insert invalid values and allows saving them. Due to this other services may fail (like DNS resolver).

Example of invalid values accepted:
2a02:8010:6666:33::/48
2a02:8010:6666:33:1:1

Example of valid address:
2a02:8010:6666:33::

Validation of IP address should be made in order to avoid wasting many hours later.

Associated revisions

Revision d1630d95 (diff)
Added by Luiz Souza about 2 years ago

Check the correct variable.

All the IPv6 verification code block was being ignored before this commit.

Ticket #8024

Revision 2f87470c (diff)
Added by Luiz Souza about 2 years ago

Make is_ipaddrv6() compatible with is_ipaddrv4().

Only the IP address must be accepted, address with netmasks do not qualify.

Ticket #8024

Revision deccebcf (diff)
Added by Luiz Souza about 2 years ago

Check the correct variable.

All the IPv6 verification code block was being ignored before this commit.

Ticket #8024

(cherry picked from commit d1630d957c27b85a59bfa4492a40872cd9c94770)

Revision c2b91018 (diff)
Added by Luiz Souza about 2 years ago

Make is_ipaddrv6() compatible with is_ipaddrv4().

Only the IP address must be accepted, address with netmasks do not qualify.

Ticket #8024

(cherry picked from commit 2f87470c84c2fa3ad5d4b3f627d2d58051ca57ec)

History

#1 Updated by Luiz Souza about 2 years ago

  • Assignee set to Luiz Souza

#2 Updated by Luiz Souza about 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Fixed.

Please check with tomorrow's snapshot.

Thanks!

#3 Updated by Luiz Souza about 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF