From: Oscar Mechanic <oscar@ufomechanic.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] throtling bandwidth
Date: Thu, 10 Nov 2005 17:16:37 +0000 [thread overview]
Message-ID: <1131642997.7845.70.camel@OSCARLAPLIN> (raw)
In-Reply-To: <20051110155755.GA5954@tranquility.scriptkitchen.com>
Sorry its ipt_quota
iptables -I FORWARD 1 -s 192.16.0.1/24 -m quota --quota 6000 -j ACCEPT
iptables -I FORWARD 2 -s 192.16.0.1/24 -j DENY
All of 192.16.0.0 will be limited to 6M after which they get nothing
more clever things are possible but I will leave it too you.
quota
Implements network quotas by decrementing a byte counter with
each
packet.
--quota bytes
The quota in bytes.
On Thu, 2005-11-10 at 12:09 -0500, Payal Rathod wrote:
> On Thu, Nov 10, 2005 at 04:06:50PM +0000, Oscar Mechanic wrote:
> > Instead of restricting the speed use iptables ipt_account to restrict
> > usage and the put in a script on cron to zero the counters. That way you
> > get to budget and the users get best experience.
> >
> <lartc@mailman.ds9a.nl>
> Sorry didn't get what you meant. What exactly is ipt_account? Can you
> give an example?
> Thanks in advance.
> With warm regards,
> -Payal
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-11-10 17:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-10 15:57 [LARTC] throtling bandwidth Payal Rathod
2005-11-10 16:06 ` Oscar Mechanic
2005-11-10 16:09 ` Brett Charbeneau
2005-11-10 17:07 ` Payal Rathod
2005-11-10 17:12 ` Brett Charbeneau
2005-11-10 17:16 ` Oscar Mechanic [this message]
2005-11-10 17:26 ` Payal Rathod
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=1131642997.7845.70.camel@OSCARLAPLIN \
--to=oscar@ufomechanic.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox