tc filter matching anything

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

I have a problem adding a filter matching anything, here is my setup:

###############
tc qdisc add dev eth0 handle 1: root prio

tc qdisc add dev eth0 parent 1:1 handle 10: pfifo
tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \
128kbit burst 256kbit

tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \
flowid 1:2

tc filter add dev eth0 protocol ip parent 1:0 prio 2 flowid 1:1
#####################

This is supposed to put all traffic marked by iptables in the tbf qdisc,
but the last line gives me this error:

error: Unknown filter "flowid", hence option "1:1" is unparsable

I'm running Linux 2.4.27-2-686 with iptables v1.2.11 on debian
sarge

Does anyone know what is wrong, or have a better solution for my setup?

Thank you.

Fredrik Bredeli
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux