[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: IPv6 URL support in SVN? v1.8.4 works with IPv4, not with IPv6

From: Branko Čibej <brane_at_wandisco.com>
Date: Sat, 02 Nov 2013 21:25:54 +0100

On 02.11.2013 21:06, darx_at_sent.com wrote:
> On Sat, Nov 2, 2013, at 10:55 AM, Mark Phippard wrote:
>> I believe support for IPv6 in the SVN client is based solely on how the
>> APR library was compiled. It has to have IPv6 support compiled in as it
>> does the TCP connections etc.
> It appears to be a problem with SVN's ability to name-resolve, not
> whether it's IPv6 enabled.
>
> (1) resolv.conf -> IPv4, packaged svn co @ URL-target
> ====> OK
> (2) resolv.conf -> IPv6, packaged svn co @ URL-target
> ====> FAIL
> (3) resolv.conf -> IPv4, built-from-src svn co @ URL-target
> ====> OK
> (4) resolv.conf -> IPv6, built-from-src svn co @ URL-target
> ====> FAIL
> (5) resolv.conf -> IPv4, packaged svn co @ IPv4-address-target
> ====> OK
> (6) resolv.conf -> IPv6, packaged svn co @ IPv4-address-target
> ====> OK
> (7) resolv.conf -> IPv4, built-from-src svn co @ IPv6-address-target
> ====> OK
> (8) resolv.conf -> IPv6, built-from-src svn co @ IPv6-address-target
> ====> OK
>
> I.e., SVN's name-resolution of URL-targets FAILs when resolv.conf points
> to IPv6 nameserver IPs. NOT an issue of whether apr's IPv6-enabled.

It is either an APR issue, or a packaging issue. APR's
apr_sockaddr_info_get function, which Subversion uses to resolve a
hostname, does not have a flag to enable or disable IPv6 DNS lookups.
All your list above proves is that your APR does not support DNS lookups
to IPv6 name servers. I don't know whether this is a general limitation
of APR, or whether your particular version of APR is too old, or
compiled in a way that those lookups are disabled. In any case, I
suggest you take that question to the APR developers; it's
dev_at_apr.apache.org.

But please be prepared to give a bit more information about your
environment, starting with your OS version and APR version.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-11-02 21:26:29 CET

This is an archived mail posted to the Subversion Users mailing list.