htb-gen is a scalable, user-friendly software that assists with bandwidth management.
With the htb-gen, you can remotely manage your network using the web-based frontend for configuration. It is bash-based, making it possible to work with embedded routers/firewalls, whether wired or wireless. The software comes with two backends - one that generates raw tc commands and the other that generates htb-init conf files for easy integration.
Packet classification in htb-gen is done using iptables. The software's requirements include bash, QoS htb kernel support, iproute2 tc, iptables, and htb-init script (optional). To assign bandwidth for each host, htb-gen divides the host's bandwidth into priority traffic and junk traffic. Priority traffic includes packets smaller than 100bytes, ICMP traffic, UDP traffic, and some TCP ports, among others. The Junk traffic includes all traffic that does not match the above categories, such as Emule, torrent, Kazaa, and Gnutella.
By default, the host's bandwidth is shared between priority and Junk traffic, but the script allows priority traffic to take up to 90% of the bandwidth until it ends. This percentage can be modified by adjusting the 'rate_dfl_percent' value in conf. Additionally, tc batch mode is supported, allowing for batched operations of both iptables and tc.
Per-host P2P percent of rate assignation is supported, and users can define prio_tcp_ports, prio_udp_ports, prio_protos, and prio_helpers for each client. The htb-gen release also comes with a half-coded PHP-based Web front-end built with PEAR Quick Form. The latest version has several new features, such as support for multiple network interfaces, multiple LANs and ISPs, and more.
Version 0.9b-1: N/A