Forum Discussion
jurgenvdmark_14
Dec 11, 2018Nimbostratus
you can use tables to count the amount of attempts within a given time frame. Set the timeframe to 1s for conn/s. (https://devcentral.f5.com/wiki/iRules.table.ashx)
with the table incr command you can easily increase the counter for every request to /login.aspx
You need to use the -notouch option to not update the timestamp when you increase the counter.
When you reach the limit you can redirect to a sorry page with HTTP::redirect command
Hope this helps