Forum Discussion
marlon_Gino-gi1
Nimbostratus
Aug 19, 2008persistence based on MSISDN number
hello,
Im new to Irules,
would like to know if there is an Irule that that can persist client connection based on client mobile number or msisdn? the client mobile numb...
marlon_Gino-gi1
Nimbostratus
Aug 23, 2008hello guys,
thanks for the reply. anyways can you help me understand what the Irule below does.
thanks in advance.
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
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