Questions tagged [geoip]

84 questions
1
vote
2 answers

How often do country IP address ranges change?

How often do country IP address ranges change? I get a lot of notifications about failed login via Wordpress or SSH. It's very hard to ban every single IP address, so I wrote a script to block single IP addresses and IP ranges. But I never reset my…
1
vote
1 answer

bind9 geoip does not function correctly

bind9 bind-9.17.2 has been compiled from source on debian-9. ./named -V BIND 9.17.2 (Development Release) running on Linux x86_64 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) built by make with '--with-maxminddb'…
Shakiba Moshiri
  • 231
  • 2
  • 7
1
vote
0 answers

How to troubleshoot GeoIP error: error opening file /usr/share/GeoIP/GeoIP.mmdb

I am new to the GeoIP solution. Some things have changed regarding legacy GeoIP dbs which has made it seem a little more complicated. I am on AWS Linux I have installed GeoIP: rpm -qa |grep…
user203106
  • 51
  • 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
  • 171
  • 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…
Nick Schiwy
  • 1
  • 1
  • 3
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
  • 203
  • 1
  • 3
  • 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
  • 242
  • 3
  • 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
  • 11
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