-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]P� vegne av David Lucas
Sendt: 19. september 2001 06:39
Til: [EMAIL PROTECTED]
Emne: Re: [cobalt-developers] Deny IP Address On Raq 4r


At 10:37 PM 9/18/2001, you wrote:

>Anyone knows how can we stop an IP from contacting sites!!
>
>Thanks,



>Turn off your server.  You can block them with tools like IPChains, Port
>Sentry and the like.  But those still let them contact you, just not get
>anywhere.

Hi,
to deny access completely, you can do this :

1) add the ip to /etc/hosts.deny (for tcp wrappers):

        "ALL: 123.xxx.xxx.x"

this does not affect standalone daemons
for this do step 2)

2) add it to the kernel routing table by entering

        "/sbin/route add -host 123.xxx.xxx.x reject" (as root)

Kai R Schantz
Euroweb as



_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to