[TriLUG] limiting bandwidth usage?
Chris MacLeod @ Home
stick at miscellaneous.net
Wed Jun 19 15:41:43 EDT 2002
I think you can do rate throttling with iptables, not sure about ipchains.
I have this in my iptables script (excuse the variables)
$IPTABLES -A CHECK -i $EXT_IF -p tcp --dport $UNPRIV_PORTS ! --syn -m
limit --limit 10/s -j DROP
I also have this in there (but I'm not using it)
/sbin/tc qdisc add dev ppp0 root tbf rate $Kbit latency 15ms burst 1500
but I'm not too sure about that one (it's functionality in my script that
I'm not currently using)
Stick
On Wed, 19 Jun 2002, Chris Merrill wrote:
> I'm looking for something that would allow me to put a
> hard limit on the bandwidth used by a linux box (either
> the entire machine, a single user or single program).
>
> So far, this is all I've found:
> http://www.stewart.com.au/ip_relay/
> (haven't tried it yet)
>
> Anyone have any other suggestions?
>
> *********************************
> Chris Merrill
> cmerrill at nc.rr.com
> *********************************
>
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
> http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
>
>
--
------------------------------------------------------------------------------
Chris MacLeod Systems Administrator
Buildscape.com chrism at buildscape.com
More information about the TriLUG
mailing list