README
WHTB-tools (v-0.1 alpha) is an aplication created to
help you to generate on the web browser config files
for HTB-tools (by arny).
This software is under de GNU license. Fell free to
use/modify/recommend to other :).
Any sugestions/remarks are welcome at
dan.adrian () gmail com or arny () arny ro
How to use?
First of all you must generate config file by clicking
"Add new config" from menu.
After input the name of interface where you want make
shapping just click "save".
Now refresh the page and select from "Aviabile config
files" (from menu) interface sufixed by -qos.cfg.
Here you can add new shapping class by clicking "Add
class" from the top of page.
Complet the form then click "save". Don't forget: all
fields are required!
You cand repet this step if you want add more classes.
After you generate a first class you can add client/s.
An client is a "rule" into shapping qdisc, indentified
by filter by match/s.
The matchs can be: src, dst and mark.
You can use more then one match for every client (rule)
but not least than one.
For example to shapping connections form an LAN machine
with ip 10.0.0.10 to any destination you will type into
scr field: 10.0.0.10/32.So all incoming trafic from any
location and outgoing from shapped interface to this ip
addres will be shapped.
To shape C class scr will be: 10.0.0.0/24.
If you want to shape incoming trafic from an specific
adress and port match scr must be: address port. and
for many ports: adress port1,port2,port3,etc
For any adress you will type 0.0.0.0 and,port1,port2
Mark section of match allow to shape marked pachets
(pachet can be marked with iptables).
ALL config files are saved into "conf" directory for
YOUR WWW directory. Also in config details you can click
on "Show config file" from the top of page to see
generated config file. You can copy and paste it in
another file.
Don't forget to make conf directory readable/writeable
by web server. (chown apache.apache conf)
Another think. I strongly recommend you to make the WHTB-tools directory password protected or remove the directory after you generate the conf's.
For other informations about how it works HTB-tools please visit http://htb-tools.arny.ro
Enjoy,
Dan Adrian (zapa)
