The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
26 views

Nginx Location Rewrite Rule matching GeoIP Header value

I'm looking to write a simple rewrite rule where I basically am trying to say the following If the requested URI is text/index.html (or test/) and the GeoIP Organization equals "My GeoIP Value" then ...
0
votes
0answers
20 views

geoipdns data update on the fly not working

I install geoipdns recently. It runs fine but it doesn't take new data updates correctly. Data updates should be made without restarting geoipdns, but it's not. I run the update with these steps: cp ...
0
votes
0answers
9 views

Awstats exclude Country

I have Awstats + GeoIP and I would like to exclude an entire country. Is there a way to do that? I'm not sure SkipHosts would do it, since it probably has something to do with the GeoIP plugin. ...
-2
votes
1answer
50 views

Is there any rate limit when using the whois command on ips? [closed]

The data returned by whois ip-address appears to be very useful and more accurate than the data I get from the maxmind geoip databsae I am currently using. Where does the data come from and are there ...
0
votes
0answers
86 views

how to “match-clients” on Bind9 to match with IP of who use the DNS

I just setup a GeoDNS server with bind9.9.5 with geoip patch following this kind of configuration: http://www.caraytech.com/geodns/ The server dns work very well and geoip modules do the job. What ...
0
votes
1answer
194 views

Nginx block specific directory to one country

I'm using Nginx and GeoIP to block certain countries (to the whole site). Is it possible to block just one specific directory? This way: www.domain.com/ Everyone can access www.domain.com/ES ...
1
vote
1answer
472 views

Nginx geoipblocking & allowing LAN IPs

I'd like to block IPs with geoip except whitelisted countries AND the local area network. The first part works flawless, the second one not. Somwehere searching the internet I found the codes LH ...
0
votes
0answers
102 views

Maxmind isp and netspeed db in nginx

Has anyone tried Geoip ISP and Netspeed DB's from Maxmind with Nginx? Nginx has module ngx_http_geoip_module which works with country and city db. But I can't find any tutorial how to get ISP and ...
0
votes
1answer
57 views

I can compile GeoIP support into uWSGI or Nginx. What's the difference?

I'm running uWSGI with PHP and Python support through Nginx. All of this is compiled from source. I want GeoIP support. Both Nginx and uWSGI can be compiled with their own GeoIP plugins/modules. Are ...
0
votes
1answer
56 views

apache 2.2 and http auth. by country with mod_geoip

I'm using mod_geoip for filtr some traffic. So now I have e.g. this SetEnvIf GEOIP_COUNTRY_CODE FR AllowCountry <Locationmatch "/secure-by-country"> Deny from all Allow from env=AllowCountry ...
0
votes
4answers
269 views

IP address and geolocation

I very well know that this has been asked quite a number of times here itself but folks please give this question a read. Plus I'm giving my best to phrase this question, hence the Prelude/Question ...
0
votes
1answer
204 views

Bind DNS server with GeoIP City, database not available

Im working on Bind with GeoIP for a few days and installed them properly, However I have some problems about loading maxmind's GeoIP databases. The database is free version therefore I changed its ...
1
vote
1answer
295 views

open source geolocation aware authoritative DNS server with edns-client-subnet support

geoip-enabled authoritative dns server is quite easy to find - bind9 with patch can do it, powerdns as well. but the problem starts when server receives DNS query from global public resolvers like ...
-1
votes
1answer
366 views

How to Enable geoip on magento with varnish page cache

I currently have 3 stores online with 3 different domains, running magento with Apache and varnish (using Phoenix page cache extension) running on centos One store is for uk, another for Ireland and ...
0
votes
1answer
101 views

Nginx redirect and geolocalization

I've the following problem with Nginx and GeoIP and will be nice if you can give me some pointers about the solution. Note: I know this can be solved on DNS side, but that won't be possible by now so ...
1
vote
2answers
644 views

One hostname and two servers in different countries

I have a site, let it be www.site.com/ (ASP NET MVC, but that's doesn't really matter) I have another site, let it be www.secondsite.vi/ (it hosts in Vietnam). The structure of the sites is the same, ...
1
vote
1answer
1k views

GeoIP for configuration into nginx

I'm trying to compile geoip into nginx. When doing ./configure --with-http_geoip_module I get the following error. ./configure: error: the GeoIP module requires the GeoIP library. You can either do ...
0
votes
0answers
500 views

get mod_geoip2 to detect city name

I have installed mod_geoip2 to apache-2.2 according to documentation here is my config LoadModule geoip_module /usr/lib64/httpd/modules/mod_geoip.so <IfModule geoip_module> GeoIPDBFile ...
1
vote
1answer
60 views

