Re: I'm getting different x_forwarded_for in my Gorouter access logs depending on what browser/cli-tool I use.


Dieu Cao <dcao@...>
 

What do you use for your edge load balancer?
You could try to set up your edge load balancer to strip x_forwarded_for
sent in the request and set it again before forwarding on.
In that way, I believe it should be consistent, whatever the client.

-Dieu

On Wed, Aug 19, 2015 at 7:38 AM, Simon Johansson <simon(a)simonjohansson.com>
wrote:

Gist of diff:
https://gist.github.com/simonjohansson/847e972f1459ea4cd65e

Gist of debug output:
https://gist.github.com/simonjohansson/3324b08fc42e5ac7105a

Since it's quite hard to read in the email...

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.