From: "steve finch" Date: Wed, 24 Oct 2007 08:33:28 +0000 Subject: [LARTC] tc u32 match drop packets Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============2043734956==" List-Id: To: lartc@vger.kernel.org --===============2043734956== Content-Type: multipart/alternative; boundary="----=_Part_6490_16915430.1193214808753" ------=_Part_6490_16915430.1193214808753 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I am trying to use tc to drop packets based on the ip identification field in the ip header, I am trying to drop incomming packets with the ip identification field egual with 15: tc qdisc del dev eth0 ingress tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip protocol 6 0xff flowid 1:1 match u16 0x000f 0xffff at 4 action drop tc doesn't show any error, but no packets are beeing dropped. Please help. Thank you. ------=_Part_6490_16915430.1193214808753 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,
I am trying to use tc to drop packets based on the ip identification field in the ip header, I am trying to drop incomming packets with the ip identification field egual with 15:

tc qdisc del dev eth0 ingress
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip protocol 6 0xff flowid 1:1 match u16 0x000f 0xffff at 4 action drop


tc doesn't show any error, but no packets are beeing dropped.

Please help.
Thank you.

------=_Part_6490_16915430.1193214808753-- --===============2043734956== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============2043734956==--