I need a script that cut the bandwidth from 256kbs to 150kbs (maybe with simple queues) if one user with an “X” ip address (for example: 192.168.12.100) is using full dadicated download bandwidth 256kbs for an interval of time 2 min.
If is it possible after 10 min to bring again its initial bandwidth (256kb/s)
I don’t think script would be a good solution in this case. Just use queue to limit at 150k and burst value to 256k. That will do exactly what you want.