Arnaud GRANAL
June 11, 2011 06:12AM
2011/6/11 Gregor Kališnik <gregor@unimatrix-one.org>:
> Hi.
>

Hi Gregor,

> I've created a patch for nginx GeoIP module to also use the GeoIP IPv6
> version. The patch is attached.
>
> Currently it runs on http://www.podnapisi.net and there are no appearant
> problems.
>

Sounds great,

Maybe should change
+ sprintf(temp_mapped, "::FFFF:%s", temp);
to
+ snprintf(temp_mapped, sizeof(temp_mapped), "::FFFF:%s", temp);

In case we get some forged variable as input (e.g. nginx used as
load-balancer for another nginx and not using REMOTE_ADDR but
X-Forwarded-For).

A.

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

GeoIPv6 patch

MasterMind2k 2771 June 11, 2011 04:36AM

Re: GeoIPv6 patch

Arnaud GRANAL 931 June 11, 2011 06:12AM

Re: GeoIPv6 patch

MasterMind2k 1144 June 11, 2011 06:50AM

Re: GeoIPv6 patch

Maxim Dounin 976 June 11, 2011 08:56AM

Re: GeoIPv6 patch

MasterMind2k 1134 June 11, 2011 02:22PM

Re: GeoIPv6 patch

MasterMind2k 1137 June 14, 2011 01:54AM

Re: GeoIPv6 patch

Maxim Dounin 849 June 14, 2011 07:48PM

Re: GeoIPv6 patch

MasterMind2k 1213 June 15, 2011 06:46AM

Re: GeoIPv6 patch

Maxim Dounin 936 June 21, 2011 12:54PM

Re: GeoIPv6 patch

MasterMind2k 1179 June 21, 2011 05:14PM

Re: GeoIPv6 patch

Maxim Dounin 962 June 21, 2011 05:46PM

Re: GeoIPv6 patch

MasterMind2k 1408 June 22, 2011 04:40AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready