Hussein_Ghazy
Sep 09, 2013Nimbostratus
Limit users to 50 MB
Hi All,
i would like to limit users (per ip address) to only download from the VS 50MB (per day, per week, or per month), more than this will be dropped.
Regards
I see a few potential issues with that approach:
You'd be buffering every response payload which will use more memory and add latency to every connection.
You'd be enforcing a per-TCP connection bandwidth limit--not per client IP over a time span of days, weeks or months.
If you did want to implement this, I'd suggest storing the client IP address and bytes in (thanks Nitass for the correction :)) in table entries. But again, this could use a lot of memory if you're tracking a lot of client IP addresses.
https://devcentral.f5.com/wiki/iRules.table.ashx
Aaron