[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: [cobalt-developers] Deny IP Address On Raq 4r



-----Opprinnelig melding-----
Fra: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]På; vegne av David Lucas
Sendt: 19. september 2001 06:39
Til: cobalt-developers@xxxxxxxxxxxxxxx
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