./www/ap-rpaf, Remaps reverse-proxied connections to real requesting IPs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q4, Version: 0.8.4, Package name: ap24-rpaf-0.8.4, Maintainer: pkgsrc-users

mod_rpaf changes the remote address of the client visible to other Apache
modules when two conditions are satisfied. First condition is that the
remote client is actually a proxy that is defined in httpd.conf.
Secondly if there is an incoming X-Forwarded-For header and the proxy is
in it's list of known proxies it takes the last IP from the incoming
X-Forwarded-For header and changes the remote address of the client in
the request structure. It also takes the incoming X-Host header and
updates the virtualhost settings accordingly. For Apache2 mod_proxy it
takes the X-Forwared-Host header and updates the virtualhosts.


Master sites:

Filesize: 6.307 KB

Version history: (Expand)