I have packaged up my work (with source code) available at: here
This includes a README.TXT containing all instructions required to setup
your linux based router running the tomato firmware (or any other iptables based device / operating system) to
handle bandwidth monitoring.
The mechanism is generic enough (and source code is in the package) that this should work on any iptables enabled platform.
As promised: enjoy the freedom!