All internal ip addresses show up as loopback #1812
Labels
No labels
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1812
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.X-Forwarded-Forheader to pass it to Continuwuity?If I remember correctly, this is caused by axum removing insecure_client_ip feature (and then we upgraded to the version which lacks this)
Have had this on continuwuity.rocks but never got time to investigate, iirc @Jade knew something about the fix? some axum configuration or something?
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.