Welcome! Log In Create A New Profile

Advanced

Re: Supernet issues in nginx geo !!

December 15, 2016 08:08AM
Hi,

Sorry guys it was my bad. We have policy to only redirect HTTPS requests,
though the request coming from this ip was with HTTP hence no map policy on
it.

In short, things are working as expected :)

Shahzaib

On Thu, Dec 15, 2016 at 5:35 PM, shahzaib mushtaq <shahzaib.cb@gmail.com>
wrote:

> Here is the break down of subnet 39.32.0.0/11 :
>
> http://prntscr.com/djq88m
>
> According to this, geo policy should be apply to 39.45.X.X as well but its
> not .
>
> On Thu, Dec 15, 2016 at 5:11 PM, shahzaib mushtaq <shahzaib.cb@gmail.com>
> wrote:
>
>> Hi,
>>
>> We're using nginx geo module to redirect requests from specific
>> subnets/supernets. If request is coming from following ips, it should be
>> redirected towards caching node :
>>
>> geo $qwilt_user {
>> default 0;
>> 182.184.25.66/32 1;
>> 103.28.152.0/22 1;
>> 203.135.0.0/18 1;
>> 203.99.0.0/16 1;
>> 116.71.0.0/16 1;
>> 59.103.0.0/16 1;
>> 119.152.0.0/13 1;
>> *39.32.0.0/11 http://39.32.0.0/11 1;*
>>
>> The critical problem here now is that if request is coming from ip
>> 39.45.111.1 its not redirecting but you can clearly see from subnet bit
>> above which is /11 , means subnets from 39.32.X.X all the way to 39.63.X.X
>> are summed up within subnet 39.32.0.0/11 & supposed to be redirect.
>>
>> Is this limitation of the geo module that it is not supporting
>> supernetting ?
>>
>> Thanks in advance !!
>>
>> Shahzaib
>>
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Supernet issues in nginx geo !!

shahzaib1232 December 15, 2016 07:14AM

Re: Supernet issues in nginx geo !!

shahzaib1232 December 15, 2016 08:02AM

Re: Supernet issues in nginx geo !!

shahzaib1232 December 15, 2016 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 206
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