Linux Netfilter discussions
 help / color / mirror / Atom feed
* block ip fragmented packet
@ 2015-12-10 22:38 Satish Patel
  2015-12-11  6:27 ` Anton Danilov
  0 siblings, 1 reply; 6+ messages in thread
From: Satish Patel @ 2015-12-10 22:38 UTC (permalink / raw)
  To: netfilter

We have iptables v1.4.21 running and i am trying to stop all
fragmented packet but following rules doesn't working what is wrong
here?



iptables -t raw -A PREROUTING -m u32 ! --u32 "0x4&0x3fff=0x0" -m
comment --comment "Fragmented" -j DROP

To test rules i am doing following:

ping -M want -s 3000 192.168.1.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-11 18:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-10 22:38 block ip fragmented packet Satish Patel
2015-12-11  6:27 ` Anton Danilov
2015-12-11  8:14   ` Pascal Hambourg
2015-12-11 12:53     ` Satish Patel
2015-12-11 17:22       ` Pablo Neira Ayuso
2015-12-11 18:40         ` Satish Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox