Discussion:
[Netdot-devel] [Netdot - Bug #1909] (New) ip6.arpa zone does not correctly map to address space when prefix isn't divisible by 16
r***@osl.uoregon.edu
2017-01-04 22:44:15 UTC
Permalink
Issue #1909 has been reported by Matt Zagrabelny.

----------------------------------------
Bug #1909: ip6.arpa zone does not correctly map to address space when prefix isn't divisible by 16
https://osl.uoregon.edu/redmine/issues/1909

Author: Matt Zagrabelny
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:


Greetings,

We have a v6 prefix:

2607:ea00:0200::/40

When creating the ip6.arpa zone: 2.0.0.0.a.e.7.0.6.2.ip6.arpa, Netdot incorrectly maps this zone to: 2607:ea00::/40

The reason is due to the subroutine _dot_arpa_to_ip does not push the final 8 bits "02" onto the v6 address before joining the groups.

Attached is a fix - though I still am unable to generate PTRs for our /40. I will keep digging.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://osl.uoregon.edu/redmine/my/account
r***@osl.uoregon.edu
2017-01-05 16:34:55 UTC
Permalink
Issue #1909 has been updated by Matt Zagrabelny.


PR submitted.
----------------------------------------
Bug #1909: ip6.arpa zone does not correctly map to address space when prefix isn't divisible by 16
https://osl.uoregon.edu/redmine/issues/1909#change-3372

Author: Matt Zagrabelny
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:


Greetings,

We have a v6 prefix:

2607:ea00:0200::/40

When creating the ip6.arpa zone: 2.0.0.0.a.e.7.0.6.2.ip6.arpa, Netdot incorrectly maps this zone to: 2607:ea00::/40

The reason is due to the subroutine _dot_arpa_to_ip does not push the final 8 bits "02" onto the v6 address before joining the groups.

Attached is a fix - though I still am unable to generate PTRs for our /40. I will keep digging.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://osl.uoregon.edu/redmine/my/account
Loading...