IPv6 proxy support is broken

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
5 years ago

People

(Reporter: Yuan Pengfei, Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111110174559

Steps to reproduce:

I set proxy of firefox to something like "ipv6.google.com".


Actual results:

The browser failed to connect to the proxy until serveral manual refreshes.


Expected results:

Proxy server should be immediately connected.

P.S. If I set proxy to 2404:6800:8005::68 (IP address of ipv6.google.com), the problem does not exist.

Comment 1

7 years ago
ipv6.google.com is a proxy ???
(Reporter)

Comment 2

7 years ago
(In reply to Jo Hermans from comment #1)
> ipv6.google.com is a proxy ???

This is just for example.
In fact, ipv6.google.com can be used to proxy almost all google services, which is widely used in China to cross the Great Firewall.
Up to now, ipv6 proxy support in the latest mozilla central is still broken. What I get is a "Unable to find the proxy server" message.

Comment 3

7 years ago
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111114 Firefox/11.0a1

Using ipv6.google.com as proxy works for me within Google, but ipv6.google.com resolves as 2a00:1450:4010:c00::69, not 2404:6800:8005::68. BTW, using 2404:6800:8005::68 also works for me.

$ dig ipv6.google.com aaaa +short
ipv6.l.google.com.
2a00:1450:4010:c00::69
(Reporter)

Comment 4

7 years ago
(In reply to Thomas Ahlblom from comment #3)
> Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
> Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111114 Firefox/11.0a1
> 
> Using ipv6.google.com as proxy works for me within Google, but
> ipv6.google.com resolves as 2a00:1450:4010:c00::69, not 2404:6800:8005::68.
> BTW, using 2404:6800:8005::68 also works for me.
> 
> $ dig ipv6.google.com aaaa +short
> ipv6.l.google.com.
> 2a00:1450:4010:c00::69

Will you please try on Windows?
The problem might be platform-specific.
Not only ipv6.google.com, support for other ipv6 proxies is also broken. Even if I use Firefox downloaded from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/ with a clean profile.

Comment 5

7 years ago
WFM on Windows Server 2008 R2:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:11.0a1) Gecko/20111115 Firefox/11.0a1


Yuan, what's the output from the following three commands:

nslookup ipv6.google.com

ping ipv6.google.com

ping -6 ipv6.google.com
(Reporter)

Comment 6

7 years ago
(In reply to Thomas Ahlblom from comment #5)
> WFM on Windows Server 2008 R2:
> Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
> Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:11.0a1) Gecko/20111115
> Firefox/11.0a1
> 
> 
> Yuan, what's the output from the following three commands:
> 
> nslookup ipv6.google.com
> 
> ping ipv6.google.com
> 
> ping -6 ipv6.google.com

The output is normal. 
I don't think it's the problem of network connection because using the same proxy in IE, Opera & Chrome is fine. And using the ipv6 address instead of the domain name is also fine.
There is no problem with Firefox 8.0 either.

P.S. ipv6.google.com is just for example. The proxy I use is www.dongtaiwang6.com:80 (http, https & ftp).

Comment 7

7 years ago
(In reply to Yuan Pengfei from comment #6)
> The output is normal. 

Does that mean "ping ipv6.google.com" works for you both with and without "-6"?

Are you able to access http://ipv6.google.com and http://www.dongtaiwang6.com in Firefox without using a proxy?

Do you have native IPv6 support or do you connect via a Teredo tunnel or something else?

I've tested www.dongtaiwang6.com:80 as proxy with:
Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111115 Firefox/11.0a1

It works mostly, but sometimes I do get:
Unable to find the proxy server
Firefox is configured to use a proxy server that can't be found.
(Reporter)

Comment 8

7 years ago
(In reply to Thomas Ahlblom from comment #7)
> (In reply to Yuan Pengfei from comment #6)
> > The output is normal. 
> 
> Does that mean "ping ipv6.google.com" works for you both with and without
> "-6"?
Yes.

> 
> Are you able to access http://ipv6.google.com and
> http://www.dongtaiwang6.com in Firefox without using a proxy?
> 
Yes.

> Do you have native IPv6 support or do you connect via a Teredo tunnel or
> something else?
Native IPv6 support in CERNET.

> 
> I've tested www.dongtaiwang6.com:80 as proxy with:
> Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111115 Firefox/11.0a1
> 
> It works mostly, but sometimes I do get:
> Unable to find the proxy server
> Firefox is configured to use a proxy server that can't be found.
This is the problem. It never happens in Firefox 8.0 or other browsers.
You need to log in before you can comment on or make changes to this bug.