Forum Discussion
Shin_Kusanagi_8
Feb 01, 2005Historic F5 Account
Any way to keep same valuable over different connections?
Hi,
I want to detect and discard the client which sends too many HTTP requests within specific time period (for ex, 10,000 requests within one minute) by using iRule. However I can not find the way to count the number of request from same client over different tcp connection. If iRule can keep one valuable over different connection, I believe it can makes me very happy. Is there any idea?
Shin
- unRuleY_95363Historic F5 AccountI just realized this post has never been answered.
rule open_conn { when RULE_INIT { set ::total_conns 0 } when SERVER_CONNECTED { incr ::total_conns if { $::total_conns > 100 } { log "Server conns exceeded 100" } } when SERVER_CLOSED { incr ::total_conns -1 } }
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