You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/11/12 14:19:49 UTC
DO NOT REPLY [Bug 46195] New: ProxyPass fails with literal IPv6
address
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
Summary: ProxyPass fails with literal IPv6 address
Product: Apache httpd-2
Version: 2.2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: chaz@chaz6.com
When using ProxyPass with a URL containing a literal IPv6 address, for example
'ProxyPass /google/ http://[2001:4860:0:1001::68]/', the web server returns a
400 Bad Request.
A workaround is to add a dummy entry to /etc/hosts, for example,
'2001:4860:0:1001::68 dummy-google-ipv6', and adding 'ProxyPass /google/
http://dummy-google-ipv6/' to the configuration.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
--- Comment #3 from Nick Kew <ni...@webthing.com> 2010-11-17 14:54:37 EST ---
Diagnosis for the record: apr_sockaddr_info_get is being passed flags of 0 in
proxy_util.c at line 2134 of proxy_util.c (2.2.17). Passing it
APR_IPV6_ADDR_OK fixes it.
Don't have time right now to figure out whether this is a correct or a
coincidental fix, and apply it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
--- Comment #4 from Stefan Fritsch <sf...@sfritsch.de> 2012-01-08 18:01:25 UTC ---
(In reply to comment #3)
> Diagnosis for the record: apr_sockaddr_info_get is being passed flags of 0 in
> proxy_util.c at line 2134 of proxy_util.c (2.2.17). Passing it
> APR_IPV6_ADDR_OK fixes it.
It passes family APR_UNSPEC, i.e. APR_IPV6_ADDR_OK should only change which
addresses are returned first, not if they are returned at all. If
apr_sockaddr_info_get() doesn't return v6 addresses without APR_IPV6_ADDR_OK
that would be a bug in apr.
On the other hand, apr passes AI_ADDRCONFIG to getaddrinfo() in this case, so
glibc's rather broken algorithm for checking IPv6 support could also be at
fault (at least on Linux).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
info@coeus.si changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |info@coeus.si
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
Nick Kew <ni...@webthing.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Nick Kew <ni...@webthing.com> 2010-02-12 08:08:50 UTC ---
*** This bug has been marked as a duplicate of bug 47177 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
Craig <ca...@integralblue.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |candrews@integralblue.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195
info@coeus.si changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |
--- Comment #2 from info@coeus.si 2010-11-17 13:46:56 EST ---
When trying to configure the following (2.2.17 on Win Server 2008):
ProxyPass / http://[::1]:8020/
ProxyPassReverse / http://[::1]:8020/
it produces the following error:
[Wed Nov 17 07:34:51 2010] [error] [client 95.87.153.77] proxy: DNS lookup
failure for: [::1]]:802 returned by /
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org