[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Deny IP
- Subject: Re: [cobalt-users] Deny IP
- From: "H.P. Stroebel" <hpstr@xxxxxxxxxxxxx>
- Date: Wed Jul 19 16:13:57 2000
- Organization: Rechtsanwalt
Frank Cubillos schrieb:
> Searched through the Cobalt resources no avail. Seeing these kiddie
> scripters trying to hack a protected directory really Pi***d me off. How can
> I add their IP to block them access, or is that possible. I know we can do
> that on the smtp on the raq3.
> Any help or suggestions will be greatly appreciated!
to deny access completely, you can do this :
1) add the ip to /etc/hosts.deny (for tcp wrappers):
"ALL: 123.456.789.0"
this does not affect standalone daemons (e.g. apache)
2) add it to the kernel routing table by entering
"/sbin/route add -host 123.456.789.0 reject" (as root)
--
H. P. Stroebel, Germany
CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/
Yes, I do. But not Yahoo.