Geo DBs

Which Geo DBs are Supported?

Recommended:

  • IP2Location DB1: Country
  • IP2Location DB2: Country-ISP
  • IP2Location DB3: Country-Region-City
  • IP2Location DB4: Country-Region-City-ISP

To get these databases you have to contact Maxmind support to get files in legacy-formats:

  • Maxmind City Lite (country, region, city)
  • Maxmind City Full (country, region, city)
  • Maxmind ISP (country, region, city, ISP)
  • Maxmind Connection Types
  • Maxmind Country (country)

Also, Keitaro supports GEO information header from CloudFlare proxy (can be enabled in Settings).

How Can I improve the Quality of Country and City Lookups?

Use full versions of geo databases.

How to Use Full Maxmind DB?

Insert the license key on the Settings page, then install the database at “Geo-databases” page. Also, you can upload the database manually following the instructions below.

Maxmind

Manual Installation and Update of Maxmind City Lite

  1. Extract the file;
  2. Upload the file to var/geoip directory;

Manual Installation and Update of Maxmind GeoIP Country Legacy

  1. Download the archive with Legacy database in “Binary” format;“.
  2. Extract the files.
  3. Upload the '.dat' file as GeoIPCountry.dat to var/geoip/GeoIPCountry/ (create if non-existent).

Manual Installation and Update of Maxmind GeoIP Country Full

  1. Download the archive with Legacy database in “Binary” format;”.
  2. Extract the files.
  3. Upload the '.dat' file as GeoIPCountry.dat to /var/geoip/GeoIPCountry/ (create if non-existent).

Manual Installation and Update of Maxmind GeoIP City Full Legacy

  1. Download the archive with Legacy database in “Binary” format;“.
  2. Extract the files.
  3. Among extracted files find the database with .dat extension and rename it to GeoIPCity.dat.
  4. Upload that file to var/geoip/GeoIPCity/ (create if non-existent).
  5. If everything is done correctly, Maxmind Geo City Full option will be available in geo-databases settings.

Manual Installation and Update of Maxmind GeoIP Connection Type

  1. Download the archive with Legacy database in “Binary” format.
  2. Extract the files.
  3. Among extracted files find the database with .dat extension and rename it to GeoIP.dat.
  4. Upload that file to /var/geoip/GeoConnectionType/ (create if non-existent).

Manual Installation and Update of Maxmind Geo ISP

  1. Download the archive with Legacy database in “Binary” format;
  2. Extract the files;
  3. Among extracted files find the database with .dat extension and rename it to GeoISP.dat;
  4. Upload that file to /var/geoip/GeoISP/ (create if non-existent).

IP2Location

Keitaro supports DB3 (City) and DB4 (ISP).

Automatic uploading IP2Location DBs

  1. Purchase DB3 or DB4 ip2location.
  2. Enter login and password in Settings on tab “Integration”.

Manual uploading IP2Location DBs

Purchase DB3 or DB4 ip2location.

Upload BIN file to Keitaro:

  • DB4 (ISP) var/geoip/IP2Location/full_isp/IPV6-COUNTRY-REGION-CITY-ISP.BIN
  • DB3 (City) var/geoip/IP2Location/full/IPV6-COUNTRY-REGION-CITY.BIN

List of mobile carriers

(This list might be outdated).

Armenia: Beeline AM, Orange AM, VivaCell

Azerbaijan: AZERCELL, BAKCELL, Nar Mobile, Azerfon-Vodafone

Belarus: life:) - BeST, VELCOM, MTS Belarus

Estonia: Elisa, EMT, TELE2-EE

Georgia: Beeline GE, GEOCELL, MagtiCom, Silknet CDMA

Kyrgyzstan: Beeline KG, MegaCom, Nur Telecom, SOTEL CDMA

Kazakhstan: Beeline KZ, KCELL Activ, Tele2.KZ - NEO, Dalacom CDMA

Lithuania: BITE-LT, OMNITEL, TELE2-LT

Latvia: BITE-LV, LMT, TELE2-LV

Moldova: MOLDCELL, ORANGE Voxtel, Eventis, IDC CDMA, Unite

Russia: SkyLink, TELE2, Beeline, Megafon, MOTIV, MTS, Rostelekom, Yota

Tajikistan: Babilon-M, Beeline TJ (TACOM), Indigo TJ, MLT (TT Mobile), Tcell TJ

Ukraine: KYIVSTAR, life:), MTC

United Arab Emirates: EMIRNET

Afghanistan: MTN Afghanistan

AH: AQUAFON (Abhaziya), A-Mobajl (Abhaziya)

Angola: Movicel

Austria: Hutchinson 3G AT, MOBILKOM, T-Mobile AT

