Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-07-31 Thread wandenberg
Hi, some time ago I had a similar issue and I grab some parts of nginx internals modules and did one specific to me. My issue was to use the first XForwardedFor IP, but only when the client address was the Google Chrome Proxy. I don't know if this is the best approach, but I check the client ip

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-23 Thread Keyur
Hello, Can someone please look into this.. I need it for proper website functionality. Regards, Keyur Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250823,251101#msg-251101 ___ nginx mailing list nginx@nginx.org

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-23 Thread Jonathan Matthews
On 23 Jun 2014 07:58, Keyur nginx-fo...@nginx.us wrote: Hello, Can someone please look into this.. I need it for proper website functionality. I don't know the answer to your problem and perhaps, given the lack of reply, no one on this public mailing list mainly populated by non-nginx staff

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-23 Thread Steve Wilson
On 23/06/2014 12:05, Keyur wrote: Thanks Jonathan! Well I can not comment regarding getting professional service. Infact I will be glad to have support but If I go with this approach then I would rather be asked to use web server which supports the said feature. (This is doable in apache).

RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-23 Thread Lukas Tribus
Hello, Can someone please look into this.. I need it for proper website functionality. I don't see why you would need it once you properly setup the proxy whitelist? ___ nginx mailing list

RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-16 Thread Lukas Tribus
Hi, Thanks for your reply. I have already tried http://nginx.org/en/docs/http/ngx_http_geoip_module.html#geoip_proxy But this needs a list of subnets / networks to be whitelisted first as a trusted source. I do not (Can not) have a list of such networks as they can be intermediate proxy

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-16 Thread Keyur
Hi Lucas, Noted! Agreed! How do I tell nginx to do GeoIP on FirstNonPrivateXForwardedForIP ? Regards, Keyur Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250823,250876#msg-250876 ___ nginx mailing list nginx@nginx.org

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

2014-06-15 Thread Keyur
Hi Lukas, Thanks for your reply. I have already tried http://nginx.org/en/docs/http/ngx_http_geoip_module.html#geoip_proxy But this needs a list of subnets / networks to be whitelisted first as a trusted source. I do not (Can not) have a list of such networks as they can be intermediate proxy

GeoIP FirstNonPrivateXForwardedForIP

2014-06-12 Thread Keyur
Hi, My website does country based redirection based on result obtained from GeoIP against IP. I am facing a problem where GeoIP does not work as first IP in the X-Forwarded-For has Private network address. (Say 192.168.1.1) I know GeoIP on private network would fail but the X-Forwarded-For also