[Windmill-dev] Fwd: [fmII] reverse proxy add forward 0.6 released (Default branch)

Jared Rhine jared at wordzoo.com
Wed Jan 2 00:52:29 PST 2008


Regarding the windmill wiki spam protection not working properly...

RPAF and related features are basically what I use to handle this  
issue in other situations.  For Chandler Hub, I use the following  
Tomcat valve configuration:

         <Valve className="org.apache.catalina.valves.AccessLogValve"
                directory="../logs" prefix="access." suffix=".log"
                pattern="%{x-forwarded-for}i %l %{COSMO_PRINCIPAL}r %t  
&quot;%r&quot; %s %b &quot;%{Referer}i&quot; &quot;%{User-Agent}i&quot;"
                resolveHosts="false"/>

which logs the "x-forwarded-for" header directly in logs.  It  
shouldn't be that hard to hack the python frameworks to use the same  
header for the IP address.  Note that x-forwarded-for is not  
guaranteed to be a single IP address, if it went through a chain of  
proxies, but just take the first item in that case.

Begin forwarded message:

> From: <noreply at freshmeat.net>
> Date: January 1, 2008 11:47:29 PM PST
> To: <noreply at freshmeat.net>
> Subject: [fmII] reverse proxy add forward 0.6 released (Default  
> branch)
>
> This email is to inform you about the release of version '0.6' of  
> 'reverse
> proxy add forward' through freshmeat.net. All URLs and other useful
> information can be found at
>
>    http://freshmeat.net/projects/rpaf/
>
> The changes in this release are as follows:
> The ability to change which header Apache looks at was added. With the
> configuration directive RPAFheader, you can now change the default
> X-Forwarded-For to X-Real-IP if you so choose. There are also
> bugfixes in this version that makes mod_rpaf work correctly with
> Keep-Alive requests.
>
> Release focus:
> 4 - Minor feature enhancements
>
> Project added:
> Wed, Aug 29th 2001 14:07 (6 years, 4 months ago)
>
> Project description:
> rpaf changes the remote address of the client on incoming proxy
> requests. It is used in backend servers that needs to know the IP of
> the client, and works in conjunction with mod_proxy_add_forward
> (which sets the X-Forwarded-For header). When an X-Host header exists
> rpaf will take the hostname found here, put it into Apache, and update
> the virtualhost settings so that you can serve virtualhosts on the
> backend. It includes modules for both Apache 1.3 and 2.0.
>
> Trove categories:
> [Development Status  ] 5 - Production/Stable
> [License             ] The Apache License
> [Programming Language] C
> [Topic               ] Internet :: WWW/HTTP :: HTTP Servers
>
> If you would like to cancel subscription to releases of this project,
> login to freshmeat.net and choose 'home' from the personal menubar  
> at the
> top of the page. You'll be presented with a list of projects and
> categories you're subscribed to in the right column, which you may  
> cancel
> by highlighting the project or category in question and clicking the
> 'delete' button.
>
> Sincerely,
> freshmeat.net
>
> ____________________________| Advertising | 
> ____________________________
> Track & Manage Your Source Code and Digital Assets for FREE with  
> Perforce
>
>
> Discover how you can manage your source code and digital assets faster
> and
> easier with Perforce. Perforce offers visual client interfaces for
> Linux.com,
> Mac, Solairs,FreeBSD and Windows. Learn more and get a free two user
> download at
>
>
>
> http://ad.doubleclick.net/clk;160974536;13503038;d?http://www.sourceforge.net/powerbar/perforce/
>
> ____________________________| Advertising | 
> ____________________________
>



More information about the Windmill-dev mailing list