Questions tagged [geoip]
78 questions
0
votes
1 answer
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 halts at:
No package 'geoip' found
Consider…
![](../../users/profiles/74248.webp)
Michael Mikhjian
- 185
- 1
- 1
- 12
0
votes
0 answers
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 whole countries through iptables and geoip.…
![](../../users/profiles/150904.webp)
Bunkai.Satori
- 117
- 1
- 10
0
votes
1 answer
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 be starting a website that will contain multiple…
![](../../users/profiles/50233.webp)
Corey Ogburn
- 291
- 1
- 3
- 12
0
votes
1 answer
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
Only spanish IP's can access, no one else.…
![](../../users/profiles/61951.webp)
Filipe YaBa Polido
- 496
- 4
- 16
0
votes
1 answer
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 there any practical differences between the two I…
0
votes
1 answer
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
Deny from all
Allow from env=AllowCountry
![](../../users/profiles/203770.webp)
Pavel
- 397
- 6
- 16
0
votes
4 answers
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 sections.
Prelude:
GeoIP databases pre-built…
![](../../users/profiles/138256.webp)
user492160
- 139
- 1
- 3
- 11
0
votes
1 answer
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 I'm looking for other solution.
The problem
My…
![](../../users/profiles/68229.webp)
boris quiroz
- 1,140
- 1
- 7
- 18
0
votes
2 answers
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 v 1.3.0 stock and have never had to recompile…
![](../../users/profiles/43197.webp)
JM4
- 1,104
- 3
- 18
- 29
0
votes
1 answer
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 mod_geoip seems to be just what I'm looking for but…
![](../../users/profiles/88682.webp)
Paystey
- 103
- 4
0
votes
2 answers
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
GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm
And I get this warning: "warning:…
![](../../users/profiles/60245.webp)
Peter Johansson
- 377
- 1
- 6
- 8
0
votes
1 answer
nginx TCP forwarding with GeoIP
CentOS 7.8
nginx version: nginx/1.18.0
yum install nginx-module-geoip
yum install GeoIP GeoIP-data
Then, GeoIO runs well with HTTP(S).
I need nginx to forward a TCP port, which is only open to CN
add to nginx.conf
stream {
geoip_country…
![](../../users/profiles/607360.webp)
qq77273364
- 1
- 2
0
votes
0 answers
Nginx: implementing country block with a map
I am trying to implement, on a nginx webserver, a country block with a map.
This is my server configuration:
include snippets/ban-country-codes.conf;
include snippets/ban-user-agent.conf;
server {
listen 80 default_server;
…
![](../../users/profiles/410070.webp)
Sandro B.
- 66
- 6
0
votes
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…
![](../../users/profiles/467438.webp)
user3646958
- 9
- 1
0
votes
1 answer
Does CDN defeat the purpose of server-level GeoIP blocking?
Looking for second opinions.
Suppose a website is set up so that only IPs from country X are allowed read/write access. This server goes through a CDN such as Cloudflare. Because the GeoIP block is at server level, it never gets enabled because…
![](../../users/profiles/586363.webp)
cvlo
- 1
- 2