Assuming you can't find a Linux program to do it -- and I find that highly doubtful -- you could always go the extreme route, block every port (including HTTP, FTP, etc.) except to a central server which is set as the DMZ, then limit all users' HTTP/FTP/etc. access to a proxy on that server. True, it wouldn't be exactly easy on your server, and theoretically a few packets could get through for torrents, but the number would be so astronomically low I doubt the users would be able to clear 0.2k/s average.