Forum Discussion
complicated connection over time irule
I need to write an irule for use with a single virtual server redirecting traffic to a specific pool based on URI to control traffic in the following ways: 1. limit any public ip addresses to a max of accessing 2 connections per minute with a total of 10 unique connections in one day. 2. Any per ip access attempts more than 3 requests in 10 seconds be black listed. 3. log the above ip addresses in a table allowing admin review and entry removal.
I have been looking through articles and think I have other sources but have not yet had a window to try it in the lab. Any suggestions or links to other articles are greatly appreciated.
only LTM is running on the appliances, TMOS is 11.2
1 Reply
- The_Bhattman
Nimbostratus
Here are some posts that can give you some ideas how to write up the rile you need
https://devcentral.f5.com/questions/randomly-unpredictable-rate-limiting-using-the-irule-irulesvirtual_server_connection_rate_limit_with_tablesashx
https://devcentral.f5.com/articles/v101-irules-rate-limiting-with-the-table-command
https://devcentral.f5.com/wiki/iRules.HTTP-URI-Request-Limiter.ashx?NoRedirect=1&NS=iRules
I hope this helps,
-=Bhattman=-
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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