Koozali.org: home of the SME Server

Announcement: sme traffic shaping script

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Announcement: sme traffic shaping script
« on: November 06, 2005, 09:30:11 PM »
Hi, at:
www.hanscees.com/sme7/wondershaperbeefedup.html

I have put a script to base your home-brewn trafficshaping on. I have written it for a specific purpose: to restrict the upload of my local webserver, so we can still surf to the internet. Without alteration, that is what it will do.

However, I have set the script up with much documentation and examples so you can base your own purpose traffic-shaping on it rather easily. So it is not a ready-contrib, but a buildingblock to tinker with yourself. But a damn useful one I think.


The HTBWondershaper script gives you the tools to:
- guarantee some traffic specific bandwidth with HTB filter
- restict specific traffic to limited bandwidth
- to prioritise specific traffic above other traffic
- The rules are set using iptables commands

In lawmens words:
- you can restrict networks/hosts up/download
- you can restrict specific traffic up/down
- you can restrict anything that iptables can filter. So even size of packets, based on time of day and so on.

The script is called HTBWonderhaper and can be found here directly:
www.hanscees.com/sme7/HTBWondershaper

Please let me know if you use it or have suggestions. I won't hold it against you if you improve it!

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline gregswallow

  • *
  • 651
  • +1/-0
Announcement: sme traffic shaping script
« Reply #1 on: November 06, 2005, 10:54:55 PM »
There was a new feature request for this very same thing.  Have a look and post some comments here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1283591&group_id=96750&atid=615772

I had made an rpm that I think Gordon has updated/improved.  Maybe you can help turn it into a finished product. :-)