IPv6 bug

I am sorry but my English is poor, I can’t discribe this problem
clearly.

There is a screen to show you this bug:

[2001:470:1f05:117a::80] is running with apache 2.2.16 , and
[2001:4858:aaaa:1:1::80] is running with nginx 0.8.52.
“test” is a folder in document root.

Posted at Nginx Forum:

Hello!

On Tue, Nov 16, 2010 at 10:18:03AM -0500, newphp wrote:

“test” is a folder in document root.
Yes, thank you for your report. IPv6 address literals indeed aren’t
supported and nginx misinterprets ‘:’ in them as port separator.

Somebody should write a patch… not sure I have time to, though
I’ll leave your message flagged in my inbox.

Maxim D.

On Wed, Nov 17, 2010 at 02:41:18PM +0300, Maxim D. wrote:

[2001:470:1f05:117a::80] is running with apache 2.2.16 , and
[2001:4858:aaaa:1:1::80] is running with nginx 0.8.52.
“test” is a folder in document root.

Yes, thank you for your report. IPv6 address literals indeed aren’t
supported and nginx misinterprets ‘:’ in them as port separator.

Somebody should write a patch… not sure I have time to, though
I’ll leave your message flagged in my inbox.

Are you sure that http://[2001:4858:aaaa:1:1::80]:80/ is common
URL presetnation with IPv6 literal ?


Igor S.
http://sysoev.ru/en/

On Wed, Nov 17, 2010 at 7:00 PM, Igor S. [email protected] wrote:

Are you sure that http://[2001:4858:aaaa:1:1::80]:80/ is common
URL presetnation with IPv6 literal ?

rfc2732:

  1. Literal IPv6 Address Format in URL’s Syntax

    To use a literal IPv6 address in a URL, the literal address should be
    enclosed in “[” and “]” characters. For example the following
    literal IPv6 addresses:

    FEDC:BA98:7654:3210:FEDC:BA98:7654:3210
    1080:0:0:0:8:800:200C:4171
    3ffe:2a00:100:7031::1
    1080::8:800:200C:417A
    ::192.9.5.5
    ::FFFF:129.144.52.38
    2010:836B:4179::836B:4179

    would be represented as in the following example URLs:

    http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
    http://[1080:0:0:0:8:800:200C:417A]/index.html
    http://[3ffe:2a00:100:7031::1]
    http://[1080::8:800:200C:417A]/foo
    http://[::192.9.5.5]/ipng
    http://[::FFFF:129.144.52.38]:80/index.html
    http://[2010:836B:4179::836B:4179]


O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

On Wed, Nov 17, 2010 at 07:11:29PM +0700, Edho P Arief wrote:

enclosed in “[” and “]” characters. For example the following
would be represented as in the following example URLs:

  http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
  http://[1080:0:0:0:8:800:200C:417A]/index.html
  http://[3ffe:2a00:100:7031::1]
  http://[1080::8:800:200C:417A]/foo
  http://[::192.9.5.5]/ipng
  http://[::FFFF:129.144.52.38]:80/index.html
  http://[2010:836B:4179::836B:4179]

OK, thank you.


Igor S.
http://sysoev.ru/en/