You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by James Cloos <cl...@jhcloos.com> on 2012/07/18 19:45:33 UTC
How to prefer ipv4 over ipv6?
Can one configure the subversion clients to prefer ipv4 over ipv6 when
both route to the target server?
I presume, if so, that it would be done via --config-option, yes?
I'm on 1.7.5, with neon for webdav.
I see that svnserve prefers ipv4 and has an option to instead prefer
ipv6, but I haven't found anything for the clients, yet.
Thanks,
-JimC
--
James Cloos <cl...@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
Re: How to prefer ipv4 over ipv6?
Posted by James Cloos <cl...@jhcloos.com>.
>>>>> "BH" == Bert Huijben <be...@qqmail.nl> writes:
BH> There is no configuration setting for this.
Unfortunate.
BH> I would recommend fixing your dns
There is nothing wrong with my dns. And I have no control over the
remote sites.
BH> (probably by adding an ipv4 alias to the server)
Assumming that you were thinking of an A RR w/o a corresponding AAAA, in
parallel to the existing A and AAAA RRs, adding a local override to my
resolver for each remote site would force v4, but is an ugly kludge more
likely the break as soon as a bit of time passes and the remote sites
move their services around.
BH> or running your server
Sorry, I thought I made it clear that I'm not running an svn server,
but rather using svn clients.
BH> A client setting would require all clients to be configured
BH> specifically, while DNS was invented to avoid that.
I wasn't looking for a client setting. I was looking for a client
invocation argument. The DNS has nothing to do with it.
I have both v4 adn v6 routes to the 'net, but the v4 is faster.
Support for the de-facto -4 and -6 args would be nice. I'll have to
patch the src for it. Thanks for the confirming that. That will save
me some time.
-JimC
--
James Cloos <cl...@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
RE: How to prefer ipv4 over ipv6?
Posted by Bert Huijben <be...@qqmail.nl>.
> -----Original Message-----
> From: James Cloos [mailto:cloos@jhcloos.com]
> Sent: woensdag 18 juli 2012 19:46
> To: users@subversion.apache.org
> Subject: How to prefer ipv4 over ipv6?
>
> Can one configure the subversion clients to prefer ipv4 over ipv6 when
> both route to the target server?
>
> I presume, if so, that it would be done via --config-option, yes?
>
> I'm on 1.7.5, with neon for webdav.
>
> I see that svnserve prefers ipv4 and has an option to instead prefer
> ipv6, but I haven't found anything for the clients, yet.
There is no configuration setting for this. I would recommend fixing your
dns (probably by adding an ipv4 alias to the server) or running your server
(also) on ipv6 as that immediately fixes it for all users of your
repository.
A client setting would require all clients to be configured specifically,
while DNS was invented to avoid that.
Bert