Im wondering if there is a way (Apache or non-Apache) to limit bandwitdh use per user ( IPadress)? Im currently running a web proxy on my server wich is connected via a 100 mbps port. Some users are using the proxy to up/download files to sites like megaupload, wich costs me a LOT of bandwitdh! I figured i could fix this with mod_bandwidth on apache, but this only limits the traffic directly to the server ( direct downloads) but NOT the traffic that goes TROUGH my proxy. Does anyone have a suggestion on how to limit bandwitdh use? Preferrably by setting a variable amount of traffic per IP per day. Ps. im running http://www.jmarshall.com/tools/cgiproxy/
you need to install mod bandwidth most apache have them, it can be downloaded from here: apache.org execution instructions are here: http://www.vttoth.com/bandwidth.htm
Assuming you're running Linux, the best way is probably using tc (traffic control). Plenty of docs over at http://www.lartc.org/