Forum Discussion
Load Balancing w/o HTTP?
The limitation would be which events will fire. Since the highest level protocol you've talked about was TCP, you need to stick to L4 events. CLIENT_ACCEPTED will be the event which will let you know a new TCP connection has happened on the client side of the proxy.
You can capture the data segment associated with the TCP connection using the TCP::collect command in an iRule. From there you need to map the data segment to your protocol.
Here is an article which walks you through the process:
iRules 101 - 17 mapping protocol fields with the binary scan command
Once you have logic to pull out your protocol field you can use the node command to select the pool member you want to connect on the server side of the proxy.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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