Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

What is main difference between X-Forwarded-For (No Via) and X-Forwarded-For (+ Via)

 

Information

 

Summary:

How to differentiate what is main difference between X-Forwarded-For (No Via) and X-Forwarded-For (+ Via)

Environment:

Product: Loadmaster

Version: Any

Platform: Any

Application: IIS

Question/Problem Description:

Which option to use X-Forwarded-For (No Via) or X-Forwarded-For (+ Via)

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause:  
Resolution:

The difference is that the header is slightly different. With +VIA you are seeing the proxy address used to inject the header as part of the request, indicating from where (via) the header was injected. With no VIA, you just have the X-Forwarded-For header with no indication of where this header was injected.

Wireshark Trace / TCPdump
Client Address 193.167.86.166
LoadMaster address 172.31.47.13
Real server address 34.243.74.139

With +VIA
mceclip7.png
 

With No VIA
mceclip8.png

 

Workaround:  
Notes: How to Add an X-Forwarded-For Header and Configure IIS Logging

Comments