Forum Discussion
sara_phx_135826
Nimbostratus
Oct 16, 2013Rate-Limiting Based on String
I'm trying to create an iRule in ASM that can help me rate-limit traffic based on the following:
anything requesting /unit-rates/ and /search-results/, 5 requests/second/ip and 10 requests/secon...
JRahm
Admin
Oct 17, 2013Take a look at the DNS flood protection iRule in the codeshare. Minor modifications should be necessary (HTTP_REQUEST instead of CLIENT_DATA) and you might not count at all unless HTTP::path contains /unit-rates/ or /search-results/. Take a shot and post back if you get stuck.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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