htb-gen 0.8.4 review

Download
by rbytes.net on

htb-gen is meant to be an easy, scalable, yet powerfull, bandwidth management tool

License: GPL (GNU General Public License)
File size: 15K
Developer: Luciano Ruete
0 stars award from rbytes.net

htb-gen is meant to be an easy, scalable, yet powerfull, bandwidth management tool. You can set up/down portions of bandwith for each host or network, that goes trough your firewall/router.

Prioritary traffic(web, mail, gaming, ftp, voip, streaming) is preferred over Junk traffic(kazaa, emule, etc). Also dynamic bandwith borrow and re-assignation is done betwen host thanks to htb boundaries.

A web-frontend for config is avaible as well, so remote management is possible. All bash based so it can be used in embedded routers/firewalls (wired/wireless).

Two backend are aviable:

generates raw tc commands
generates htb-init conf files (util for integration)

The packet clasification is done by iptables

Requirements:
bash
QoS htb kernel support
iproute2 tc
iptables
htb-init script (optional)

How does it work

The bw that you assign for each host is divided like this (this can be easy addapted if you know a litle bit of iptables):

Prio traffic

packets smallest than 100bytes (tcp ACKs, most icmp messages)
all icmp traffic (icmp messages)
all udp traffic (voip, streaming, real time gaiming, etc...)
some tcp ports (seteable in conf file, ie: http,pop3,imap,ssh...)

Default traffic (junk traffic)

all traffic that do not mach any of the above (ie:emule, torrent, kazaa, gnutella...and so on)

By thefault the host bandwidth is shared betwen this two kind of traffic, but the script grants that anytime that i use "prio traffic" it will climb up to 90%, till that 'prio traffic' ends. This % can be modified if you want, see the 'rate_dfl_percet' value in conf. Also is posible to save junk bandwith assigning only a % of host ceil to the dfl traffic, see 'ceil_dfl_percet'. This will help to have several host sharing bw without almost any complaint.

What's New in This Release:
The Web frontend and iptables rules have been reworked.
The Web frontend is more user friendly.
It is safe to push the browser's back button, among other things.
iptables-restore is used now, which is much faster than single iptables commands.
iptables chains have normalized names (all begin with the "htb-gen" prefix).
The htb-stats script is now online referenced and not included in the htb-gen package, because native htb-gen support has been added to the script.
This allows users to keep track of new versions.
There are gral documentation improvements.

htb-gen 0.8.4 keywords