I am new to irules, and my client is asking for a function which I have no clue if it is even possible to do with irule on F5.
My customer using F5 ltm to load balance Windows RDP servers. The client side software is Sun Solaris rdp client, and their windows servers do not support session directory. So SUN support team did some scripting which will let Solari server sending end users IP addr’s Hex value as “username” to get persist table buid up. Now problem comes, end user will see this weird value on login screen and my question is how to blank out that value use irules?
I suppose you need is events like SERVER_CONNECTED and SERVER_DATA
In theory this is what you might need
when SERVER_CONNECTED {
Collect using[TCP::collect]
}
when SERVER_DATA {
Search for username using [TCP::payload]
Then do a replace using TCP::payload replace
Then release using [TCP::release]
}
I don’t have any RDP servers to test against but I think this would be good start for the logic and try to use the forum to Frankenstein the code together.