Eric Mosley wrote:

> If I have All: All in my hosts.deny and nothing in my hosts.allow, does
> that mean that nothing  can connect to the machine, including web, ftp,
> but also even a "telnet localhost"?

hosts.{allow,deny} only apply to programs which use them, e.g. those
which are linked against libwrap, or are invoked via tcpd.

Standalone daemons (e.g. Apache, sendmail) don't generally use them.

> What do I have to put in hosts.allow to just allow ftp and www?

        wu.ftpd:        ALL

This assumes that your ftpd is called wu.ftpd. Basically, the name has 
to match whatever is in inetd.conf.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to