HTB and imq was used to control traffic. AC="tc class add dev eth0 parent" $AC 1: classid 1:1 htb rate 100kbps burst 2k $AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps burst 2k prio 1 $AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps burst 2k prio 1 please tell me the range of "prio" _________________________________________________________ Do You Yahoo!? 新鲜到底,娱乐到家 - 雅虎推出免费娱乐电子周报! http://cn.ent.yahoo.com/newsletter/index.html _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> HTB and imq was used to control traffic. > AC="tc class add dev eth0 parent" > $AC 1: classid 1:1 htb rate 100kbps burst 2k > $AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps > burst 2k prio 1 > $AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps > burst 2k prio 1 > > please tell me the range of "prio"1 to 8, 1 being the highest, 8 - the lowest. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 17 September 2002 11:50, Nickola Kolev wrote:> > please tell me the range of "prio" > 1 to 8, 1 being the highest, 8 - the lowest.0 is highest as I know ... but I''ve also an question: is there if difference if I have 2 chains and use prio 0 and 7 or prio 0 and 1 ? - -- Regards, Robert - ---------------- Robert Penz robert.penz@outertech.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9hv008tTsQqJDUBMRAuJIAJ90P6MUqvNw2V1sm9qLtPtncGXBnQCeNVFT 9DbmTUzKwv0/eMwgdg2n/lo=KhJa -----END PGP SIGNATURE----- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
HTB Prios are 0-6 by default (htb 3.6), but afaik u can increase this number at compile-time. btw: is it true that you''re a "Spamware site or vendor"? at least my Spam-Assasin (which consults 2 rbl-hosts...) declares you as such...> SPAM: -------------------- Start SpamAssassin results > ---------------------- SPAM: This mail is probably spam. The original > message has been altered SPAM: so you can recognise or block similar > unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more > details. > SPAM: > SPAM: Content analysis details: (9.5 hits, 5 required) > SPAM: Hit! (2.0 points) Forged yahoo.com ''Received:'' header found SPAM: > Hit! (2.0 points) Received via a relay in relays.osirusoft.com SPAM: > [RBL check: found 202.41.99.202.relays.osirusoft.com., > type: 127.0.0.6] SPAM: Hit! (0.5 points) Received via a relay in > ipwhois.rfc-ignorant.org SPAM: [RBL check: found > 141.128.135.61.ipwhois.rfc-ignorant.org., type: 127.0.0.6] SPAM: Hit! > (5.0 points) DNSBL: sender is a Spamware site or vendor SPAM: > SPAM: -------------------- End of SpamAssassin results > --------------------- > > HTB and imq was used to control traffic. > AC="tc class add dev eth0 parent" > $AC 1: classid 1:1 htb rate 100kbps burst 2k > $AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps > burst 2k prio 1 > $AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps > burst 2k prio 1 > > please tell me the range of "prio" > > > > > _________________________________________________________ > Do You Yahoo!? > ÐÂÏʵ½µ×,ÓéÀÖµ½¼Ò - ÑÅ»¢ÍƳöÃâ·ÑÓéÀÖµç×ÓÖܱ¨! > http://cn.ent.yahoo.com/newsletter/index.html > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 17 September 2002 09:53, hanhbnetfilter wrote:> HTB and imq was used to control traffic. > AC="tc class add dev eth0 parent" > $AC 1: classid 1:1 htb rate 100kbps burst 2k > $AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps > burst 2k prio 1 > $AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps > burst 2k prio 1 > > please tell me the range of "prio"htb2 : 0-3 htb3 : 0-7 Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 17 September 2002 12:00, Robert Penz wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tuesday 17 September 2002 11:50, Nickola Kolev wrote: > > > please tell me the range of "prio" > > > > 1 to 8, 1 being the highest, 8 - the lowest. > > 0 is highest as I know ... > > but I''ve also an question: > > is there if difference if I have 2 chains and use prio 0 and 7 or prio 0 > and 1 ?No Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> Aren''t you talking about the depth of the classes?Euh stupid me. Indeed.> Btw, several months ago I tried to hack my kernel (2.4.17 at that time) > and changed the maxdepth to 7... Guess what happenned? > It went OOOPS''ing... Anyway. That was HTB2.In htb3 you can change it if you want : htb3.6_2.4.17.diff:+#define TC_HTB_MAXDEPTH 8> So, now with htb3 I can use maximum depth of classes = 7, right?Yep. Or change it in the source to an other value. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Earlier Freeswan also required patching of kernel. Recently, however, an rpm was released which makes it easy to install. many users may not have installed development libraries to do a recompile. Can someone who is good at it create and publish the rpms of kernel, iproute2 and tc patched for htb please? Mohan -----Original Message----- From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On Behalf Of Stef Coene Sent: 17 September 2002 22:46 To: Robert Penz; lartc@mailman.ds9a.nl Subject: Re: [LARTC] the range of HTB''s prio On Tuesday 17 September 2002 12:00, Robert Penz wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tuesday 17 September 2002 11:50, Nickola Kolev wrote: > > > please tell me the range of "prio" > > > > 1 to 8, 1 being the highest, 8 - the lowest. > > 0 is highest as I know ... > > but I''ve also an question: > > is there if difference if I have 2 chains and use prio 0 and 7 or prio 0 > and 1 ?No Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> Earlier Freeswan also required patching of kernel. Recently, however, anrpm> was released which makes it easy to install. many users may not have > installed development libraries to do a recompile. Can someone who is good > at it create and publish the rpms of kernel, iproute2 and tc patched forhtb> please?For which distribution ? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/