Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.43k stars 1.07k forks source link

GELF HTTP X-Forwarded-For headers not honored #11339

Open ed-graylog opened 3 years ago

ed-graylog commented 3 years ago

What?

As a Graylog user utilizing the GELF HTTP input I expect the X-Forwarded-For headers to be honored when using a load balancer.

Why?

Currently when using any load balancer when explicitly stating the headers in Graylog they are not honored, as a result the IP/client address shows as coming from the load balancer and not the actual client.

See HS-565348230 for details.

danotorrey commented 3 years ago

Related: https://github.com/Graylog2/graylog2-server/issues/2413

emrecio commented 3 months ago

Has graylog been able to read RFC 7239 Forwarded headers spec yet? It's been out since ~2014 and Jetty is requiring this format... I am getting some pushback from our WAF folks because it would make decoding this in graylog difficult. I am not too familiar with the greylog implementation here.