From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 15:50: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 AC4FF106566C for ; Fri, 13 Mar 2009 15:50:20 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 65F818FC0A for ; Fri, 13 Mar 2009 15:50:20 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so993393yxl.13 for ; Fri, 13 Mar 2009 08:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dikGGX3q/94CVenuZ4yDO5hswX4WPVi4NeKwfXTAJf0=; b=PCiMcR6AhRSS4nnunJzcDFldRZAPdcLJydmOC1oywW5336jLXJwqog29I3NycG1CZx EDfyJOFOt9ebTdm2in0r7vuxlJeWhZlBN6g5xeIAzVlgsxAqqCy6WYzmkHxHuY3n02Bf R7NOAxXwBTvJeA/P4OK0O2dqjScz5A5iAR6qs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZrXAE6716t4i9IR02JP6rHWU+m/Cfvqq1a81UslPnzKikV9lL5MjNR8zdUcu4CDdht UVOSSQpVeP4W7J5uXhMAgyYHZ2wgkLliiWcArAALPm9yb2MwZksWe6hSzwCqxszDnzTq ARO45dELTnDgJdo0dCSSPlKHYV1rxhwtwz6Y0= MIME-Version: 1.0 Received: by 10.231.10.140 with SMTP id p12mr288604ibp.12.1236959419661; Fri, 13 Mar 2009 08:50:19 -0700 (PDT) In-Reply-To: <49BA6BE7.9030005@awdcomp.net> References: <200903130338.06099.listy@skxpl.eu.org> <1236920729.4243.2.camel@t60.local.zz> <49BA6BE7.9030005@awdcomp.net> Date: Fri, 13 Mar 2009 09:50:19 -0600 Message-ID: From: Tim Judd To: Andrew Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:50:21 -0000 that is KNOWN to be impatible with inetd.conf file. you'd have to recreate all your services. I topposted. Have a good day. On Fri, Mar 13, 2009 at 8:21 AM, Andrew wrote: > 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" >> > > >