geoip Questions

4

How to convert MaxMinds MMDB GeoIP to DAT format so that I can use with modsecurity+Apache. Modsecurity supports only DAT format.
Azpurua asked 10/1, 2014 at 17:18

2

Solved

I'm using geoip2's python library and pySpark to get the geographical address of some IPs. My code is like: geoDBpath = 'somePath/geoDB/GeoLite2-City.mmdb' geoPath = os.path.join(geoDBpath) sc.add...
Internuncial asked 16/11, 2015 at 22:7

5

Solved

Started couple days ago i can't download http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz data...
Archaeological asked 8/1, 2019 at 18:44

3

Solved

I have loaded my application logs in BigQuery and I need to calculate country based on IP address from those logs. I have written a join query between my table and a GeoIP mapping table that I dow...
Stratton asked 27/10, 2013 at 12:37

4

Plugin I have uses this url which no longer works as need a license key obviously now https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz I have tried this url (Note: I ha...
Cupid asked 28/1, 2020 at 10:8

2

We have 2 stores which are XXXXXX.com and XXXXXX.com.mx, I'd like to allow only US IPs go to XXXXXX.com any other IPs need to route to XXXXXX.com.mx We used to use Limelight for routing but we're...
Propene asked 16/10, 2013 at 21:41

3

MaxMind is now offering a GeoLite2 DB as described on their site. The trouble is that they no longer offer CSV download, only a binary MMDB binary database format. I can't find anything online ab...
Chalcedony asked 21/10, 2013 at 16:4

1

Can someone explain to me how to install the Geoip2 module on a Nginx 1.14 running in a production environment without breaking the current configuration? I only find sources indicating how to com...
Browne asked 5/6, 2020 at 11:4

11

Solved

Is there a way to figure out the country name just by looking at an IP address? I mean, do countries have specific ranges of IP addresses? For example, Australia can have IP addresses only in the r...
Skinner asked 21/3, 2012 at 9:48

4

Solved

Introduction From NGINX version 1.9.11 and upwarts, a new feature is introduced: dynamic modules. With dynamic modules, you can optionally load separate shared object files at runtime as modules –...
Aintab asked 11/4, 2016 at 16:36

19

I want to retrieve information like the city, state, and country of a visitor from their IP address, so that I can customize my web page according to their location. Is there a good and re...
Ascariasis asked 3/1, 2009 at 22:27

5

Solved

There are many SO questions how to get http headers with javascript, but for some reason they don't show up HTTP_CF_IPCOUNTRY header. If I try to do with php echo $_SERVER["HTTP_CF_IPCOUNTRY"];, i...
Weldon asked 8/9, 2015 at 10:20

2

From what sources does geolocation databases like http://www.maxmind.com/ get its data? As i have understood it the IP registry places like ARIN and RIPE just hold information about what company is...
Lent asked 7/8, 2013 at 22:22

1

Solved

I would like to add "We ship to {country name}" in WooCommerce header based on user geoip country name? I would like to write html content in the header of my WooCommerce store, such as W...
Quadriplegia asked 10/7, 2018 at 22:58

2

Solved

My nginx conf looks like this: include /usr/share/nginx/modules/mod-http-geoip.conf; server { } server { } I had installed mod-http-geoip via sudo yum install nginx-mod-http-geoip and i hav...
Po asked 9/7, 2018 at 10:23

0

There is allready another Thread about this which isn't really answered: How to Convert a Maxmind .MMDB to .DAT? Here Greg Oschwald, working at Maxmind, said that "The Legacy GeoIP builds (.dat) ...
Selfjustifying asked 2/3, 2018 at 13:9

16

Ideally I'm trying to put together a PHP script that I can query from any web browser and it returns the country of the IP address that accessed the PHP script. Is this possible or is there ...
Raimundo asked 6/9, 2010 at 8:29

3

I have some IP adress ($_SERVER['REMOTE_ADDR']) and I must receive (learn) name of country and it would be nice if I can receive (learn) name of city too. And don't forget It's php-project, useful ...
Provenance asked 12/12, 2010 at 17:6

4

Solved

I am having a issue finding a fast way of joining the tables looking like that: mysql> explain geo_ip; +--------------+------------------+------+-----+---------+-------+ | Field | Type | Null |...
Louettalough asked 19/11, 2011 at 16:10

3

We are using aws elastic beanstalk for our PHP application on EC2 instance. Since we opted for load balancing, it keeps changing the instance time and again. I am wondering if we install a PHP plu...

1

Solved

In the GeoLite2 Country database does anyone know if a list of the two character country/organisation codes can be found anywhere or what source its using?
Murrey asked 18/3, 2017 at 15:47

2

Solved

I have looked and looked and I can't seen to find a C++ version of GeoIP. I know there is a version of it in C, but I can't seem to get it working with Micosoft Visual Studio 2012 C++ I have tried...
Conventionalism asked 26/3, 2013 at 7:47

4

CloudFlare provides the user's country from the originating IP but I need location on a city level so I've added MaxMind's GeoCityLite using the mod_geoip Apache script. The problem is now to get ...
Investiture asked 24/6, 2011 at 16:35

2

Solved

I'm attempting to install a custom build on heroku, so I'm using a variety of ways to attempt a third part installing using the buildpacks. In my .buildpacks file I have: https://github.com/ddolla...
Platino asked 11/12, 2015 at 9:44

1

Solved

Is there any way, how to get US state abbr. (CA, VI, ..) from IP? The library return me only metro code and postal code, is there any lookup table to state convertor? Or how do you extract the sta...
Williamson asked 16/8, 2015 at 18:28

© 2022 - 2024 — McMap. All rights reserved.