Forum Discussion
Kok_Yong_Cheon1
May 17, 2006Historic F5 Account
rediect when ssp tps license hit certain number
Hi,
I would like to achieve the following for LTM:
1) let say the LTM has a total of 1000 SSL TPS license
2) when the ssl tps license being utilized / hit till 950
3) wo...
Deb_Allen_18
May 17, 2006Historic F5 Account
Maybe something like this?
when RULE_INIT {
set ::currentTPS 0
}
when CLIENTSSL_HANDSHAKE {
set redirect_flag 0
set cur_time [clock seconds]
if { $cur_time == $::last_time } {
if { $::currentTPS > 950 } {
set redirect_flag 1
}
incr ::currentTPS
return
} else {
set ::currentTPS 0
}
set ::last_time $cur_time
}
when HTTP_REQUEST {
if { $redirect_flag eq 1 }{
HTTP::redirect http://www.domain.com/sorry.html
}
}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
