* [LARTC] Re: IMQ page
@ 2003-04-25 6:55 Patrick McHardy
2003-04-28 3:56 ` Dr Aldo Medina
2003-04-28 3:56 ` Dr Aldo Medina
0 siblings, 2 replies; 3+ messages in thread
From: Patrick McHardy @ 2003-04-25 6:55 UTC (permalink / raw)
To: lartc
Dr Aldo Medina wrote:
>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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LARTC] Re: IMQ page
2003-04-25 6:55 [LARTC] Re: IMQ page Patrick McHardy
@ 2003-04-28 3:56 ` Dr Aldo Medina
2003-04-28 3:56 ` Dr Aldo Medina
1 sibling, 0 replies; 3+ messages in thread
From: Dr Aldo Medina @ 2003-04-28 3:56 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
El vie, 25-04-2003 a las 01:55, Patrick McHardy escribió:
>
>
> Dr Aldo Medina wrote:
>
> >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
They're really minor changes. I'm almost ashamed of this :-)
[-- Attachment #2: imq.html.diff --]
[-- Type: text/plain, Size: 2352 bytes --]
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>
---
> <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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LARTC] Re: IMQ page
2003-04-25 6:55 [LARTC] Re: IMQ page Patrick McHardy
2003-04-28 3:56 ` Dr Aldo Medina
@ 2003-04-28 3:56 ` Dr Aldo Medina
1 sibling, 0 replies; 3+ messages in thread
From: Dr Aldo Medina @ 2003-04-28 3:56 UTC (permalink / raw)
To: lartc
El vie, 25-04-2003 a las 01:55, Patrick McHardy escribió:
>
>
> Dr Aldo Medina wrote:
>
> >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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-28 3:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-25 6:55 [LARTC] Re: IMQ page Patrick McHardy
2003-04-28 3:56 ` Dr Aldo Medina
2003-04-28 3:56 ` Dr Aldo Medina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.