IMQ page
Quoted 5 lines · Dr Aldo Medina
The IMQ page (http://luxik.cdi.cz/~patrick/imq/) has some rather obvios problems in the examples used. I wrote Patrick McHardy without getting an answer (yet) so I tought this was a good place to ask. Does anybody know how to contact him about this?
Sorry, i didn't receive email from you .. maybe my spamfilter ate it. You are welcome to send me corrections, preferably as diff to the original html.
Bye
Patrick
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines · Patrick McHardy
Quoted 5 lines · Dr Aldo Medina
The IMQ page (http://luxik.cdi.cz/~patrick/imq/) has some rather obvios problems in the examples used. I wrote Patrick McHardy without getting an answer (yet) so I tought this was a good place to ask. Does anybody know how to contact him about this?
Quoted 6 lines
Sorry, i didn't receive email from you .. maybe my spamfilter ate it. You are welcome to send me corrections, preferably as diff to the original html.
Bye
Patrick
They're really minor changes. I'm almost ashamed of this :-)
136c136
< <pre> modprobe imq numdevs=1<br><br> tc qdisc add dev imq0 handle 1: root htb default 1<br> tc class add dev imq0 parent 1: classid 1:1 htb rate 1mbit<br><br> tc qdisc add dev imq0 parent 1:1 handle 10: htb default 5<br> tc class add dev imq0 parent 10: handle 10:1 htb rate 256kbit burst 30k prio 1<br> tc class add dev imq0 parent 10: handle 10:2 htb rate 256kbit burst 30k prio 2<br> tc class add dev imq0 parent 10: handle 10:5 htb rate 1mbit prio 3<br><br> tc qdisc add dev imq0 parent 10:1 handle 21:0 pfifo<br> tc qdisc add dev imq0 parent 10:2 handle 22:0 sfq<br> tc qdisc add dev imq0 parent 10:3 handle 23:0 sfq<br><br> tc filter add dev imq0 protocol ip pref 1 parent 10: handle 1 fw classid 10:1<br> tc filter add dev imq0 protocol ip pref 2 parent 10: handle 2 fw classid 10:2<br><br> iptables -t mangle -A PREROUTING -i ppp0 -j IMQ<br> iptables -t mangle -A PREROUTING -i ppp0 -p tcp -m tos --tos minimize-delay -m state --state ESTABLISHED -j MARK --set-mark 1<br> iptables -t mangle -A PREROUTING -i ppp0 -p tcp --sport 80 --dport 1024: -m state --state ESTABLISHED -j MARK --set-mark 2<br><br> ip link set imq0 up<br> </pre>
---
Quoted 1 line
<pre> modprobe imq numdevs=1<br> <br> tc qdisc add dev imq0 handle 1: root htb default 1<br> tc class add dev imq0 parent 1: classid 1:1 htb rate 1mbit<br><br> tc qdisc add dev imq0 parent 1:1 c 10: htb default 5<br> tc class add dev imq0 parent 10: classid 10:1 htb rate 256kbit ceil 1mbit burst 30k prio 1<br> tc class add dev imq0 parent 10: classid 10:2 htb rate 256kbit ceil 1mbit burst 30k prio 2<br> tc class add dev imq0 parent 10: classid 10:5 htb rate 256kbit ceil 1mbit prio 3<br><br> tc qdisc add dev imq0 parent 10:1 handle 21:0 pfifo<br> tc qdisc add dev imq0 parent 10:2 handle 22:0 sfq<br> tc qdisc add dev imq0 parent 10:5 handle 23:0 sfq<br><br> tc filter add dev imq0 protocol ip pref 1 parent 10: handle 1 fw classid 10:1<br> tc filter add dev imq0 protocol ip pref 2 parent 10: handle 2 fw classid 10:2<br><br> iptables -t mangle -A PREROUTING -i ppp0 -j IMQ<br> iptables -t mangle -A PREROUTING -i ppp0 -p tcp -m tos --tos minimize-delay -m state --state ESTABLISHED -j MARK --set-mark 1<br> iptables -t mangle -A PREROUTING -i ppp0 -p tcp --sport 80 --dport 1024: -m state --state ESTABLISHED -j MARK --set-mark 2<br><br> ip link set imq0 up<br> </pre>
Quoted 10 lines · Patrick McHardy
Quoted 5 lines · Dr Aldo Medina
The IMQ page (http://luxik.cdi.cz/~patrick/imq/) has some rather obvios problems in the examples used. I wrote Patrick McHardy without getting an answer (yet) so I tought this was a good place to ask. Does anybody know how to contact him about this?
Quoted 6 lines
Sorry, i didn't receive email from you .. maybe my spamfilter ate it. You are welcome to send me corrections, preferably as diff to the original html.
Bye
Patrick
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/