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

Re: svnserve and IPv6 ?

From: Dirk Schenkewitz <schenkewitz_at_docomolab-euro.com>
Date: 2005-03-02 02:53:20 CET

Travis P wrote:
>
> On Mar 1, 2005, at 6:02 PM, Dirk Schenkewitz wrote:
>
>> Dirk Schenkewitz wrote:
>>
>>> ...
>>> is it somehow possible to access svnserve using IPv6 adresses?
>>> If yes, what do I need to do?
>>
>>
>> Then I did 'find subversion-1.1.3 -type f | xargs grep -i "ipv6"'
>> and found that "IPv6" appeared under "neon", "apr" and "apr-util",
>> but nowhere else. I'm not perfectly sure, but I believe that these
>> are not used by svnserve.
>>
>> Can somebody who knows confirm that svnserve does not understand
>> about IPv6 adresses?
>
> I'm afraid I'm not someone who "knows" and can give any authoritative
> answers. Just some thoughts:
>
> Subversion programs use apr heavily to achieve platform portability.
> If apr and your OS support IPv6, I'd guess it might just work.
> You could perhaps give it a try.
> (Wouldn't it be great if you were trying to solve a problem you don't
> actually have? :-)

Yes, it would. :-) But it's not that simple...

> -Travis
>
> p.s. I beg parson if your first message did mention that you'd tried
> it. I don't have that message anymore.

I did not mention it but I tried, with the following commands, on the
subversion server pc itself, which has the IPv4 address 10.1.1.222:
'svn co svn://10.1.1.222/test test.1' works.
'svn co svn://127.0.0.1/test test.2' also works.
This shows that svnserve is not restricted to a specific address.

'svn co svn://::1/test test.3' gives me
"svn: Illegal svn repository URL 'svn://::1/test'".

'svn co svn://[::1]/test test.4' gives me
"svn: Illegal svn repository URL 'svn://[::1]/test'".

The brackets "[]" are sometimes used to bracket IPv6 addresses when
the application may choke on too many colons in the wrong place. But
here they apparently don't help.

"::1" is the IPv6 address of "localhost", which is hardcoded (so to
say) in the /etc/hosts of the subversion server pc, just like
"127.0.0.1" is.

Now, I can imagine that it might be neccessary to run another instance
of svnserve, perhaps with specific parameters. But there I'm at the
end of my guessing.

And just to prove that the system knows about IPv6, I just did:
'dig localhost' - answer is "127.0.0.1". And then 'dig localhost aaaa'
- this forces answering with an IPv6 address, if one is available -
the answer is "::1"

Thank you anyway :-)
Have fun
   Dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 2 02:53:57 2005

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

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