Forum Discussion
Chris_Schaefer1
Apr 13, 2007Historic F5 Account
peristence on tcp string
We're trying to peristence on a string in an encrypted tcp session.
After the ssl handshake, the first tcp packet has a user id in the form
xxxxx@website.com then a lot of binary data follo...
Colin_Walker_12
May 10, 2007Historic F5 Account
I'd try adding -inline to the regexp, or changing the way you're capturing the variable:
From the TCL docs here Click here, the base formate for the regexp command is:
regexp ?switches? exp string ?matchVar? ?subMatchVar subMatchVar ...?
So something like this should get you there:
set userID [regexp -nocase -inline { [ 0-9 ]+@website.com} [TCP::payload] ]
HTH,
Colin
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