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

Re[2]: [PATCH] Add option to svnserve to disable ipv6

From: Jim Morris <morris_at_wolfman.com>
Date: 2005-05-24 23:44:55 CEST

Point taken.

I agree, however from the code in main.c it appears that if the code
detects ipv6 then it will ask apr to only create an ipv6 binding, so I
think this may be your point a)

However I am not familiar enough with apr or svnserve to set up two
listening ports, one for ipv4 and one for ipv6 (if that is what needs to
be done), I hope someone out there may be able to do that.

The fix I submitted is for anoyone like me who upgraded to 1.2.0 and
found themselves without a useable snv server :) and needs a quick fix.

On Tue, 24 May 2005 23:35:53 +0200
Branko Cibej <brane@xbc.nu> wrote:

brane> Jim Morris wrote:
brane> > * subversion/svnserve/main.c
brane> > (main): Add --noipv6 option, and if set do not bind to an ipv6 port
brane> >
brane> > On at least one system I am using (OpenBSD) the 1.2.0 version of
brane> > svnserve detects there is an ipv6 network, and binds to that network
brane> > ONLY. So there is no listening port setup on ipv4, so no ipv4 clients
brane> > can connect.
brane> >
brane> > As I do not use ipv6 I added an option --noipv6 which will force it to
brane> > bind to the ipv4 network as previous versions did.
brane> >
brane> > Others with both ipv6 and ipv4 on their systems may encounter similar
brane> > problems as I do not think this is specific to OpenBSD.
brane> >
brane> > Ideally the fix should actually allow it to bind to both ipv6 and ipv4
brane> > networks, however that fix is beyond me at the moment.
brane> I sympathize, but i really don't think this patch is appropriate for the
brane> SVN code. The thing to do is to figure out if a) we're using APR
brane> incorrectly, b) there's actually a bug _in_ apr, or c) there's a bug in
brane> the way APR was built on your system.
brane> Note that I'm not saying your problem isn't real or shouldn't be fixed,
brane> just that this isn't the way to fix it in the mainstream code.
brane> -- Brane
brane> ---------------------------------------------------------------------
brane> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
brane> For additional commands, e-mail: dev-help@subversion.tigris.org

Jim Morris morris@wolfman.com
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 24 23:45:41 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.