mod_iptos 1.1 review
Downloadmod_iptos can set IPTOS values on outgoing packets to assist traffic shaping. I wanted bandwidth control for a few virtual hosts,
|
|
mod_iptos can set IPTOS values on outgoing packets to assist traffic shaping.
I wanted bandwidth control for a few virtual hosts, but i did not like the userland methods -- they were inaccurate and buggy. I wanted to take advantage of the linux kernel traffic shaping which i was already using for managing my bandwidth costs. All i needed was a way to "paint" some packets from the webserver so that the traffic shaper could handle them appropriately.
I chose to abuse the IPTOS bits ("type of service") to do this. Userland is able to select IPTOS bits via setsockopt. This gives a communication channel between the webserver and the traffic shaper, and makes me happy.
And so mod_iptos was born.
I've since learned that IPTOS are being updated/replaced by something called DIFFSERV... and it sounds cool. But since my hack is in place and working i haven't been motivated to go the next step with this module.
Requirements:
Apache 1.3
mod_iptos 1.1 search tags