Log X-Forwarded-For address when available #460

Closed
opened 2023-01-03 10:28:02 +00:00 by jpds · 0 comments
Contributor

Garage should log the X-Forwarded-For address for the client address when it is present in the HTTP payload:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For

In my reverse proxy/gateway setup - only [::1] is logged instead making it harder to ID clients without some log correlation.

Garage should log the `X-Forwarded-For` address for the client address when it is present in the HTTP payload: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For In my reverse proxy/gateway setup - only `[::1]` is logged instead making it harder to ID clients without some log correlation.
lx added the
action
for-newcomers
kind
improvement
labels 2023-01-03 15:09:58 +00:00
lx closed this issue 2023-02-06 14:20:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#460
No description provided.