On Fri, 2005-03-25 at 15:37, Patrick McHardy wrote: > Yes, that should work. > I think the attached script may help if you call it with something like 1000; You may need to adapt it slightly so you add the actions with new filters instead of directly. I would have to do a lot of plumbing from my scripts to give you one which does just that cheers, jamal #!/bin/sh
tc qdisc del dev eth1 ingress
tc qdisc add dev eth1 ingress
for ((i = 1 ; i <= $1 ; i++))
do
tc actions add action drop index $i
done
|
| Previous by Date: | Re: iptables breakage WAS(Re: dummy as IMQ replacement, jamal |
|---|---|
| Next by Date: | Re: iptables breakage WAS(Re: dummy as IMQ replacement, jamal |
| Previous by Thread: | Re: iptables breakage WAS(Re: dummy as IMQ replacement, Patrick McHardy |
| Next by Thread: | Re: iptables breakage WAS(Re: dummy as IMQ replacement, Patrick McHardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |