Alright then, let's go with a quick howTo on how to test the layer7 traffic shaping module on eBox.
You will need to install eBox packages from our unstable branch, so everybody be aware, as its name hints: it's not ready for production yet!!. We still have to make some changes and fix some bugs to consider it stable.
To support l7filter you need l7-protocols, a patched iptables and a patched kernel to support it. I've packaged this software to ease its installation on Ubuntu hardy. The only drawback is I've only compiled the kernel for i386, so if you need to test it on other platform you will have to do it by yourself until I upload it to my ppa.
To install these packages add the following lines to your /etc/apt/sources.list file:
deb http://people.warp.es/~javi/l7kernel ./
deb http://ppa.launchpad.net/ebox-unstable/ubuntu hardy main
Once you have added the apt sources remember to update the cache with:
apt-get update
First of all, we need to install the pactched kernel by running:
sudo apt-get install linux-image-2.6.24-19-l7filter
Now you will have to reboot to be able to use the new kernel.
If you managed to boot with the new kernel, let's install ebox-trafficshaping which will pull the patched iptables and l7protocols:
sudo apt-get install ebox-trafficshaping
If everything goes ok, you will be able to access and configure eBox through the web interface.
Note that the eBox traffic shaping module is meant to be used when your machine is acting as a gateway, and you can shape on internal interfaces for ingress shaping and on external interfaces for egress shaping.
Don't forget you will have to enable the firewall and add rules to accept traffic from your internal networks to internet.
Thanks
P.S: I've just written this pretty fast, apologies for spelling mistakes, typos and unaccurate info.