krelm_52303
Nov 20, 2008Nimbostratus
Changing HTTP Header Host port
Am receiving http requests on a high port (55555) and need to remove this in the header for all requests (so it sends on as port 80).
For example...
Host: www.google.com:55555 change to Host: www.google.com
Host: www.msn.com:55555 change to Host: www.msn.com
I don't know what all the destinations will be, but need to strip of the 55555 port number from each. Thankfully, I we don't need to rewrite any payload traffic, just this header.
What is the most resource efficient way of achieving this with an irule?
TIA