Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4720

Http-request capture only logging partial X-Forward-For data

$
0
0

@chrisa wrote:

Running on HA-Proxy version 1.7.11 I am able to log full X-Forward-For information with the old:
capture request header X-Forwarded-For len 64
e.g. 192.168.1.10, 192.168.2.10, 192.168.3.10
However if using:
http-request capture req.hdr(X-Forwarded-For) len 64
I am only able to capture the last entry in the chain - 192.168.3.10.

Is this by design?
I’d like to use the newer option as it allows me to place the command in appropriate locations in the file for troubleshooting.
Thanks
Chris

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>