5 messages in ru.sysoev.nginxRe: Enhancement request for realip mo...
FromSent OnAttachments
mikeSep 24, 2008 9:35 pm 
Joaquin Cuenca AbelaSep 25, 2008 2:09 am 
mikeSep 25, 2008 2:41 am 
Igor SysoevSep 25, 2008 7:58 am.realip
mikeSep 25, 2008 11:41 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Enhancement request for realip module...Actions...
From:Joaquin Cuenca Abela (e98c@gmail.com)
Date:Sep 25, 2008 2:09:06 am
List:ru.sysoev.nginx

Hi Mike,

I posted a patch a while ago that implements this, see http://wiki.codemongers.com/NginxModules?action=AttachFile&do=get&target=realip.patch

I think there was a bug with this patch that gives a segfault in some conditions, if you're interested I can dig the fixed version and upload it.

Cheers,

On Thu, Sep 25, 2008 at 6:36 AM, mike <mike@gmail.com> wrote:

Is there any way to make the "real_ip_header" accept -any- header, instead of only X-Forwarded-For and X-Real-IP?

I have a site on nginx behind Akamai, and they transmit a "True-Client_IP" header with the actual client IP.

They send X-Forwarded-For as well, but it appears it might not be legitimate.

I'm thinking this is pretty simple... I assume it's only a couple lines of code to change...