The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
29 views

Apache 2.4, mod_geoip GeoIPScanProxyHeaders “On” not working

apache httpd.conf LoadModule geoip_module modules/mod_geoip.so <IfModule mod_geoip.c> GeoIPEnable On GeoIPEnableUTF8 On GeoIPOutput Env GeoIPScanProxyHeaders On GeoIPDBFile ...
0
votes
1answer
124 views

nginx GEOIP behind cloudflare proxy showing wrong country (not of end user, but if proxy)

I am using Cloudflare and nginx geoip directives: geoip_country /usr/local/share/GeoIP/GeoIP.dat; geoip_city /usr/local/share/GeoIP/GeoLiteCity.dat; They are picking the IP up OK (as pipaddress ...
0
votes
2answers
63 views

“Nmap Scripting Engine” HTTP Requests

I looked into my nginx access logs to check who accessed my server and I noticed this line: <IP> - - [25/Feb/2016:02:49:12 +0100] "GET / HTTP/1.1" 302 160 "-" "Mozilla/5.0 (compatible; Nmap ...
9
votes
10answers
13k views

Relatively easy way to block all traffic from a specific country?

I have a web app that has no users in the Philippines, but is constantly bombarded by spammers, carders testing cards, and other undesirable activity from there. I can see in the logs that they have ...
0
votes
1answer
61 views

How to test GeoIP .dat librairie in local

I'm on a projet where I have to implement GeoIP on a Redhat Apache instance. For now, i'm only testing the configuration in local. Here it is : <IfModule mod_geoip.c> GeoIPEnable On ...
1
vote
0answers
49 views

NginX with GeoIP - what is returned for geo code when no mapping is found?

As the tests I conducted (using Java API to read GeoIP.dat, as well as local test) might be insufficient, I was wondering what happens on NginX when geo-ip module is configured, and when no IP to ...
0
votes
1answer
639 views

How should I add GeoIP module to nginx?

I'm using nginx version 1.8 on a centos 6.7 server but when using nginx -V command , I can't see geoip_module there . How can I add it to nginx ?
0
votes
0answers
68 views

GeoIP module (mod_geoip2) and Amazon EC2 Ubuntu instance

I have installed GeoIP mod via http://dev.maxmind.com/geoip/legacy/mod_geoip2/ and have made sure the permissions are correct for www-data to read the database. We are just needing to block a ...
0
votes
1answer
498 views

nginx geoip redirect for first time only leads to redirect loop

I'm trying to configure nginx to perform geoIP checks on first-time visitors only. The idea is that first-time visitors should be redirected to the page version which has been customised for their ...
0
votes
1answer
67 views

Varnish GeoIP (vmod_geoip) + Amazon Linux

I'm trying to install vmod_geoip via amazon linux, but so far no luck. I've installed geoip geoip-devel. I've downloaded the vmod_geoip source. I'm able to ./autogen.sh but ./configure constantly ...
0
votes
0answers
117 views

Getting 500 Sever Error after GEOIP installation

I installed GeoIp on Debian/Apache. I think ive added all correct but after adding the lines to .htaccess i get a 500 error. Apache error log shows GeoIPDBFile not allowed here. I already tried to ...
1
vote
3answers
162 views

Arvixe claims that my physical host is located in Europe eventhough the whois information

When I look whois of the site it seems like located in US. My site is: www.evdore.com. 1 * * * 2 hos-tr1.juniper1.rz13.hetzner.de 213.239.224.1 de 0.145 ms ...
0
votes
0answers
149 views

IPTABLES and GEOIP: Show Custom Webpage to Blocked Visitors

Because of legal protection, as a first stage of launching my project I will focus on couple of countries only. The number of supported countries will grow. I know, it is possible to block or allow ...
0
votes
2answers
853 views

Anyway to backup nginx before recompiling?

I am looking to install the HttpGeoipModule for NGINX but learning I have to recompile the entire thing from source in order to do so. I have a new Media Temple DV 4.0 server and that comes with nginx ...
10
votes
3answers
5k 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 ...
1
vote
1answer
1k 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
1answer
224 views

Configure IIS to only server certain files to requests originating in the US?

The transfer of encrypted data or encryption systems from the US to foreign nations is tricky business as encryption can be categorized as a munition and can be governed by US export laws. I plan to ...
3
votes
2answers
7k 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
311 views

Unable to configure MaxMindDB's Apache module

I recently installed MaxMind's MaxMindDB apache module successfully. I added a new file called geoip.conf to /etc/httpd/conf.d/ with the following contents: <IfModule mod_maxminddb.c> ...
1
vote
1answer
255 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 ...
-2
votes
1answer
170 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 ...
1
vote
1answer
494 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
vote
2answers
815 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 ...
0
votes
1answer
579 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 ...
0
votes
1answer
84 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
106 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
492 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 ...
3
votes
1answer
654 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 ...
-1
votes
1answer
629 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
355 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
1k 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, ...
3
votes
1answer
4k 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 ...
1
vote
1answer
68 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
325 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
1answer
2k 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 ...
2
votes
1answer
467 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
3answers
2k 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 ...
2
votes
3answers
930 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 ...
1
vote
2answers
659 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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
515 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 ...
1
vote
1answer
9k 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
295 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
5answers
2k 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 ...
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 ...