From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 14:21:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF7D11065674 for ; Fri, 13 Mar 2009 14:21:58 +0000 (UTC) (envelope-from awd@awdcomp.net) Received: from home.awdcomp.net (ppp234-119.static.internode.on.net [203.122.234.119]) by mx1.freebsd.org (Postfix) with ESMTP id 1FBDB8FC17 for ; Fri, 13 Mar 2009 14:21:57 +0000 (UTC) (envelope-from awd@awdcomp.net) Received: from getafix.abdulla ([192.168.202.99] helo=[127.0.0.1]) by home.awdcomp.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Li8Gd-0007pj-Fz; Sat, 14 Mar 2009 00:51:51 +1030 Message-ID: <49BA6BE7.9030005@awdcomp.net> Date: Sat, 14 Mar 2009 00:51:27 +1030 From: Andrew User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Tim Judd References: <200903130338.06099.listy@skxpl.eu.org> <1236920729.4243.2.camel@t60.local.zz> In-Reply-To: <1236920729.4243.2.camel@t60.local.zz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Report: Spam detection software, running on the system "gateway.abdulla", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: 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 > [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Score: -13 (-) Cc: FreeBSD Questions , skx Subject: Re: Inetd and multiple IP addresses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 14:21:59 -0000 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"