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

Re: Question about xinetd & svn

From: Campbell Allan <campbell.allan_at_sword-ciboodle.com>
Date: Tue, 13 Jan 2009 12:44:01 +0000

On Tuesday 13 Jan 2009, void pointer wrote:
> On Mon, Jan 12, 2009 at 12:29 PM, Josh Paetzel <josh_at_tcbug.org> wrote:
> > Add a bind directive with your external IP to /etc/xinetd.d/svn, without
> > it it's binding to all available IPs.
>
> I don't understand what you mean.

Pretty much saying what Nick said. In your first configuration, the bind
address is not specified which means xinetd will listen to the port on all
network interfaces. This will cause a problem when xinetd tries to bind to
the same port on a specific interface as requested by the second
configuration. By specifying the WAN address it will only listen to the port
on the WAN interface and allow you to have both configurations working at the
same time. We're making the assumption you have something like this i.e.

eth0 10.0.0.1
eth1 192.168.10.150

where eth0 receives traffic from the WAN, and eth1 is the LAN. If you do not
have multiple IP addresses then this will not work. Though you can make it
work by creating a second IP address for your machine even if you only have
one network card. Then you configure the WAN router to forward traffic to the
second IP instead of the machines LAN address.

Also, I think you may need to rename your second configuration so that both do
not say service svn. Otherwise you may not be able to view and control them
properly with chkconfig.
___________________________________________________________________
Sword Ciboodle Ltd (a company registered in Scotland with
registered number SC143434 and whose registered office is at
India of Inchinnan, Renfrewshire, UK, PA4 9LH) is part of the Sword
Group of companies.

This email (and any attachments) is intended for the named
recipient(s) and is private and confidential. If it is not for you, please
inform us and then delete it. If you are not the intended recipient(s),
the use, disclosure, copying or distribution of any information
contained within this email is prohibited. Messages to and from us
may be monitored. If the content is not about the business of the
Sword Group then the message is neither from nor sanctioned by
us.

Internet communications are not secure. You should scan this
message and any attachments for viruses. Under no circumstances
do we accept liability for any loss or damage which may result from
your receipt of this email or any attachment.
___________________________________________________________________
Received on 2009-01-13 14:30:01 CET

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.