Forum Discussion
Andrés_85197
Nimbostratus
Mar 16, 2007v9 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?
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set str "[TCP::payload ]"
if { $str contains "AAA" } {
set num [ findstr "$str" "AAA:" 7 \n ]
}
persist uie $num 300
TCP::release
}
I think than it could work on this way:
accumulate
if { tcp_content contains "MSISDN"}
set num [findstr[tcp_content] "MSISDN:" 7\n]
persist simple $num 300
discard
but "findstr" and "set" commands not works in V4
Thanks
Andres
No RepliesBe the first to reply
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