Correct inetd.conf line for saned in 7.1?

Doug Barton dougb at FreeBSD.org
Fri Jan 2 00:59:41 UTC 2009


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



More information about the freebsd-ports mailing list