https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7197

Kevin A. McGrail <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Kevin A. McGrail <[email protected]> ---
Remco,

I'm assuming this applies to apache-spamd and either a pre-release or
release-candidate version of mod_perl 2.0.9 for httpd 2.4?


As a side-note, this was work from GSoC in like 2006 and I cleaned up
attribution for ASF compliance:

3.4:
svn commit -m 'Cleaning up the copyright/author/etc. in apache-spamd to be ASF
compliant' spamd-apache2/
Sending        spamd-apache2/Makefile.PL
Sending        spamd-apache2/README.apache
Sending        spamd-apache2/lib/Mail/SpamAssassin/Spamd.pm
Transmitting file data ...
Committed revision 1681095.

Trunk: svn commit -m 'Cleaning up the copyright/author/etc. in apache-spamd to
be ASF compliant' spamd-apache2/
Sending        spamd-apache2/Makefile.PL
Sending        spamd-apache2/README.apache
Sending        spamd-apache2/lib/Mail/SpamAssassin/Spamd.pm
Transmitting file data ...
Committed revision 1681096.




So a key issue (but possibly not the only issue) is this change:

conn_rec->remote_ip and conn_rec->remote_addr
    These fields have been renamed in order to distinguish between the client
IP address of the connection and the useragent IP address of the request
(potentially overridden by a load balancer or proxy). References to either of
these fields must be updated with one of the following options, as appropriate
for the module:

        When you require the IP address of the user agent, which might be
connected directly to the server, or might optionally be separated from the
server by a transparent load balancer or proxy, use request_rec->useragent_ip
and request_rec->useragent_addr.
        When you require the IP address of the client that is connected
directly to the server, which might be the useragent or might be the load
balancer or proxy itself, use conn_rec->client_ip and conn_rec->client_addr.


I don't have a good test bed for 2.4 so let me set something up. I can also
email the mod perl dev list to get some guidance.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to