continuwuity/src/core
Omar Pakker b9c6d5956f feat: Introduce accepted_ip_sources as a multiple options variant of request_ip_source
The current `request_ip_source` setting only allows a single option.
While it does fall back to the peer IP if the header is missing as of !2003,
which likely covers a lot of regular use, only allowing a single option limits
the deployment options available to more advanced deployments.
Setups where internal and external traffic use different reverse proxies will
end up with the wrong IP and the implicitness of the fallback allows for
situations where the used IP is not the IP expected.

By introducing a setting that allows multiple options to be set,
this limitation is resolved and it becomes possible to have client IP resolution
behind different reverse proxies and also making it possible to decide if and/or
what the fallback should be.

If set, options are evaluated in order. If all fail, the request fails.
2026-07-21 14:35:55 +00:00
..
alloc fix: Update ctor macro arguments 2026-05-03 14:39:30 +00:00
config feat: Introduce accepted_ip_sources as a multiple options variant of request_ip_source 2026-07-21 14:35:55 +00:00
error feat: Add more debug logging to PDU handle funcs 2026-07-11 17:27:42 +01:00
info feat: Implement a web-based account management dashboard 2026-06-29 09:35:45 -04:00
log refactor: Replace std RwLock with parking_lot 2025-07-20 16:31:55 +01:00
matrix chore(deps): Update ruma digest to 89cce34 2026-07-07 11:25:13 -04:00
metrics simplify request handler task base 2025-01-30 18:58:32 +00:00
mods Post-formatting aesthetic and spacing corrections 2025-07-02 19:17:06 +01:00
utils chore: merge 1818 nex/perf/get-missing-events 2026-07-01 18:45:08 +00:00
Cargo.toml Merge branch 'main' into rewrite-resolver 2026-07-04 19:55:28 +02:00
debug.rs fix: Update ctor macro arguments 2026-05-03 14:39:30 +00:00
mod.rs feat: Implement a web-based account management dashboard 2026-06-29 09:35:45 -04:00
server.rs move systemd stopping notification point 2025-04-03 19:38:51 +00:00