Re: tc filter add ... fw ... action drop

2007-07-18 Thread Patrick McHardy
Patrick McHardy wrote: > Abhijit Menon-Sen wrote: > >>That command is from a script that used to work with iproute2-ss020116 >>(2002!), which had the following in tc/m_police.c: >> >>210 } else if (strcmp(*argv, "action") == 0) { >>211 NEXT_ARG(); >>212 if (get_police_r

Re: tc filter add ... fw ... action drop

2007-07-18 Thread Patrick McHardy
Abhijit Menon-Sen wrote: > At 2007-07-18 11:49:55 +0200, [EMAIL PROTECTED] wrote: > >>> # tc filter add dev eth0 parent 1: protocol ip prio 0 handle >>>0xfff fw police rate 1 burst 1 mpu 0 mtu 1 action drop >> >>It seems this is merely a parsing error, iproute doesn't have an >>"action" p

Re: tc filter add ... fw ... action drop

2007-07-18 Thread Abhijit Menon-Sen
At 2007-07-18 11:49:55 +0200, [EMAIL PROTECTED] wrote: > > > # tc filter add dev eth0 parent 1: protocol ip prio 0 handle > > 0xfff fw police rate 1 burst 1 mpu 0 mtu 1 action drop > > It seems this is merely a parsing error, iproute doesn't have an > "action" parameter and aborts parsing

Re: tc filter add ... fw ... action drop

2007-07-18 Thread Patrick McHardy
Abhijit Menon-Sen wrote: > Hi. > > Is it a bug that: > > # tc filter add dev eth0 parent 1: protocol ip prio 0 handle 0xfff > fw police rate 1 burst 1 mpu 0 mtu 1 action drop > ^^^ > creates a filter that looks like: > > # tc filter ls

tc filter add ... fw ... action drop

2007-07-17 Thread Abhijit Menon-Sen
Hi. Is it a bug that: # tc filter add dev eth0 parent 1: protocol ip prio 0 handle 0xfff fw police rate 1 burst 1 mpu 0 mtu 1 action drop ^^^ creates a filter that looks like: # tc filter ls dev eth0 filter parent 1: protocol ip pref