[Varnish] #1650: X-Forwarded-For looses the first ip in list
Varnish
varnish-bugs at varnish-cache.org
Mon Jan 12 18:03:43 CET 2015
#1650: X-Forwarded-For looses the first ip in list
--------------------------+-------------------------
Reporter: KlavsKlavsen | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: build | Version: 4.0.2
Severity: normal | Resolution: worksforme
Keywords: |
--------------------------+-------------------------
Comment (by KlavsKlavsen):
while I do realize it's fairly sensible to do so - there's no actual
standard saying that there cannot be multiple x-forwarded-for headers (and
the Forwarded header (RFC7239) actually is going to use multiple lines) -
it would be fair for someone to want to accept x-forwarded-headers like
that.
So perhaps an option in varnish 4 - to make it work as is possible with
varnish 3 - without modifying x-forwarded-for headers.. so one can simply
handle it how one wants.
I will try to get the defective cisco box fixed, but I would appreciate
being able to choose how Varnish handles x-forwarded-for - if at all.. it
should be an optional header (in varnish 4 I can only choose to unset it -
not to leave it as-is).
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1650#comment:7>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list