1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/mod_extract_forwarded/pkg-descr
Jun Kuriyama 080bdd57c2 - Upgrade to 2.0.2 (for Apache 2.x).
- This is upgraded version of 1.4 (by non-original author), but is not
  same as www/mod_extract_forwarded2 port (was forked from 1.x by
  another author).
- I'm not sure we should upgrade like this (upgrade 1.4 to forked
  2.0.2), but it seems original web site is disappeared, so I think we
  should do.

- This version does not support Apache 1.3.x versions.  If someone
  need old version of this port, I'll prepare
  www/mod_extract_forwarded1 port after repocopy.
2009-08-05 14:27:11 +00:00

14 lines
604 B
Plaintext

mod_extract_forwarded hooks itself into Apache's header parsing phase and looks
for the X-Forwarded-For header which some (most?) proxies add to the proxied
HTTP requests. It extracts the IP from the X-Forwarded-For and modifies the
connection data so to the rest of Apache the request looks like it came from
that IP rather than the proxy IP.
mod_extract_forwarded can be dangerous for host based access control because
X-Forwarded-For is easily spoofed. Because of this you can configure which
proxies you trust or don't trust.
WWW: http://www.openinfo.co.uk/apache/
- Anders Nordby <anders@fix.no>