Using iproute2 and netfilter, can anyone explain to me a way to mark packets and throttle them based on port? Ideally I'd like HTTP(80) to have highest priority, VoIP(assume 1400) to have a 2nd priority, MySQL(3389) 3rd priority, FTP(21) fourth, and every thing else lower, such that if someone is playing a game, and then a VoIP app is launched, the game is throttled back to allow the VoIP to suck up as much bandwidth as it needs.
Stats of my system:
-bash-2.05b# uname -a
Linux router 2.4.21-xfs #13 SMP Tue Aug 26 01:46:14 CEST 2003 i586 GNU/Linux
-bash-2.05b# iptables -v
iptables v1.2.9: no command specified
-bash-2.05b# ip -V
ip utility, iproute2-ss010824
-bash-2.05b# tc -V
tc utility, iproute2-ss010824
This is a debian unstable box and I believe it does NOT have HTB so the previous posts I've read don't apply.