# GeoIP Module

**URL:** <https://www.ruby-forum.com/t/geoip-module/168397>\
**Category:** NGINX\
**Created:** [May 20, 2009, 11:42am UTC](https://www.ruby-forum.com/t/geoip-module/168397 "2009-05-20T11:42:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phillip\_B\_Oldham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Post date:** [May 20, 2009, 11:42am UTC](https://www.ruby-forum.com/t/geoip-module/168397/1 "2009-05-20T11:42:01Z")

</div>

Does the GeoIP module still work with the latest Nginx release?

## Also, does anyone have a copy of the module? The link on the wiki doesn’t work.

_Phillip B Oldham_  
The Activity People  
removed\_email\_address@domain.invalid [mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

* * *

_Policies_

This e-mail and its attachments are intended for the above named  
recipient(s) only and may be confidential. If they have come to you in  
error, please reply to this e-mail and highlight the error. No action  
should be taken regarding content, nor must you copy or show them to  
anyone.

This e-mail has been created in the knowledge that Internet e-mail is  
not a 100% secure communications medium, and we have taken steps to  
ensure that this e-mail and attachments are free from any virus. We must  
advise that in keeping with good computing practice the recipient should  
ensure they are completely virus free, and that you understand and  
observe the lack of security when e-mailing us.

---

<div class="post-metadata">

**Author:** ![Phillip\_B\_Oldham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Post date:** [December 2, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/geoip-module/168397/2 "2010-12-02T13:46:53Z")

</div>

I ran a test on the debug server, and I added an entry to the geo list  
to have the IP I was testing from. It got through our security without  
any problem. I know for a fact that it is not working properly though,  
perhaps load or memory is somehow causing problems with it on our other  
servers?

The only difference between our test server and our production servers  
is the test server uses the --debug compile flag, while the production  
servers do not, but they do have the syslog patch applied, which should  
not effect the geo lists as far as I understand.

The configs, distros, everything else is the same. We generate the  
configs on a single system and then push them out to all of our servers,  
including the debug server at the same time.

The reason I know that it is not working properly, is that one of our  
customers websites running through our security had the google webcache  
system pick up our security page rather then their web page. Our  
security page lists the visitors IP address, which was the google  
crawler IP. I took that IP and checked our geo list of search engines  
that should be allowed through, and it was in the list. We’ve gone over  
the configs to see if we perhaps missed the if statement mentioned  
earlier which does the proxy\_pass, but everything is in place, as it has  
been working for quiet a while. We have had an increase in traffic  
lately through our servers though, so I am curious if possible load  
plays some factor in the geo lists being processed or something.

Posted at Nginx Forum:

> **[Re: GeoIP Module](https://forum.nginx.org/read.php?2,2228,154867#msg-154867)**
>
> Does the GeoIP module still work with the latest Nginx release? Also, does anyone have a copy of the module? The link on the wiki doesn't work. -- \*Phillip B Oldham\* The Activity People phill@theactivitypeople.co.uk --------

---

<div class="post-metadata">

**Author:** ![Phillip\_B\_Oldham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Post date:** [December 3, 2010, 9:41am UTC](https://www.ruby-forum.com/t/geoip-module/168397/3 "2010-12-03T09:41:37Z")

</div>

I have done a bunch of more testing, and so far, the geo module appears  
to be working, and this may be due to a configuration problem somewhere  
else.

Posted at Nginx Forum:

> **[Re: GeoIP Module](https://forum.nginx.org/read.php?2,2228,155077#msg-155077)**
>
> Does the GeoIP module still work with the latest Nginx release? Also, does anyone have a copy of the module? The link on the wiki doesn't work. -- \*Phillip B Oldham\* The Activity People phill@theactivitypeople.co.uk --------
