From owner-freebsd-ports@FreeBSD.ORG Fri Jan 2 00:59:41 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C021106564A for ; Fri, 2 Jan 2009 00:59:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id C145F8FC08 for ; Fri, 2 Jan 2009 00:59:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 18252 invoked by uid 399); 2 Jan 2009 00:59:40 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 2 Jan 2009 00:59:40 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <495D66FA.80602@FreeBSD.org> Date: Thu, 01 Jan 2009 16:59:38 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.18 (X11/20081128) MIME-Version: 1.0 To: FreeBSD Ports List References: <20090101113746.GB11520@teddy.fas.com> In-Reply-To: <20090101113746.GB11520@teddy.fas.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Correct inetd.conf line for saned in 7.1? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2009 00:59:41 -0000 stan wrote: > f I run saned from the command line, I can conect, and scan from remote > machines. But I cannot seem to come up with a correct line for it in > /etc/inetd.conf. > > I seem to be raunning into an issue with TCP warpers, which are enabled by > defualt in 7.1, by adding the -Ww flags to the invocation of inetd. > > Can anyone tell me what is wrong with this line? > > sane-port stream tcp nowait saned /usr/local/sbin/saned saned The first entry in an inetd.conf line has to be the port name from the /etc/services file. I have no entry for sane in that file on my system, you should check to see whether or not the port added one. If not, you'll have to do it. According to IANA the entry should look like this: sane-port 6566/tcp #SANE Control Port sane-port 6566/udp #SANE Control Port FWIW, reading inetd(8) should have got you at least part way there. You might also consider first asking on freebsd-questions@ next time. hope this helps, Doug -- This .signature sanitized for your protection