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/
===> The following configuration options are available for ap22-mod_extract_forwarded-2.0.2_4:
YOSHFUJI=off: yoshfuji patch (support IPv6 addr in config, etc)
===> Use 'make config' to modify these settings
************************************************************
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
************************************************************
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Category W.
CR: D510
Approved by: portmgr (bapt)
- USE_APACHE= s/22+/22/
- adopt new Makefile header
Port build fails on local exp-run with apache24 with
error: 'conn_rec' has no member named 'remote_ip'
or various other apache22 specific functions/parameters
with hat apache@
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
Forced commit (forgot to add patch):
Fix build for "union <anonymous>' has no member named 'sin6'" error.
PR: ports/146886
Reported by: Yurij <ilesikz@gmail.com>
- 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.