This is a beta version of the Linux Bandwidth Arbitrator Rate limiting tool. It is not GPL code, however you are free to use this version if you agree to not copy or reproduce it, or incorporate into a commercial product. art@apconnections.net Features 1) Select users by MAC address or IP address 2) Set bandwidth usage alloted by Hour , Day or Month 3) Set e-mail address to contact when usage level is exceeded 4) Two usage levels per interval 5) Set a bandwidth limit to restrict user to when they exceed usage level for time period 6) Automatically removes usage restriction at the end of the time period 7) Saves current usage data to survive a re-boot 8) you may need to adminster an SMTP server for sending of alarm mail to be delivered correctly. Prerequisite: Up and running Linux Bandwidth Arbitrator To start create /etc/userlimit.conf see example below run.. tail -n 1 -f /tmp/oneshothost | /art/userlimit Sample configuration File and description of fields. IP%10.0.0.4&INTERVAL%HOUR&WARN1%2000%art@apconnections.net%You Are A toad%250 IP%10.0.0.1&INTERVAL%DAY&WARN1%3000%stevew@apconnections.net%You Are A toad2%100&WARN2%60000%jerry@apconnections.net%You Are A toad3%120 MAC%0:2:3f:37:29:11&INTERVAL%DAY&WARN1%22000%mail@this%I hate you%200 IP/MAC is the type of address followed by a "%" and then the MAC or IP address , notice no leading 0's on the MAC same format we enter from the GUI now. INTERVAL can be MON,DAY or HOUR that is how long we count bytes for this user before starting over WARN1 is the first byte count limit, we take action when this user has moved this many total bytes in and out, WARN1 it has the following subfields seperated by "%" the number of bytes needed to set off this warning (bi-directional total) the email of the person to send a memo to the text of the e-mail and the last number is the kbs to set a limit to for this user. WARN2 just like WARN1 a second level of warning.