[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: (no subject) - Thanks

From: Josh
Subject: RE: (no subject) - Thanks
Date: Thu, 1 Aug 2002 21:20:35 +0200

 Thanks a lot!!!

 I didn't have that syntax possibility (i also had read that info 
 from the bsd man) so i thought it was a bit weird mine didnt accept it.
 Anyway all i needed was to compile a newer inetd to get that 
 syntax possibility ;-)


-----Original Message-----
From: address@hidden [mailto:address@hidden Behalf Of
Mike Ayers
Sent: Thursday, August 01, 2002 4:51 AM
To: Douglas Finkle
Cc: address@hidden
Subject: Re: (no subject)

Josh wrote:
 >  As I am running the CVS server (v1.11.2 pserver) on a
 >  (linux) machine with two network adapters I would very
 >  much like to know if it is possible to bind the server
 >  to a specific network interface?

Douglas Finkle wrote:
> Check out  You can make your
> server listen on _only_ the desired interface.

        Absolutely incorrect.  IP filters do not prevent the service from 
listening on other interfaces, they are used to block packets before 
they get to the service.  The difference is that if you forget to 
filter an interface, the packets will reach the server, which is 
probably bad.  What is desired is to have the server listen on only 
the desired interface instead of the usual

        Here's a snippet from my inetd manual entry (OpenBSD 2.9):

      "For internet services, the first field of the line may also 
have a host address specifier prefixed to it, separated from the 
service name by a colon.  If this is done, the string before the colon 
in the first field indicates what local address inetd should use when 
listening for that service.  Multiple local addresses can be specified 
on the same line, separated by commas.  Numeric IP addresses in 
dotted-quad notation can be used as well as symbolic hostnames. 
Symbolic hostnames are looked up using gethostbyname().  If a hostname 
has multiple address mappings, inetd creates a socket to listen on 
each address."

        This would be the way that I would use on that machine.  Josh, your 
Linux machine probably supports the same method.  If so, this is what 
you want.


Info-cvs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]