ancanada_4516
Mar 01, 2007Historic F5 Account
v9 irule to v4 conversion
Hi,
We did de irule below in v9, but we have to deploy it also in v4 boxes. I this that universal persistance is not supported in v.4. Can you advice to re-create it in v.4?
Thanks,
AC
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set num [expr int(rand()*1000)]
set str "[TCP::payload ]"
if { $str contains "AAA" } {
set num [ findstr "$str" "AAA:" 7 \n ]
}
persist uie $num 300
TCP::release
}