Changeset 1796 for trunk/server/fedora


Ignore:
Timestamp:
Mar 26, 2011, 9:53:53 AM (13 years ago)
Author:
mitchb
Message:
New mod_original_dst - makes Apache use original destination IP

In a setup where requests have passed through a transparent proxy,
or an iptables REDIRECT rule, the destination address of the traffic
changes.  The netfilter code provides an option (SO_ORIGINAL_DST)
to find out the original destination address.  In an Apache vhost
that is IP-based instead of name-based, you may need the original
address in order to match the vhost.  This module causes Apache
to always see the original, instead of the redirected, destination.

Apache module written by Anders Kaseorg
Method for obtaining the original address pointed out by Quentin Smith
Trivial packaging updates for Scripts by Mitch Berger
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/specs/httpdmods.spec

    r1763 r1796  
    2222 - module to enable optional authentication <mod_auth_optional>
    2323 - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap>
     24 - module to use the original destination address of a request that
     25     has gone through something like a transparent proxy <mod_original_dst>
    2426See http://scripts.mit.edu/wiki for more information.
    2527
     
    3739install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so
    3840install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so
     41install -D .libs/mod_original_dst.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_original_dst.so
    3942
    4043%clean
     
    4750/usr/lib64/httpd/modules/mod_auth_optional.so
    4851/usr/lib64/httpd/modules/mod_vhost_ldap.so
     52/usr/lib64/httpd/modules/mod_original_dst.so
    4953
    5054%changelog
Note: See TracChangeset for help on using the changeset viewer.