Newest Industry

Evolving the Online Performance Experience

Traffic Shaping with tc

leave a comment »

I have discovered a little secret of Linux today: tc. The Linux Advanced Routing & Traffic Control project (here) allows you to shape traffic in any way that you want. In most cases, it is used in a situation where a multi-homed Linux box is used as firewall/router.

I have activated it on my Web server, limiting uplink/downlink speeds to 256kbps. I am using this in combination with the rate-limiting feature in iptables to control the morons. Limiting bandwidth to 256kbps leaves me with enough overhead to get in and control the machine, even when the morons think that they are flooding me with traffic.

I really suggest that you look into this, especially if you are in a bandwidth-limited environment.


Technorati: , , , ,

Advertisement

Written by Stephen

July 6 2005 at 22:16

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 269 other followers