continuwuity/src/router
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
..
serve fix: Explicitly set TLS backends 2026-04-24 14:19:12 +01:00
Cargo.toml feat: Introduce accepted_ip_sources as a multiple options variant of request_ip_source 2026-07-21 14:35:55 +00:00
layers.rs feat: Introduce accepted_ip_sources as a multiple options variant of request_ip_source 2026-07-21 14:35:55 +00:00
mod.rs feat: Add ability to inspect build information and features at runtime 2026-04-09 17:24:44 +01:00
request.rs feat: Allow configuring the OAuth compatibility mode 2026-06-29 09:35:48 -04:00
router.rs feat: Allow configuring the OAuth compatibility mode 2026-06-29 09:35:48 -04:00
run.rs chore: Update incompatible dependenceis 2026-04-23 20:02:48 +01:00