Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 1996 08:58:36 -0500
From:      exidor@superior.net (Christopher Masto)
To:        paul-ml@odin.egate.net ("Paul Andersen (ML)")
Cc:        FreeBSD-ISP@freebsd.ORG
Subject:   Re: Binding to a single address
Message-ID:  <199612181358.IAA16732@nimbus.superior.net>
In-Reply-To: <Pine.BSF.3.91.961217201246.1579A-100000@odin.egate.net>; from Paul Andersen (ML) on Dec 17, 1996 20:13:46 -0500
References:  <Pine.BSF.3.91.961217201246.1579A-100000@odin.egate.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Andersen (ML) writes:
> 
> 	I have several aliases for various virtual domains here. One 
> thing I notice is that everything such as named, ftpd, telnetd, etc.. 
> likes to bind on ALL the aliases IP's.. Is there a way to stop that so 
> only lets say httpd binds to the virtual IP's?

You can't live without tcp_wrappers.  It allows you to do not only
what you have described, but (if you compile it with the extended
configuration option) control exactly what happens when user W at site
X connects to your host Y port Z.

It really only works with stuff run from inetd, though it supports a
library to allow programs to link with it if they run standalone
(nothing really uses this).  It doesn't matter much, because apache
httpd has a virtualhost config, sendmail knows how to handle mail for
various domains, etc.  I made a small patch for ircd to allow
specification of its binding address in the config file.
-- 
Christopher Masto  .   .   .   .   Superior Net Support: support@superior.net
chris@masto.com  .   .   .   .   . Masto Consulting:           info@masto.com

On Time:
 The time is here, and is rapidly approaching.
 - William Field, Member of Parliament



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612181358.IAA16732>