Questions tagged [geoip]

78 questions
1
vote
1 answer

How can I install the ngx_http_geoip2_module module ? on Centos

I installed the GeoIP package using yum. I got the geoIP files in the /usr/share/GeoIP/ folder. I need to add some rules on some countries in the: /etc/nginx/nginx.conf and to do that i need to load the module, like: load_module…
Attila Naghi
  • 111
  • 1
  • 4
0
votes
1 answer

Iptables is not matching the chain with xtables-addons GeoIP

I have a strange issue with xtables-addons, in particular with xt_geoip module. I'm using Ubuntu 18.04.3 LTS x64 4.15.0-1051 with all the packages updated, I installed the following packages: xtables-addons-common pkg-config xtables-addons-source…
0
votes
1 answer

Unable to locate package Nginx-module-GeoIP

I am working on Debian Jessie 9. I have installed Nginx but there is no GeoIP module. so I decided to install it but "apt-get install nginx-module-geoip" not working giving an error like E: Unable to locate package Nginx-module-GeoIP how I can…
JohnGraphy
  • 1
  • 1
  • 1
0
votes
0 answers

nginx: Block specific PHP file from most countries

Background: I run several WordPress sites and I notice a huge amount of distributed brute force login attempts. fail2ban does not help me here because the attacker carefully attempts only up to 5 logins per IP and then switches to a different…
jlh
  • 161
  • 7
0
votes
1 answer

GeoIP Split DNS Wrong 3rd View on Slave

Successfully configured Bind to host multiple views with TSIG with this guide. Problem is when I add a third view to the mix, things get weird. On each server, I have 3 views right now: USA Europe China The second I add the China view, the slave…
emdk
  • 3
  • 1
0
votes
1 answer

GeoIP Apache Mod Whitelist by Country and Local Network

I've been having issues with attempted hackers trying to break into my web server so I decided to block traffic from everywhere except my target countries: US, France, and Germany. I installed the GeoIP Mod from MaxMind and added the following…
0
votes
1 answer

Is there any limitations in using GeoIP with bind9

I have a DNS server (BIND 9.10.3-P4-Ubuntu) on an Ubuntu 16.04 machine. I have a domain with two A records (IP1,IP2) which indicates to two separate web servers (Wserver1, Wserver2). I want the DNS server responds to the queries of country A from…
Sinai
  • 193
  • 1
  • 2
  • 17
0
votes
1 answer

Why GCP Kubernetes Node host location for europe-north1 seems to be in US?

I am new to both Google Cloud Platform and K8s. I have launched Kubernetes cluster in GCP and chosen europe-north1 as the region (europe-north1-a as the zone). When I try to run my application on this cluster it fails because it expects the…
0
votes
1 answer

NGINX, GeoIP, Varnish : Too many Redirects

I own two servers. One in Singapore (data.example.me) and other one in Europe (eu.data.example.me). I want the website to serve the users from their closest server when they visit my website. I configured Nginx on Signapore server using GeoIP…
0
votes
1 answer

What this is parameter in the geo block in Nginx?

In nginx, in geo module it has the following example http://nginx.org/en/docs/http/ngx_http_geo_module.html I am wondering what is this 0,2,1,1 numbers etc.. stated after the main addresses (values). what are the usage of them? > geo $geo { > …
Don Dilanga
  • 232
  • 2
  • 8
0
votes
1 answer

GEOIP for IIS 10

I'm migrating from Apache 2.4 back to IIS 10. IIS does have a IP restriction interface but there is noway to GEO ban by country. Is there a similar module than Apache Maxmind Geo IP module for IIS? Also, what is the workflow (if any) to remotely…
Eric
  • 81
  • 1
  • 10
0
votes
2 answers

"Nmap Scripting Engine" HTTP Requests

I looked into my nginx access logs to check who accessed my server and I noticed this line: - - [25/Feb/2016:02:49:12 +0100] "GET / HTTP/1.1" 302 160 "-" "Mozilla/5.0 (compatible; Nmap Scripting Engine; http://nmap.org/book/nse.html)" I use…
PatrickMA
  • 113
  • 6
0
votes
1 answer

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 : GeoIPEnable On GeoIPDBFile PATH_TO_LIB\GeoIP.dat GeoIPEnableUTF8 On …
Ismail H
  • 107
  • 7
0
votes
2 answers

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 ?
movi ran
  • 1
  • 2
  • 2
  • 3
0
votes
0 answers

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 directory from Great Britain due to the nature of the…