Australia: Optus Mobile, VODAFONE AU

Bosnia and Herzegovina: BH Telecom, MOBIS

Bangladesh: AKTEL, Grameenphone, WARIDTEL

Belgium: Getway, KPNO-BE

Bulgaria: GLOBUL, M-TEL GSM BG, Vivatel

Bahrain: MTC Vodafone BH

Brunei: Jabatan

Canada: Rogers, TELUS MOBILITY

Democratic Republic of the Congo: Zain

Switzerland: APN-MOBILE

China: China Mobile, UNICOM

CS: TELEKOM SRBIJA, Topnet 3G

Cyprus: CYTAMOBILE, MTN Cyprus

Czech Republic: O2 CZ, T-Mobile CZ, Vodafone CZ

Germany: E-Plus, O2 DE, T-Mobile DE, Vodafone DE

Denmark: Telenor DK

Algeria: AlgerieTelecom

Ecuador: Bells

Egypt: Etisalat, Link Egypt, MobiNil, Vodafone Egypt

Argentina: MOVISTAR

Spain: Movistar, Orange ES, VODAFONE ES, Yoigo

Finland: Saunalahti

France: BOUYGTEL, ORANGE F, SFR

Greece: Vodafone GR, COSMOTE

Croatia: VIPNET

Hungary: VODAFONE-HU

Indonesia: INDOSAT, proXL, T-SEL, Wisma Barito

Ireland: METEOR, O2 IE, Vodafone Ireland

Israel: CELLCOM, MIRS, Orange, Pelephone

India: BSNL, Dishnet, HUTCH, IDEA, Reliance, TATA, Vodafone IN, AIRTEL

Iraq: Newroz Telecom

Iran: IRANCELL, ITC

Italy: POSTEMOBILE, TIM, VODAFONE IT, WIND

Jordan: FastLink GSM, MobileCOM

Japan: KDDI

Kenya: Safaricom

Kuwait: GULFSAT, WATANIYA

Laos: UNITEL

Sri Lanka: AIRTEL, MOBITEL LK, MTN Networks

Luxembourg: TELE2-LU

Libya: Libyan Telecom

Morocco: Maroc Connect

Monaco: LONESTARCELL

Montenegro: Promonte GSM

Macedonia: T-Mobile MK

Mongolia: G-Mobile, MobiCom

Mexico: Iusacell, Telefunica

Bolivia: Telefunica

Malaysia: Celcom, DIGI, MAXISNET

Namibia: MTC NA

Nigeria: CELTEL, GLOBACOM, MTN

Netherlands: KPN, T-mobile NL, VODAFONE NL

Norway: Opera Mini, UC Browser

Nepal: NEPAL TELECOM

New Zealand: VODAFONE

Oman: Koora Mobile

Panama: CWPANAMA, Telefonica PA

Peru: Telefonica PE

Philippines: GLOBE

Pakistan: Telenor Pakistan, Warid Telecom

Poland: ERA GSM, Orange PL, Playmobile, PlusGSM, PTK CENTERTEL

Puerto Rico: Open Mobile

Palestine: PALTEL

Portugal: OPTIMUS, TMN, VODAFONE P

Paraguay: Maximo Lira

Qatar: Vodafone Qatar

Romania: COSMOTE, ORANGE RO, Vodafone RO

Serbia: Telenor RS

Saudi Arabia: AL JAWAL, Ettihad Etisalat, MTC-KSA

Sudan: KANARTEL, Mobitel

Sweden: HI3G, TELIA-MOBILE

Singapore: Sing tel

Slovenia: MOBITEL

Slovakia: Orange SK, Telefonica O2

El Salvador: Telemovil

Syria: MTN, SYRIATEL

Thailand: AISNET, DTACNET

Turkmenistan: MTC TM

Turkey: AVEA, Karizma, Kktcell, TELSIM MOBILE, TURKCELL, VODAFONE-TR

Taiwan: Taiwan Mobile

Tanzania: VODACOM-TZ

UK: Hutchinson 3G UK, Lycatel, O2 UK, Orange UK, RIM, T-Mobile UK, Vodafone UK

United States: Google Wireless, Ovi Services, Sprint, T-Mobile USA

Uzbekistan: Beeline UZ, COSCOM (UCEEL), Uzdunrobita (MTC)

Venezuela: Digitel, TELCEL

Vietnam: Beeline VN, VIETTEL

Cambodia: VIETTEL

Yemen: YemenNet

YU: MOBTEL, MONETGSM

South Africa: Cell C, Mobile Telephone Network, Vodacom

How automatically update DBs?

Add to [cron|Cron]] a task to execute:

php bin/cli.php geodbs:update_all

More about cli.php.