www/ap-rpaf 0.8.4 NetBSD
Remaps reverse-proxied connections to "real" requesting IPs
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- apache-2.0
- Categories
- www
- Package size
- 8.2 KiB, 20.9 KiB installed
Description
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.
Install
Binary package:
pkgin install ap24-rpaf
From pkgsrc:
cd /usr/pkgsrc/www/ap-rpaf && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.8.4 |
| NetBSD 10.1 aarch64 | 0.8.4 |
| SmartOS / illumos x86_64 | 0.8.4 |
| macOS 15 arm64 | 0.8.4 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.