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

Re: [BUG] svn 1.2.x cannot reach dual-stack svnserve with IPv4

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-07-17 00:56:39 CEST

On Sat, 2005-07-16 at 14:19 +0300, Rémi Denis-Courmont wrote:
> Hello,
> As of version 1.2.0, the svn client tries to connect to svnserve over
> IPv6 if it is advertised in the DNS. However, the client fails to
> fallback properly to IPv4 when IPv6 is not available.
> I'm using these :
> Subversion 1.2.0
> APR 2.0.54
> Neon 0.24.7
> Admittedly not the most recent versions, but there's no mention ipv6 in
> the ChangeLog for 1.2.1.
> The problem can easily be reproduced as follow :
> basile.via.ecp.fr is a dual-stack server running svnserve :
> basile.via.ecp.fr has IPv6 address 2002:8ac3:802d:1242:250:4ff:fe4c:ae54
> basile.via.ecp.fr has address
> On an IPv6-only host or dual-stack host, everything works fine :
> % svn ls svn://basile.via.ecp.fr/miredo
> branches/
> tags/
> trunk/
> However, on an dual-stack host with *no* IPv6 connectivity, it fails :
> % svn ls svn://basile.via.ecp.fr/miredo
> svn: Can't connect to host 'basile.via.ecp.fr': Network is unreachable
> It works fine with subversion 1.0.x. Correct semantic for dual-stack
> client programs trying to contact dual-stack servers consists of trying
> to use IPv6 and then IPv4 if IPv6 fails. svn doesn't try IPv4.
> As a consequence, it is not possible to use svn 1.2.x from IPv4-only
> hosts to reach dual-stack servers.

I'm tempted to just give up any pretense of ipv6 support and remove the
existing code that deals with it in svnserve.
It seems it's been a lot more trouble than it's worth, because things
like to tell us about ipv6 addresses, etc, when the actual machine can't
support it.

Maybe in 5 or 6 years when someone gets this right we should

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 17 00:57:23 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.