FlowFuse / FlowFuse/node-red-dashboard
Option to get `socketIp` via custom headers
Open
customer request
initiative:release-2.33
needs-triage
type:feature
- Dominant language
- HTML
- Stars
- 355
- Forks
- 82
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 24
Description
### Description
Hi
Regarding the field `socketIp` that is added to each message in the `_client` property. If using reverse proxys the client IP is always `127.0.0.1` .
Would it be possible to have a dashboard setting to indicate if we want to use the default `conn.handshake?.address` or to get it by some header like `conn.handshake.headers["x-forwarded-for"]`?
Cloudfare for example uses header `CF-Connecting-IP`.
### Have you provided an initial effort estimate for this issue?
I am no FlowFuse team member
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.