Giter Site home page Giter Site logo

robinsmidsrod / supershaper-soho Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 4.0 25 KB

Packet filtering / QoS setup for typical home/small office

License: GNU General Public License v2.0

Shell 100.00%
traffic-shaping packet-scheduler bash-script linux-kernel initscript qos

supershaper-soho's Introduction

SuperShaper-SOHO

SuperShaper-SOHO is a traffic shaping setup for DSL connections which prioritizes VoIP and interactive traffic, and makes sure P2P traffic doesn't saturate your uplink. With this setup you should get very low latency on interactive traffic (e.g. SSH) while having e.g. your cloud backup fully saturate your upstream. You should no longer need to set any upload limits in your applications.

You might've heard references here and there to the LARTC Wondershaper script which used the even older CBQ scheduler. You could think of this as a modern and improved replacement for that script.

Requirements

  • iproute2 (tc command)
  • Linux kernel with support for HFSC and fq_codel schedulers (3.6 should work, but use 3.12 or later for best performance)

Ubuntu 14.04 is known to work and is the author's primary development platform. It's been in daily use by the author for a number of years.

Installation

Modify the variables on top of supershaper.init and copy this file to /etc/init.d/supershaper. Make sure that the file has executable bits set. Then make sure it starts up automatically at startup.

On Ubuntu this is usually done like this:

$ sudo cp supershaper.init /etc/init.d/supershaper
$ sudo chown root:root /etc/init.d/supershaper
$ sudo chmod 0755 /etc/init.d/supershaper
$ sudo update-rc.d supershaper defaults

If you're using a PPP-based connection you might also want to ensure it is started every time your connection is established by symlinking it into /etc/ppp/ip-up.d/. There shouldn't be any need to run it when the connection is ended, as queueing disciplines are automatically removed when an interface is destroyed.

On Ubuntu this is usually done like this:

$ sudo ln -sf /etc/init.d/supershaper /etc/ppp/ip-up.d/supershaper

Support

If you require support for this product or have other contracting assignments, please contact the author directly via email.

Author, copyright and license

See the main script and the file LICENSE for details.

supershaper-soho's People

Contributors

robinsmidsrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

supershaper-soho's Issues

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.