Forum Discussion
tatmotiv
Jul 09, 2015Cirrostratus
TCP payload persistence (convert Cisco ACE l4-payload stickiness)
Hi all,
I'm currently transforming lots of Cisco ACE configurations to Big IPs running 11.6.0.
On the ACE, there is a sticky method called "l4-payload" which can use a fixed offset and length setti...
tatmotiv
Jul 09, 2015Cirrostratus
Digging deeper into the issue, I thought about something like that...
when CLIENT_ACCEPTED {
TCP::collect 50
}
when CLIENT_DATA {
set payload_first_50 [TCP::payload]
set persist_string [substr $payload_first_50 29 20]
log local0. "Fetched $persist_string as conn ID for client [IP::client_addr]."
persist uie $persist_string 60
TCP::release
}
... but I'm not sure if the data returned by [TCP::payload] is to be considered a string, thus being unsure whether using the substr method on it will return valid data.
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