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.
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
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