Date: Sat, 14 Mar 2009 00:51:27 +1030 From: Andrew <awd@awdcomp.net> To: Tim Judd <tajudd@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org>, skx <listy@skxpl.eu.org> Subject: Re: Inetd and multiple IP addresses Message-ID: <49BA6BE7.9030005@awdcomp.net> In-Reply-To: <1236920729.4243.2.camel@t60.local.zz> References: <200903130338.06099.listy@skxpl.eu.org> <1236920729.4243.2.camel@t60.local.zz>
next in thread | previous in thread | raw e-mail | index | archive | help
Tim Judd wrote: > On Fri, 2009-03-13 at 03:38 +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. >> >> > > inetd.conf(5) > > see option -a > > put it in your rc.conf, as inetd_flags > I do this for all my hosts so I have a tighter reign on the problem > True, but it limits inetd to that IP for all services. There is also have xinetd which allows control per service. /usr/ports/security/xinetd Info: Replacement for inetd with better control and logging > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49BA6BE7.9030005>