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) would want the traffic to be directed to a maintenance page
Any idea/suggestion whether how to achieve the above.
any input/idea is much appreciated.
Thank You
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
}
}
Hi,
I’ve been using sslswamp from http://distcache.sourceforge.net/
It was very useful for me.
tia,