Geographical data per ip command line tool

Is there any (preferably FOSS) command line tool that provides geographical information per requested IP? Online example
1
vote
1answer
222 views

Dynamic IP on NGINX geo module without restart

I want create a task on my Capistrano deploy to put my public IP on geo module configuration of my NGINX server without restart NGINX, is it possible? Example, my /etc/nginx/nginx.conf: geo $geo { ...
1
vote
2answers
3k views

Haproxy not properly passing on X-Forwarded-For header

I have backend web servers that receive requests by way of haproxy->nginx->fastcgi. The web app used to see multiple ip's coming through in the X-Forwarded-For header, chained together with commas ...
1
vote
1answer
1k views

GeoIP and Nginx

I have a nginx with geoip, but it is not working rightly. The issue is the next: Nginx are getting geodata from $_SERVER['REMOTE_ADDR'] instead of $_SERVER['HTTP_X_HAPROXY_IP'], which have the real ...
1
vote
2answers
519 views

IP addresses for Windows Azure servers seem to be from the US, when the servers are supposed to be located in Europe

I have a couple of test servers on Windows Azure. One is in the North Europe location and the other is in West Europe. I yet to get around to testing which location offers better connection speeds ...
2
votes
1answer
273 views

Geo fencing, ip address list of different geographies

I need to provide different webpage experiences based on geographies divided as Western, Asian, African audience etc. I plan to do this with Nginx geo module by segmenting ip addresses and routing ...
2
votes
1answer
612 views

Installed mod_geoip, but is not appearing in php $_SERVER variable

I just installed mod_geoip on a dedicated server, I did something like this: cd /usr/share/GeoIP/ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz gzip -d ...
1
vote
2answers
512 views

varnish3, mod_geoip with apache2 using mod_rewrite and mod_rpaf

I am maintaining a website with 3 different versions of the site, with 3 different languages, handles with a single system written in php, which takes in environment variables based on the domain name ...
0
votes
1answer
249 views

Geo IP Apache module reliability

I'm looking for some simple way to determine the country a user is viewing the site from, it's only a branding issue and not a legality issue, so a few false positives won't matter so much. Apaches ...
0
votes
1answer
560 views

Installing GeoIP in cPanel/WHM

I need to install GeoIP on a cPanel server (running CentOS 5.8). I have tried installing it through EasyApache (after installing geoip-devel and the relevant EasyApache addon), and it seems to have ...
0
votes
1answer
5k views

Installing GeoIP on CentOS

On CentOS 6 I cannot install GeoIP even though many websites describe installing GeoIP with the following commands: yum install GeoIP GeoIP-devel GeoIP-data I get No package GeoIP available.
2
votes
0answers
225 views

php5-geoip performance issue

I installed the php5-geoip module on Ubuntu 10.04 via apt-get install php5-geoip. I've updated the geocities.dat library The production server performance decreased and load average is soaring. ...
2
votes
3answers
620 views

GeoIP based greylisting with Exim?

I have been using Sendmail together with milter-greylist for many years at several sites. milter-greylist has support for defining greylisting rules based on GeoIP database lookups. This is very ...
2
votes
5answers
1k views

Block all communication from a list of IP addresses

Is there any firewall(preferred some free :) ) that can block all communication from all ip addresses except from some IP's coming from a particular location... i basically want to block DDOS attack ...
2
votes
3answers
1k views

Nginx HttpGeoIPModule with X_Forwarded and HAProxy

Is it possible to make Nginx HttpGeoIPModule use the X_Forwarded IP that is sent via HAProxy? It is currently just using the incorrect server IP, but unsure how I can make Nginx use the X_Forwarded ...
0
votes
2answers
2k views

Installing GeoIP on Redhat x86_64 es5 with no success?

I am trying to install GeoIP on my Redhat x86_64 es5 but im getting errors. The packages im trying to install is: GeoIP-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm ...
3
votes
2answers
452 views

DNS setup for website on geo redundant servers

Let's say: I have a website written in English and shown on www.example.com. The website is on a US server now (based on cPanel/WHM) at the IP address 192.0.2.0. I can manage the DNS of example.com ...
10
votes
3answers
3k views

Best way to block a country by IP address?

I have a website that needs to block a particular country based on IP address. I am more than aware that IP-based blocking is not a foolproof method for blocking visitors, but it is a necessary step ...
2
votes
2answers
877 views

NginX GeoIP cause extra load?

Because Nginx requires the geoip_ directives to go into the main http{ } block of the nginx.conf file, does that mean the geoip data is being pulled for every single request? In other words, does ...