I'm using a PRIO qdisc to difeferntiat traffic based on TOS header of
packets.
Works perfectly when application sets TOS (eg ssh/scp).
Works perfectly if I set TOS from PREROUTING chain in mangle table.
Does not work if I set TOS from FORWARD, OUTPUT or POSTROUTING chain
in mangle table.
When I say does-not-work I mean that traffic of that type is not
directed to the SFQ qdisc I have allocated for bulk traffic after
being marked with:
iptables -t mangle -N tosbulk
iptables -t mangle -A tosbulk -j TOS --set-tos Maximize-Throughput
iptables -t mangle -A tosbulk -j ACCEPT
iptables -t mangle -N settos
iptables -t mangle -A settos -p TCP --sport 80 -j tosbulk
iptables -t mangle -F OUTPUT
iptables -t mangle -A OUTPUT -j settos
Any idea how to fix?
- Rob.
--
Robert Collier
[EMAIL PROTECTED]