All internal ip addresses show up as loopback #1812

Open
opened 2026-05-26 04:41:31 +00:00 by Arch515 · 4 comments

All of the ip addresses that show up on the server, such as account created messages in the admin room, and the devices list on users' clients, show up as 127.0.0.1.

All of the ip addresses that show up on the server, such as account created messages in the admin room, and the devices list on users' clients, show up as `127.0.0.1`.
Contributor
  • Does your reverse proxy set the X-Forwarded-For header to pass it to Continuwuity?
  • Are you using Docker? Can be a Docker issue.
- Does your reverse proxy set the `X-Forwarded-For` header to pass it to Continuwuity? - Are you using Docker? Can be a Docker issue.
Owner

If I remember correctly, this is caused by axum removing insecure_client_ip feature (and then we upgraded to the version which lacks this)

If I remember correctly, this is caused by axum removing insecure_client_ip feature (and then we upgraded to the version which lacks this)
Owner

Have had this on continuwuity.rocks but never got time to investigate, iirc @Jade knew something about the fix? some axum configuration or something?

Have had this on continuwuity.rocks but never got time to investigate, iirc @Jade knew something about the fix? some axum configuration or something?
Owner

Yeah, upgrading the axum-client-ip crate removed the default insecure behavior and requires explicit configuration of a ClientIpSource as a layer. This should be really easy to add to the config.

Yeah, upgrading the axum-client-ip crate removed the default insecure behavior and requires explicit configuration of a [ClientIpSource](https://docs.rs/axum-client-ip/latest/axum_client_ip/enum.ClientIpSource.html) [as a layer](https://github.com/imbolc/axum-client-ip/blob/main/examples/configurable.rs). This should be really easy to add to the config.
Sign in to join this conversation.
No milestone
No project
No assignees
5 participants
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
continuwuation/continuwuity#1812
No description provided.