<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
These 2 overlap<br>
<br>
<a href="http://110.93.192.0/24">110.93.192.0/24</a> TW;<br>
<a href="http://110.93.192.0/18">110.93.192.0/18</a> TW;<br>
<br>
The /24 is within the /18. In this instance you want to remove the
/24.<br>
<br>
It might be worth investigating if you've got any others that
overlap. I think you can probably override with a different country
code but using the same makes no sense.<br>
<br>
Steve.<br>
<br>
<div class="moz-cite-prefix">On 19/06/14 21:06, shahzaib shahzaib
wrote:<br>
</div>
<blockquote
cite="mid:CAD3xhrN+X5z=J_g7Xprd5qbRE2zXasqGZRewSyTmNo-hOHH0fg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>For testing purpose, i have added only few
prefixes :-<br>
<br>
</div>
geo {<br>
</div>
default 0;<br>
</div>
include geo.conf;<br>
}<br>
<br>
</div>
geo.conf <br>
<br>
<a moz-do-not-send="true" href="http://39.49.59.0/24">39.49.59.0/24</a>
PK;<br>
<a moz-do-not-send="true" href="http://110.93.192.0/24">110.93.192.0/24</a>
TW;<br>
<a moz-do-not-send="true" href="http://110.93.192.0/18">110.93.192.0/18</a>
TW;<br>
<a moz-do-not-send="true" href="http://117.20.16.0/20">117.20.16.0/20</a>
TW;<br>
<a moz-do-not-send="true" href="http://119.63.128.0/20">119.63.128.0/20</a>
TW;<br>
<a moz-do-not-send="true" href="http://202.163.104.6/32">202.163.104.6/32</a>
ARY;<br>
<a moz-do-not-send="true" href="http://203.124.63.0/24">203.124.63.0/24</a>
CM;<br>
<a moz-do-not-send="true" href="http://221.132.112.0/21">221.132.112.0/21</a>
TW;<br>
<br>
<br>
</div>
Now, whenever some ip from the list send request, nginx reply
with gateway timeout :-<br>
<br>
curl -I <a moz-do-not-send="true"
href="http://files.com/files/videos/2014/06/10/14023918368e3411-240.mp4">http://files.com/files/videos/2014/06/10/14023918368e3411-240.mp4</a><br>
HTTP/1.1 504 Gateway Time-out<br>
Server: nginx<br>
Date: Thu, 19 Jun 2014 19:59:50 GMT<br>
Content-Type: text/html<br>
Content-Length: 176<br>
Connection: keep-alive<br>
<br>
</div>
In order to resolve this error, i have to manually remove a
network from the file which is <a moz-do-not-send="true"
href="http://110.93.192.0/18">110.93.192.0/18</a> TW;<br>
<br>
<div>
<div>What so suspicious with this prefix <a
moz-do-not-send="true" href="http://110.93.192.0/18">110.93.192.0/18</a>
TW ? Why it is causing to crash every other requests ?<br>
<br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Fri, Jun 20, 2014 at 12:07 AM, Jonathan Matthews <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:contact@jpluscplusm.com" target="_blank">contact@jpluscplusm.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 19 June 2014 19:59, shahzaib shahzaib <<a
moz-do-not-send="true"
href="mailto:shahzaib.cb@gmail.com">shahzaib.cb@gmail.com</a>>
wrote:<br>
> We've added 2000+ ip prefixes in a file "geo.conf"
included in nginx vhost<br>
> by using ngx-http_geo_module and received the
following warning :-<br>
><br>
> 2014/06/19 23:52:46 [warn] 1633#0: duplicate network
"<a moz-do-not-send="true" href="http://103.24.96.0/22"
target="_blank">103.24.96.0/22</a>",<br>
> value: "tw", old value: "tw" in
/usr/local/nginx/conf/geo.conf:40<br>
<br>
</div>
What makes you think that this error message is incorrect?<br>
If it's correct and you have a duplicate entry, resolving
the problem<br>
should be pretty simple ...<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a moz-do-not-send="true" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a moz-do-not-send="true"
href="http://mailman.nginx.org/mailman/listinfo/nginx"
target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
</blockquote>
<br>
</body>
</html>