lkml.org 
[lkml]   [1997]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: IP fragmentation problem in the 2.0 kernels ?
Date
From
> Is there a way (using kernel 2.0.x) to block types of icmp with the
> firewalling code? i.e. say I have a multiport linux router and want to
> block just icmp echo request and echo reply. Is there an easy way to do

Yes, ICMP types are accepted as "source port number".

ipfwadm -I -a deny -P icmp -S 0/0 0 8 -D 0/0
^^^

olaf

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans