From: Jerome Petazzoni <skaya@enix.org>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] limiting bandwidth to one IP
Date: Mon, 24 Dec 2001 12:17:47 +0000 [thread overview]
Message-ID: <marc-lartc-100919631906213@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100912617329520@msgid-missing>
> I am testing tc and company tools :-)
> I am trying to limit the download from Internet to one computer.
you might be interested by my bytelimit patch, so I'll do some more
advertistement for it ... :-)
it is a netfilter (iptables) match allowing to do traffic shaping, like
the "limit" match but in bytes/second instead of packets/second. it's
as simple as :
iptables -A FORWARD -d 192.168.23.45 -m bytelimit --rate 10000 -j DROP
this will limit 192.168.23.45 to 10000 bytes/second . every packet
"out of quota" will be dropped.
the patch is at http://etudiant.univ-mlv.fr/~jpetazzo/bytelimit.tgz
feel free to contact me for more info/help about the patch.
Jerome Petazzoni <skaya at enix dot org>
--
Whoever had created humanity had left in a major design flaw. It was its
tendency to bend at the knees.
(Feet of Clay)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
prev parent reply other threads:[~2001-12-24 12:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-23 16:49 [LARTC] limiting bandwidth to one IP Carles Pina i Estany
2001-12-23 19:49 ` Stef Coene
2001-12-23 21:28 ` Stef Coene
2001-12-24 12:17 ` Jerome Petazzoni [this message]
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-100919631906213@msgid-missing \
--to=skaya@enix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox