Wonder Shaper: limit interface bandwidth usage

cool_penguin_smallWonder Shaper can control the bandwidth usage of an interface and balance uplink downlink speeds. The intention is similar to tools like NetHogs or trickle. The utility is a shell script that uses tc for traffic shaping and QoS for an interface. Outgoing requests are placed in queues of different priorities and incoming ones are controlled by packet dropping.

The stated goals of the project are:

  • Maintain low latency for interactive traffic. Services like Telnet or SSH should not appear sluggish.
  • Allow surfing at reasonable speeds during upload and download.
  • Make sure uploads don’t harm downloads, and vice versa.

Installation

To install Wonder Shaper on Ubuntu:

$ sudo apt-get install wondershaper

Usage

  • Show the status of traffic shaping on an interface
    $ wondershaper wlan0
  • Remove traffic shaping from an interface
    $ wondershaper clear wlan0
  • Shape traffic for an interface by specifying downlink and uplink speeds in kilobits per second
    $ wondershaper [ interface ] [ downlink ] [ uplink ]
    e.g.
    $ wondershaper wlan0 100000 20000

Webpage: Wonder Shaper

Comment

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

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 )

Google+ photo

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

Connecting to %s