From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 02:54:20 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 DD45A106566C for ; Fri, 13 Mar 2009 02:54:20 +0000 (UTC) (envelope-from listy@skxpl.eu.org) Received: from mm.ecatel.net (mm.ecatel.net [89.248.169.2]) by mx1.freebsd.org (Postfix) with ESMTP id 520888FC08 for ; Fri, 13 Mar 2009 02:54:19 +0000 (UTC) (envelope-from listy@skxpl.eu.org) Received: by mm.ecatel.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2D5Eshb002007 for ; Fri, 13 Mar 2009 00:14:55 -0500 Received: from [192.168.13.13] (piekna-gts.2a.pl [217.153.90.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by stallman.rootnode.net (Exchange) with ESMTP id A1B1116A3D for ; Fri, 13 Mar 2009 03:38:06 +0100 (CET) From: skx To: FreeBSD Questions Date: Fri, 13 Mar 2009 03:38:05 +0100 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903130338.06099.listy@skxpl.eu.org> Subject: 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 02:54:21 -0000 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. -- skx.