I’m looking for a way to pass the source IP’s to our windows media streaming servers, so they are captured in the logs. This would be similar to an X-forwarded-for configuration for a web server. Any help would be appreciated.
Thanks,
JC
I’m looking for a way to pass the source IP’s to our windows media streaming servers, so they are captured in the logs. This would be similar to an X-forwarded-for configuration for a web server. Any help would be appreciated.
Thanks,
JC
Assuming the initial connection to the streaming server is using HTTP then use
HTTP Profile Option: X-Forwarded-For
Jarvil
Thanks for the response. I have that option turned on, but i’m still getting the IP of the LTM. I know when you use that option with IIS, you need to install an ISAPI filter for it to work. I opened a case with support and they said they didnt know of a way to get it to work and to see if someone could help with an iRule. Thoughts?
i agree with jarvil. if it’s not possible, i don’t think there is an easy way.
btw, can’t u remove snat from the streaming virtual server?
i dont have snat enabled for the virtual server. but yea, i don’t think there is any easy way. i was hoping maybe someone had an idea of how to do this with an irule. Thanks anyways
Posted By JC on 08/05/2011 06:38 AM
Thanks for the response. I have that option turned on, but i’m still getting the IP of the LTM. I know when you use that option with IIS, you need to install an ISAPI filter for it to work. I opened a case with support and they said they didnt know of a way to get it to work and to see if someone could help with an iRule. Thoughts? If you are looking at the web server logs then you will get the LTM address by default. You need to install the ISAPI filter so it exposes the X-Forwarded-For address in the logs.
There is one provided by F5… see below, however if Microsoft have one already that does this then try that first.
X-Forwarded-For HTTP Module For IIS7, Source Included!
Jarvil
Can you use an ARR helper? If so, check this post:
Aaron
Just so its clear, the ISAPI filter is installed within your website. I use this for all of our IIS installations and it works great. This is not for IIS, it is for Windows Media Services and the ISAPI filter does not work with it.
I’m looking to possibly create an irule that would replace the c-ip field with the x-forwarded-for field in the http header before the request is sent to the server or some sort of similar process.
I’ll check out the ARR helper as well and see if thats a possible solution. Thanks for the suggestion.
Did you Ever find a solution to this? Is ARR helper the way to go?
I doubt it. The Virtual Server didn’t have SNAT enabled so clearly the IP was being translated before the traffic hit the F5.