elastic / elastic/apm-server

Introduce configuration to disable use of HTTP headers for identifying `client.ip`

Open
#6,424 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

We make use of various HTTP headers, such as X-Forwarded-For, for identifying the client IP of RUM traffic. This assumes that clients are either trusted, or APM Server is behind a reverse proxy which removes these headers from untrusted clients to prevent spoofing of `client.ip`.

We should provide configuration to disable the use of HTTP headers, for users who directly expose APM Server to untrusted users without any proxy in between.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.