Just drop this into ipchains and that should do ya.

# ICMP FIRST
   ipchains -A input -p icmp -j ACCEPT -s $ETH0NET/$ETH0NETMASK -i eth0 -d
0.0.0.0/0
   ipchains -A input -p icmp -j DENY -s 0.0.0.0/0 -i eth0 -d 0.0.0.0/0

> -----Original Message-----
> From: Jake McHenry [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 25, 2000 2:39 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: ICMP Port Number
>
>
> I've been getting the "Denial of Service" attack and want to find what
> port ICMP uses so I can block it in my router. I've looked all over the
> net at the rfc's and they don't tell me anything about the specific port
> number. Thanks guys.
>
> Jake McHenry
> [EMAIL PROTECTED]
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>


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

Reply via email to