[LARTC] problem deleting filters

Linux Advanced Routing and Traffic Control

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

 



I have setup some qdiscs and filters more or less straight from the howto.
they work pretty good.  however, when i delete one filter or all of them,
they all appear to be deleted (as shown by "tc filter show dev ppp0").
the real problem is, that as soon as i recreate a single filter, all the
deleted filters reappear along with the new one.  thus i have an ever
increasing set of filters.

I noticed the problem when trying to create a default filter to send all
previously unfiltered packets to the lowest priority queue.  the default
seems to be the middle priority, and the syntax in the howto seems to be
incorrect.  the following is from the advanced routing howto:
 tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip dport 22 0xffff flowid 10:1
 tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport 80 0xffff flowid 10:1
 tc filter add dev eth0 protocol ip parent 10: prio 2 flowid 10:2

the last line causes the errror:
"Unknown filter "flowid", hence option "10:2" is unparsable"

Any help is appreciated.

Rob

ps, i did find another guy with a similar problem, but no solution
(http://www.uwsg.iu.edu/hypermail/linux/net/0012.0/0019.html)




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