Welcome! Log In Create A New Profile

Advanced

Supernet issues in nginx geo !!

December 15, 2016 07:14AM
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: 260
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