From owner-freebsd-hackers Sun Aug 13 12:21:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 758DA37BD28 for ; Sun, 13 Aug 2000 12:21:10 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Aug 2000 20:21:06 +0100 (BST) Date: Sun, 13 Aug 2000 20:21:05 +0100 From: David Malone To: Chris Costello Cc: Leif Neland , freebsd-hackers@FreeBSD.ORG Subject: Re: 2 inetd's with 2 nics Message-ID: <20000813202105.A56737@walton.maths.tcd.ie> References: <004401c00543$50c661a0$0e00a8c0@neland.dk> <20000813113112.A41275@holly.calldei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000813113112.A41275@holly.calldei.com>; from chris@calldei.com on Sun, Aug 13, 2000 at 11:31:12AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Aug 13, 2000 at 11:31:12AM -0500, Chris Costello wrote: > From the inetd man page: > > -a Specify a specific IP address to bind to. Alternatively, a host- > name can be specified, in which case the IPv4 or IPv6 address > which corresponds to that hostname is used. Usually a hostname > is specified when inetd is run inside a jail(8), in which case > the hostname corresponds to the jail(8) environment. You'll almost certainly want to use the -p flag if you do this. There's probably no harm in doing it if you want to, but you'd have to use ipfw too if you want only to expose some services on one side of the machine. (ie. If you have a router running an inetd on the "inside" interface then someone on the outside can send packets to the outside interface but addressed to the address of the inside interface and get a response). David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message