From: Dr Aldo Medina <aldomedina@hotpop.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: IMQ page
Date: Mon, 28 Apr 2003 03:56:26 +0000 [thread overview]
Message-ID: <marc-lartc-105150274923690@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105125379514152@msgid-missing>
[-- 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>
next prev parent reply other threads:[~2003-04-28 3:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 6:55 [LARTC] Re: IMQ page Patrick McHardy
2003-04-28 3:56 ` Dr Aldo Medina [this message]
2003-04-28 3:56 ` Dr Aldo Medina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-105150274923690@msgid-missing \
--to=aldomedina@hotpop.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.