Forum Discussion
Kevin_Jones_505
Oct 26, 2004Historic F5 Account
TCP::payload - How do I get data from the TCP data field?
I'm trying to write an iRule that reads the TCP data rather than HTTP data. I'm building it off an HTTP data iRule that works. The first one works as expected.
when HTTP_REQUEST {
...
unRuleY_95363
Oct 26, 2004Historic F5 Account
It needs to be pointed out that there is currently a known issue in v9.0.1 (CR41716) that will prevent making a load-balancing decision in the CLIENT_DATA event from working correctly.
The problem is that TCP::collect doesn't properly hold the internal accepted event from reaching the proxy. This results in a load-balancing decision as soon as the TCP connection is established and *before* any data has actually been received. After the load-balancing decision has occurred and the server-side has been connected, selecting a new pool will have no effect.
There is possibly a very crazy way to make it work that involves using the LB_SELECTED and USER_RESPONSE events, as well as the TCP::notify and LB::reselect commands. However, I instead highly recommend getting the impending v9.0.2 release over doing this kind of thing (you're welcome to experiment).
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