---
name: ap22-mod_extract_forwarded
version: 2.0.2_4
origin: www/mod_extract_forwarded
comment: An Apache module that can make proxied requests appear with client IP
arch: freebsd:9:x86:64
www: http://www.openinfo.co.uk/apache/
maintainer: kuriyama@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 29860
desc: |
  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/
deps:
  apache22: {origin: www/apache22, version: 2.2.25}
  expat: {origin: textproc/expat2, version: 2.1.0}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  pcre: {origin: devel/pcre, version: 8.33}
  gettext: {origin: devel/gettext, version: 0.18.3}
  apr: {origin: devel/apr1, version: 1.4.8.1.5.2}
  gdbm: {origin: databases/gdbm, version: 1.10}
  db42: {origin: databases/db42, version: 4.2.52_5}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- www
shlibs_provided:
- mod_extract_forwarded.so
options: {YOSHFUJI: off}
message: |
  ************************************************************
  You've installed mod_extract_forward, an Apache module that
  can make proxied requests appear with client IPs.

  Edit your apache.conf or httpd.conf to enable and setup this
  module. Have a look at the files in
  ${PREFIX}/share/doc/mod_extract_forward for information on
  how to configure it.

  Then do this to make it work effective:

  # apachectl configtest (see if there are any config errors)
  # apachectl restart

  ************************************************************
