deleting a single filter deleting all the filters !!!

Linux Advanced Routing and Traffic Control

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

 



I am trying to delete a single filter only, however I am unable to
achieve it. When I am executing the command to delete a single filter,
it is deleting all the filters.

Following are the commands I am trying :


tc qdisc add dev eth1 root handle 1: htb
tc class add dev eth1 parent 1: classid 1:10 htb rate 1mbit


tc filter add dev eth1 parent 1:0 prio 5 handle ffe: protocol ip u32 divisor 256
tc filter add dev eth1 parent 1:0 prio 5 handle ffd: protocol ip u32 divisor 256
tc filter add dev eth1 parent 1:0 prio 5 handle ffc: protocol ip u32 divisor 256
tc filter add dev eth1 protocol ip parent 1: prio 5 handle ffe:2:3 u32
ht ffe:2: match ip src 10.0.0.3 flowid 1:10
tc filter add dev eth1 protocol ip parent 1: prio 5 handle ffe:2:2 u32
ht ffe:2: match ip src 10.0.0.2 flowid 1:10
tc filter del dev eth1 protocol ip parent 1: prio 5 handle ffe:2:3 u32

This last command is deleting all the filters!!!

Please help ...
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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