Forum Discussion
Teivin
Nimbostratus
Feb 22, 2021Rate-limit based on User-Agent String
Hello, below is the code I'm using to accomplish this. Right now, the count is timing out every second instead of every 360 seconds as listed below. Does anyone see why this would happen? when ...
boneyard
MVP
Feb 27, 2021i dont do iRules well from my mind but i feel there is something tricky with creating tables based on the time.
table set "Count_[HTTP::header User-Agent]_${epoch}" 1 indef $UAStimeout
doesnt that generate a new table like with every new request on a different time?
if i would trouble shoot this i'd add some log lines during the checking and creating of tables to see the values that are used and returned.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects