Forum Discussion
jgranieri_42214
Nimbostratus
Feb 11, 2014Looking for pointers in the right direction on what to use - scan/regexpx/Stream Profiles
Hello All,
I have a complex requirement from our developers to have the F5 LTM loadbalance and persist entity logins. The User ID is seen in TCP Payload after the intial handshake and will appe...
Kevin_Stewart
Employee
Feb 11, 2014So the UserID is the first piece of data in the TCP payload (this is obviously not HTTP then)? Is this value in every TCP session (after the handshake)? If yes to both, then perhaps start with this:
when CLIENT_ACCEPTED {
TCP::collect 400
}
when CLIENT_DATA {
if { [TCP::payload] starts_with "UserID" } {
set company [lindex [split [findstr [TCP::payload] "UserID" 6 ","] "@"] 1]
if { $company ne "" } {
switch $company {
"company" { pool company_pool }
"house" { pool house_pool }
"car" {pool car_pool }
default { pool default_pool }
}
}
}
TCP::release
}
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