Displaying 1 result from an estimated 1 matches for "q_2_mark".
2004 Jul 01
0
filter ingress policy rates by packet marks
...ks and at the same time rate them to spcified speed ?
You can do:
tc filter add dev $DEV parent ffff: protocol ip prio 10 u32 \
match ip src $Q_2_HOSTS \
police rate ${Q_2_DOWNLINK_MAX}mbit burst 10k drop flowid :2
and also:
tc filter add dev $DEV protocol ip prio 5 parent 1: \
handle $Q_2_MARK fw classid 1:2
But can you have both commands mixed up so that we drop any incoming packet
marked with $Q_2_MARK when they come at a higher speed than
$Q_2_DOWNLINK_MAX?
If that weren''t possible I think I''d better remove outgoing marked packets
rules for scripting coherence =...