Re: tcpwrappers & inetd.conf


Subject: Re: tcpwrappers & inetd.conf
From: andrew morgan (morgan@orst.edu)
Date: Wed Jan 17 2001 - 13:32:46 EST


On Wed, 17 Jan 2001, Steve Devine wrote:

> Hello all,
> I have been trying to implement tcpwrappers and netatalk in order to limit
> connections via hosts.allow and hosts.deny. I have seen statements in archives
> stating that the inetd.conf file is to be left alone. All seem to advocate an
> entry in the services file as such:
> afpovertcp 548/tcp
> afpovertcp 548/udp
> I wonder if netatalk is not called via inetd.conf how is it run?
> A rc script maybe and if so is a reference to tcpd required?
> Please if anyone is successfully using tcpwrappers / netatalk I would greatly
> hearing how you did it.
> I am using tcpwrappers 7.6 netatalk 1.4b2+asun2.1.3 on a Sun Ultra5 / Solaris
> 2.6

You can compile afpd with tcp-wrappers support in it, so it will honor any
directories itself. You don't need to call it within inetd or tcpd for
this to work. The service name in your allow/deny files is "afpd".

On most installations, there is an rc script which starts atalkd, afpd,
and papd.

        Andy



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:30 EDT