From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Limit Bandwidth + limiting the amount of Bytes to download
Date: Wed, 28 May 2003 12:17:13 +0000 [thread overview]
Message-ID: <marc-lartc-105421074231112@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105419609920814@msgid-missing>
On Thursday 29 May 2003 10:51, Rio Martin. wrote:
> Stef Coene wrote:
> > On Thursday 29 May 2003 02:21, Osgaldo Suanzes wrote:
> > My ISP is doing it, so it can be done :) They don't block me, but the
> > speed
> > goes from 4mbit to 128kbit.
> > You can do it with iptables counters. Read them each 15 minutes and
> > count the
> > bytes. And trigger a script if it reaches it's maximum. I don't think
> > it's
> > hard to implement. If you do this, make sure you can detect a counter
> > reset.
>
> So that means you re guaranteed 128Kbit, and burstable to 4Mbps until you
> reaches the limit for your quota. Cool stef (:
The quota is 10GB up + down and max 2GB up for the last 30 days. I'm not a
big downloader so I almost never hit the maximum.
> btw, how about my question regarding QoS stef? i need to implement QoS for
> my network. There are still kazaa users and getting worse lately.
> I need to limit all tcp connection for my network only 40Kbit for single
> TCP stream eventhough they have huge bandwidth (256Kbps).
If kazaa is your problem, you should that traffic in a different class. Maybe
the layer 7 filter can help : http://l7-filter.sourceforge.net/. You can use
it match kazaa traffic and put it a seprate, low bandwidth class.
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/
next prev parent reply other threads:[~2003-05-28 12:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-28 8:13 [LARTC] Limit Bandwidth + limiting the amount of Bytes to download Stef Coene
2003-05-28 12:17 ` Stef Coene [this message]
2003-05-29 0:21 ` Osgaldo Suanzes
2003-05-29 8:51 ` [LARTC] Limit Bandwidth + limiting the amount of Bytes to Rio Martin.
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-105421074231112@msgid-missing \
--to=stef.coene@docum.org \
--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.