nanog mailing list archives
Re: IPv6 Netowrk Device Numbering BP
From: Joe Abley <jabley () hopcount ca>
Date: Thu, 1 Nov 2012 10:51:49 -0400
On 2012-11-01, at 10:27, Sander Steffann <sander () steffann nl> wrote:
You really shouldn't need to parse these and it's perfectly valid to reject them as invalid input. This really is an output only format [...]I don't agree. I think it's actually the other way around. It's a valid representation of an IPv6 address so you be able to parse them. You don't need to be able to output them though.
The active advice from the IETF on this topic would seem to be RFC 5952 as updated by RFC 5952. RFC 5952 specifies (in section 5) that the least-significant 32 bits MAY be written in dotted-quad notation if "it is known by some external method that a given prefix is used to embed IPv4". People who make use of a general-purpose v6 addressing plans which incorporate mapped v4 addresses in the lower 32 bits fit clearly into this category, I would think. 5952 is silent on the distinction between parsing such addresses and using them in output. I don't see any justification in the standards for rejecting v4-mapped addresses on input. For what that's worth. I agree that this adds a step to input validation, and that using standard libraries for this stuff is a good idea. Joe
Current thread:
- Re: IPv6 Netowrk Device Numbering BP Eugeniu Patrascu (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Masataka Ohta (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Zachary Giles (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Nick Hilliard (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Owen DeLong (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Sander Steffann (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Joe Abley (Nov 01)
- Re: mail-abuse.org down? Alexander Maassen (Nov 04)
- Re: mail-abuse.org down? Suresh Ramasubramanian (Nov 04)
- Re: mail-abuse.org down? Tom Paseka (Nov 04)
- Re: IPv6 Netowrk Device Numbering BP Masataka Ohta (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Chip Marshall (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Owen DeLong (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Karl Auer (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Owen DeLong (Nov 01)
- Re: IPv6 Netowrk Device Numbering BP Tore Anderson (Nov 02)
- Re: IPv6 Netowrk Device Numbering BP Owen DeLong (Nov 02)
- Re: IPv6 Netowrk Device Numbering BP Tore Anderson (Nov 03)