Forum Discussion
F5 ASM Rate limit Requests based on Source IP
We have a situation where we would like to limit the number of requests form a particular IP to a web server seated behind ASM to 1 request per Source IP per second. Is this configuration option available via ASM configuration?
- PeteWhiteEmployee
The short answer is no - you can do that fairly easily via iRules and the table ie add a table entry with a 1 second lifetime and if the client IP is present then deny access
pseudocode:
when HTTP_REQUEST
if table entry
drop/respond
else
add entry to table
endif
endwhen
Do you want to do this for ALL clients or just a specific one?
Recent Discussions
Related Content
* 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