Sergey B Kirpichev <skirpic...@gmail.com> 2014-01-20 18:11:
On Sun, Jan 19, 2014 at 07:27:32PM -0600, Brian Kroth wrote:
Perhaps try the wget command I gave earlier to force it over IPv6
instead.  Then vary the X-Forwarded-For with either IPv4 or IPv6
addresses.

Ok, I see.  It seems this is a duplicate of #726529.

But you are using ipv4, isn't?

No, I'm using both IPv4 and IPv6 on the proxy, but the
communications between proxy and backend are IPv6 only.

Please try an update package (attached).  Updated patch attached as well.

That does appear to work, however, I think it's incomplete.

If you look at rpaf_cleanup() (~line 149), there is code very similar to the main code in change_remote_ip() that undoes the operation for keepalive connections, however as it stands in the original code it has the same issue - namely it only handles IPv4.

The patch I provided previously attempts to apply the same style fix to the rpaf_cleanup() code as well.

Let me know if you have any questions.

Thanks,
Brian

Attachment: signature.asc
Description: Digital signature

Reply via email to