[nzlug] Traffic Limiting
Daniel Pittman
daniel at rimspace.net
Fri Aug 4 23:43:44 NZST 2006
G'day Daniel.
> I have a central server running Ubuntu + Iptables (IP masq) and a
> custom bandwidth monitoring thing. My client is going to monitor
> (manually) the usage of the people that buy internet off him. What i
> need to work out is how to, when the people are over there data
> allocation, limit their bandwidth (ie to that IP address) to 64kb/s
> (like an ISP does)
Read this: http://lartc.org/ - the Linux Advanced Routing and Traffic
Control HOWTO.
That document covers doing *anything* fancy with the Linux IP stack
which, these days, is actually pretty much anything fancy that /can/ be
done with IP.
Also take a look at the netfilter howto and the 'limit' match, which
isn't the right answer, but possibly is an easy one -- and worth
understanding a bit better, so you know why not to use it. :)
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
More information about the NZLUG
mailing list