Bug 1122440 - Should not accept the some incorrect format ip address as DNS/Rsyslog server address
Summary: Should not accept the some incorrect format ip address as DNS/Rsyslog server ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.5.0
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-23 09:17 UTC by wanghui
Modified: 2016-07-04 00:39 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-23 15:43:18 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description wanghui 2014-07-23 09:17:09 UTC
Description of problem:
It should not accept the incorrect format ip address as DNS server address. The incorrect format ip address like "2001::1.0.0.1".

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20140624.0.el6ev
ovirt-node-3.0.1-18.el6_5.11.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHEV-H 6.5-20140624.0.el6ev
2. Enabled network.
3. Set DNS/Rsyslog server address as 2001::1.0.0.1

Actual results:
1. It can save the DNS/Rsyslog server address as 2001::1.0.0.1.

Expected results:
1. It should not accept the DNS/Rsyslog server address like the format as 2001::1.0.0.1.

Additional info:

Comment 1 Ryan Barry 2014-07-23 15:43:18 UTC
2001::1.0.0.1 is actually a valid IPv6 address.

Granted, it's an IPv4-compatibile IPv6 address used for unicasting, but valid nonetheless.

Similarly:

2001::ffff:1.1.1.1
2001:1::ffff:1.1.1.1
2001:f::2:1:1.1.1.1

And other variations thereof are also valid ipv6. RFC 2372 and 2373 are confusing, but the range of valid ipv6 addresses is enormous, and includes many things which don't look right to allow for ipv4-compatible addressing.

http://v6decode.com is probably the friendliest and most complete validator I've come across, if you're curious.


Note You need to log in before you can comment on or make changes to this bug.