aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-03 17:10:04 +0200
committerKim Alvefur <zash@zash.se>2023-06-03 17:10:04 +0200
commit8c92b32b7aa5b1457663bf39c4891fcc11fce8e5 (patch)
tree69ff19018414a17326b47e9b2b33c03acb387319 /CHANGES
parent3fbd92e26d9bad1e2e14c7b2d2fe4999fcf53f8a (diff)
downloadprosody-8c92b32b7aa5b1457663bf39c4891fcc11fce8e5.tar.gz
prosody-8c92b32b7aa5b1457663bf39c4891fcc11fce8e5.zip
mod_http: Use RFC 7239 Forwarded header to find original client IP
Prefer over X-Forwarded-* since it has an actual specification. Main practical difference is that Forwarded may carry more properties than only the IP address since it is a structured header. Since we parse it into an array, it is easier to do the logical thing and iterate backwards trough proxies until an untrusted one is encountered. Compare the handling of X-Forwarded-For. The 'secure' field now accounts for the full chain of proxies, which must be secure all the way to be considered secure.
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 4233488a..b91aced8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -42,6 +42,7 @@ TRUNK
- mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy
- Ability to use SQLite3 storage using LuaSQLite3 instead of LuaDBI
- Moved all modules into the Lua namespace `prosody.`
+- Forwarded header from RFC 7239 supported
## Removed