-
Notifications
You must be signed in to change notification settings - Fork 174
get real ip from web traffic #5813
Copy link
Copy link
Open
Labels
bugSoftware defect or bugSoftware defect or bug
Description
We use the leftmost entries in the x_forwarded_for from cloudfront as the real ip and use it in our log analysis on NewRelic. It is not reliable since client can inject entries there and we see private ip as the leftmost XFF entry, such as this one for SSA.
x_forwarded_for:"172.27.226.194, 137.200.49.15, 64.252.66.8, 127.0.0.
We need to find a more reliable way to get real ips, such as CloudFront-Viewer-Address.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSoftware defect or bugSoftware defect or bug
Type
Projects
Status
No status