Forum Discussion
I want to get the source port but it was changed by F5?
There may be couple of reasons for such behavior. Actually i was trying to figure out it one-by-one but i could have done it in one go (my mistake).
With CMP enabled state, F5 may change source port to keep the client-side and server-side traffic on the same TMM. Here F5 ignores Preserve setting.
https://support.f5.com/csp/article/K14358
Mayur
- 1qazMay 08, 2020
Nimbostratus
thanks to Mayur!I think as you said, CMP may be the real reason of all this. I think I can insert the source address and source port in the http header, and get the source port of the client by irule. Thanks again!
when HTTP_REQUEST {
HTTP::header insert Cliet_IP_port [IP::client_addr]:[TCP::client_port]
}
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
