[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 ?
> 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


 \ /
  Last update: 2005-03-22 13:40    [W:0.039 / U:8.932 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site