Forum Discussion
Mathew_58740
Nimbostratus
Mar 26, 2013Response redirection in GIOP/IIOP
We have configured a virtual server on port 2007 and the application are using the protocols IIOP/GIOP.After the first response from the server the clients are directly connecting to the servers as the response packet the hostname of the server is mentioned. Can we change this response back to the dns entry of the F5 VIP.
1 Reply
- What_Lies_Bene1
Cirrostratus
Sounds like the perfect job for the Stream feature. You can use a Profile or an iRule to do this, specifying the wrong hostname as the search string and the correct one as the replacement string. I'd got for the iRule myself. Strangely I can't find an example that doesn't use HTTP nor any details on what events might be valid. However, my VE certainly accepts this;You must assign a Stream profile (with no source or target strings specified) to the Virtual Server before you can use this iRule Escape periods with a backslash where possible The stream expression must always come before stream is enabled when CLIENT_DATA { We don’t want to rewrite requests, only responses STREAM::disable } when SERVER_DATA { Search for instances of wronghost and replace with righthost @ Is a delimiter at the start and end of each string STREAM::expression {@wronghost@righthost@} Apply and rewrite response data STREAM::enable }
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