Forum Discussion

Billy_Williamso's avatar
Billy_Williamso
Icon for Nimbostratus rankNimbostratus
Dec 06, 2006

IIS Logs for HTTPS traffic show LB IP

I would like to know how to get the IP address of the clients to show up in the IIS logs. We currently have 6 Virtual Servers 3 are HTTPS 3 are HTTP. We are able to get the IP address informaiton from the HTTP with XForward For. Our certs are located on our servers so the Servers handle all the SSL requests. If anyone has an idea that might help please let me know.
  • The only way I know how to have IIS change what it uses for it's c-ip value in the logs is to write a ISAPI filter to do the swap out. I wrote a reference sample a while back that some have found useful. It's available in the iControl downloads section. Some have reported issues with it not working on SSL based web servers but I haven't been able to reproduce it. The source code is included if you run into issues. Let us know how it goes...

     

     

    -Joe