Code Monkey home page Code Monkey logo

wondershaper's Introduction

The Wonder Shaper 1.3

Copyright

bert hubert [email protected] http://lartc.org/wondershaper (c) Copyright 2002 magnific0 http://www.github.com/magnific0 (c) Copyright 2012 Simon Séhier [email protected] - Camptocamp (c) Copyright 2015 - HTB Licenced under the GPL

About

Wonder Shaper is a script that allow the user to limit the bandwidth of one or more network adapters. It does so by using iproute's tc command, but greatly simplifies its operation. Wonder Shaper was first released by Bert Hubert in 2002, but the original version lacked a command-line interface, from on version 1.2 this feature was added. From version 1.3, the HTB queing is used instead of CBQ, allowing better bandwith managment on high speed (above ten megabits) links. The original README is a rather lengthy document and is saved under README.old, for those who'd like some more background information. Except any notes on operation this document is considered up-to-date.

Installation

You can run wondershaper (as any user with sufficient permissions) without installation. However if you want to install the script onto your system you can simply run:

    sudo make install

Usage

wondershaper [-hcs] [-a <adapter>] [-d <rate>] [-u <rate>]

The following command line options are allowed:

  • -h Display help

  • -a <adapter> Set the adpter

  • -d <rate> Set maximum download rate (in Kbps)

  • -u <rate> Set maximum upload rate (in Kbps)

  • -p Use the presets in /etc/conf.d/wondershaper.conf

  • -c Clear the limits from adapter

  • -s Show the current status of adapter

The different modes are:

wondershaper -a <adapter> -d <rate> -u <rate>

wondershaper -c -a <adapter>

wondershaper -s -a <adapter>

Some examples:

wondershaper -a eth0 -d 1024 -u 512

wondershaper -a eth1 -d 94000 -u 94000  # could be used on a 100Mbps link

wondershaper -c -a eth0

wondershaper's People

Contributors

magnific0 avatar saimonn avatar

Watchers

pi11 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.