Annotate

plugins/mod_pep_plus.lua @ 13127:f45a29b32f7a

mod_http: Make RFC 7239 Forwarded opt-in for now to be safe Supporting both methods at the same time may open to spoofing attacks, whereby a client sends a Forwarded header that is not stripped by a reverse proxy, leading Prosody to use that instead of the X-Forwarded-* headers actually sent by the proxy. By only supporting one at a time, it can be configured to match what the proxy uses. Disabled by default since implementations are sparse and X-Forwarded-* are everywhere.
author Kim Alvefur <zash@zash.se>
date Sat, 03 Jun 2023 21:53:20 +0200
parent 9074:0462405b1cfb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9074
0462405b1cfb mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents: 9061
diff changeset
1 module:log("error", "mod_pep_plus has been renamed to mod_pep, please update your config file. Auto-loading mod_pep...");
0462405b1cfb mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents: 9061
diff changeset
2 module:depends("pep");