sssemil / wrtbwmon

Automatically exported from code.google.com/p/wrtbwmon
0 stars 0 forks source link

Quotas #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is not a problem, just suggesting a future development: how easy/difficult 
would it be to implement per user quotas? If a user exceeds his download/upload 
quota over a period of time, he would be denied access for a certain time.

Other than that I am using your program on my Linksys 160n and it does a fine 
job, thanks a lot.

David

Original issue reported on code.google.com by daviddem...@yahoo.com on 20 Nov 2010 at 7:24

GoogleCodeExporter commented 8 years ago
Hi David, sorry for the delay in getting back to you. I haven't updated 
wrtbwmon in ages and I probably won't be adding new features myself anymore.
Have a look at the file where the usage is stored. You could write a script 
that parses each line and if the usage is above a certain threshold, block the 
user (ie add an iptable rule that blocks forwarding traffic from its mac 
address).

Original comment by emmanuel...@gmail.com on 2 Dec 2010 at 2:49