go to /etc/inetd.conf

Comment out lines for
#echo   stream  tcp     nowait  root    internal
#echo   dgram   udp     wait    root    internal

save it.

then:

"killall -HUP inetd"

then edit hosts.deny and add the line:

7:ALL


(port 7 is the echo port - ALL means noone is allowed to use it through
tcpwrappers)...



Alternately, hosts.deny can just say ALL:ALL
then hosts.allow can be <port>:<machine> that are allowed to be used/use...




> -----Original Message-----
> From: Clarence Donath [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 1:42 PM
> To:   [EMAIL PROTECTED]
> Subject:      How to disable ping echo?
> 
> How would one go about disabling ping echo on a machine?  In other words,
> keep
> someone from pinging my machine and flooding it.
> 
> If you could point me to some information on the specifications of ping I
> will
> really appreciate it.  'man ping' doesn't give enough detail.
> 
> Regards,
> Clarence Donath
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to