oscillot / OneTimeAtBandCap

This is an automated bandwidth throttler that runs on high end routers flashed with dd-wrt builds that include perl. It calculates the bandwidth allotted in a billing cycle, how much bandwidth has been used cycle to date and throttles the downstream to attempt to stay below your ISPs bandwidth cap. Calculations are made using the combined upstream and downstream but throttling is done using downstream only for performance purposes. As such, this utility is not meant for for people whose upstream represents a large portion of their traffic. In time, a version that runs on a client machine and accesses the router over SSH or telnet is planned.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open the Perl file in a text editor and change the constants to reflect the day that your billing cycle starts and the monthly cap to your bandwidth. (It may be advisable to lowball your cap by 1/31st of the cap to be safe).

THIS IS CURRENTLY IN INTERNAL TESTING ONLY AND COMES WITH ABSOLUTELY NO WARRANTY WHATSOEVER. DO NOT RUN THIS ON ANY PRODUCTION SYSTEM. I AM NOT RESPONSIBLE IF THIS BRICKS OR BURNS OUT YOUR ROUTER. IF TURTLES ATTACK YOU WITH A SLOW LASER OF VENGEANCE, THAT WAS ME. ANYTHING ELSE YOU HOLD YOURSELF RESPONSIBLE FOR.

About

This is an automated bandwidth throttler that runs on high end routers flashed with dd-wrt builds that include perl. It calculates the bandwidth allotted in a billing cycle, how much bandwidth has been used cycle to date and throttles the downstream to attempt to stay below your ISPs bandwidth cap. Calculations are made using the combined upstream and downstream but throttling is done using downstream only for performance purposes. As such, this utility is not meant for for people whose upstream represents a large portion of their traffic. In time, a version that runs on a client machine and accesses the router over SSH or telnet is planned.