From owner-freebsd-questions Mon May 3 15:51: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 1D52C14D5F for ; Mon, 3 May 1999 15:50:54 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id RAA42290; Mon, 3 May 1999 17:50:50 -0500 (CDT) (envelope-from dan) Date: Mon, 3 May 1999 17:50:49 -0500 From: Dan Nelson To: Pete Nelson Cc: questions@FreeBSD.ORG Subject: Re: binding inetd to a single interface Message-ID: <19990503175049.A42198@dan.emsphone.com> References: <372E18AC.E18EB509@ci.saint-paul.mn.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <372E18AC.E18EB509@ci.saint-paul.mn.us>; from "Pete Nelson" on Mon May 3 16:44:12 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 03), Pete Nelson said: > I've been searching for inetd documentation that goes beyond basic. > I've learned a lot of interesting things, most of which I didn't know > before, but I still haven't found the answer I'm searching for. > > I've got a linux (sorry) box with several virtual webservers. The > original plan was not to have a web server on the main interface, but > have that interface be the only one that responds to inetd services. > Is there a way that I can tell inetd to bind to that IP, and not to > the rest of the virtual hosts? What gets particularly annoying, my > logs show all services as going to the very last interface on the > system, no matter which IP you request. Personnally, I'd really like > my logs to show the host that the user asked to connect to. > > Any suggestions? man inetd? inetd [-d] [-l] [-c maximum] [-C rate] [-a address] [-p filename] [-R rate] [configuration file] -a Specify a specific IP address to bind to. If you need small changes, simply edit the inetd sources in /usr/src/usr.sbin/inetd. Or take a look at xinetd in ports. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message