hello...
1.
Is it possible using u32 to filter marked packets? I have found only documents
to fw filter to filter marked packets...
2.
If u32 cannot filter marked packets is it possible to use fw and u32 together? I
wanted to filter packets marked by iptables by fw, and packets depended on ip
destination, src and others by u32, but something goes wrong :(
the filters configuration is:
$TC filter add dev $DEV_OUT parent 1: protocol ip prio 1 handle 2 fw flowid 1:10
$TC filter add dev $DEV_OUT parent 1: protocol ip prio 1 u32 \
match ip src 10.0.5.5 flowid 1:30
If I use one of them everything is ok, but they don't want to work together:
"RTNETLINK answers: Invalid argument"
thanks...
/michal
On Thursday 28 November 2002 17:02, Michal Kustosik wrote: > hello... > > 1. > Is it possible using u32 to filter marked packets? I have found only > documents to fw filter to filter marked packets... You need the fw filter. > 2. > If u32 cannot filter marked packets is it possible to use fw and u32 > together? I wanted to filter packets marked by iptables by fw, and pack= ets > depended on ip destination, src and others by u32, but something goes w= rong > :( > > the filters configuration is: > $TC filter add dev $DEV_OUT parent 1: protocol ip prio 1 handle 2 fw fl= owid > 1:10 $TC filter add dev $DEV_OUT parent 1: protocol ip prio 1 u32 \ > match ip src 10.0.5.5 flowid 1:30 > > If I use one of them everything is ok, but they don't want to work I never tried it so I don't know if it can be done. What if you give the= m a=20 different prio ?? Stef --=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net