denoting IPv6 addresses and ports

Joris Dobbelsteen joris.dobbelsteen@mail.com
Sun, 18 Feb 2001 18:34:06 +0100


>-----Original Message-----
>From: owner-6bone@ISI.EDU [mailto:owner-6bone@ISI.EDU]On Behalf Of
>itojun@iijlab.net
>Sent: Thursday, 15 February 2001 1:45
>To: wmaton@ryouko.dgim.crc.ca
>Cc: 6bone@ISI.EDU
>Subject: Re: denoting IPv6 addresses and ports
>
>
>
>>expresses an IPv6 literal for a URL, while writting this:
>>	 [3ffe:456:45e::34]:23
>>would be clear to someone as meaning the telnet port at address
>>3ffe:456:45e::34?
>
>	though there are uses like above in some configuration files for
>	softwares, i personally don't think it too widely accepted.
>	I'd write:
>		3ffe:456:45e::34 port 23
>
>itojun
>

The style to send IPv6 addresses was (BNF-like format):

IPv6-in-URL = "[" IPv6-Addr "]" [ ":" Port ]
IPv6-Addr = ... You know...
Port = 1*digit

This style was a requirement. As for HTTP-WG where such questions was, it's
not allowed to send IPv6 addresses without the "[" "]" surrounding it.
Probably a flexible IPv6 Address interpreter can still read these.


- Joris