Date: Mon, 16 Mar 2009 12:53:59 +0000 From: Frank Shute <frank@shute.org.uk> To: skx <listy@skxpl.eu.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Inetd and multiple IP addresses Message-ID: <20090316125359.GA94041@melon.esperance-linux.co.uk> In-Reply-To: <200903130338.06099.listy@skxpl.eu.org> References: <200903130338.06099.listy@skxpl.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 13, 2009 at 03:38:05AM +0100, skx wrote: > > I have inetd configured to open a listening port for leafnode > nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode > but this opens the port on all IP addresses associated with this machine. > I would like to choose only one. > > I tried > 192.168.13.2:nntp stream tcp nowait > news /usr/libexec/tcpd /usr/local/sbin/leafnode > > but it doesn't work > > Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown > service > > What am I doing wrong? Isn't ip:service_name a correct entry? > > FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. > You want to have a look at hosts_access(5) I've got this in /etc/hosts.allow as an example: leafnode: 127.0.0.1 : allow Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316125359.GA94041>