Re: How to block access from specific sites.
On 1/12/99 Raphael Clancy wrote:
Is there a quick way (on a debian 2.0 system) to block specific
adresses from making inetd style connections (ie. ftp, telnet etc?)
my instincts tell me that is has to do with the /etc/hosts.deny
file. unfortunately I can't find any info on it in the man pages, of
course, some of mine may be missing (gotta love getting other
people's boxes).
##hosts.deny
ALL: *.microsoft.com
sshd: *.apple.com
in.ftpd: 192.168.0.5
are some examples, you should get a pretty decent man page with man 5
hosts.deny if not then your man pages are broken :)
(btw I don't remember for sure if the * is needed or not it probably
isn't but i don't think it matters)
Ethan
Reply to: