Forum Discussion
dennypayne
Employee
Oct 13, 2006Match across services persistence w/rule
I have read in several threads that you cannot directly call "match across services" from a persist command in an iRule.
I have converted a v4 configuration that had several rules that ended up li...
hoolio
Cirrostratus
Oct 15, 2006Hi Denny,
If the BIG-IP is acting as a full proxy, then during the initial connection set up with the client (which the CLIENT_ACCEPTED event is for), there isn't a server connection built yet.
If this did work in 4.x, I would guess that it's because server_port referred to the VIP as the server and you were getting the VIP's port.
If you want to get the client's source port, you can use TCP::remote_port in the clientside context or TCP::client_port which is just clientside { TCP::remote_port }. To get the client's destination port (or the VIP's port) you can use TCP::local_port.
We had a bit of discussion on context for events in this post (Click here).
Hope this helps with the rest of your rule.
Aaron
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