Pejman Moghadam (pmoghadam[at]yahoo[dot]com)
Last update: 2008-11-05
BWShape is a simple ncurses-base front-end for linux tc (traffic control) using HTB (Hierarchical Token Bucket).
It is released under GPLv3(GNU General Public License).
Latest version download : bwshape-0.3.tar.gz
Prerequisites :
iptables: http://www.netfilter.org/
htb tc: http://luxik.cdi.cz/~devik/qos/htb/
cdialog: http://invisible-island.net/dialog/
Installation progress for Slackware :
tar zxf bwshape-0.3.tar.gz
cd bwshape-0.3
cp bwshape /usr/local/sbin/
chmod +x /usr/local/sbin/bwshape
cp rc.bwshape /etc/rc.d/
chmod +x /etc/rc.d/rc.bwshape
cat >> /etc/rc.d/rc.local <<EOF
if [ -x /etc/rc.d/rc.bwshape ]; then
/etc/rc.d/rc.bwshape start
fi
EOF
Edit /etc/rc.d/rc.bwshape and change interface names as appropriate to your network:
# General settings
userside="eth1"
inetside="eth0"
Just run bwshape and enjoy the ride ;-) and please DO NOT forget to post any feature requests or bug reports to me (pmoghadam[at]yahoo[dot]com).