Your message dated Thu, 16 Dec 2021 10:16:04 +0100
with message-id <[email protected]>
and subject line Re: Bug#1001646: libgeoip1 can't determine the country of an 
ipaddress, but www.maxmind.com does report it
has caused the Debian Bug report #1001646,
regarding libgeoip1 can't determine the country of an ipaddress, but 
www.maxmind.com does report it
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1001646: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001646
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgeoip1
Version: 1.6.12-8
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Our Internet provider assigned us address 185.202.110.161. The following
minimal C++ program reports: 

        '185.202.110.161 not found in GeopIP database':

    int main()
    {
        char const *ip = "185.202.110.161";
    
        GeoIP *gi = GeoIP_open("/usr/share/GeoIP/GeoIP.dat", 
                                GEOIP_MEMORY_CACHE); 
        if (!gi)
            return 1;

        char const *country = GeoIP_country_code_by_addr(gi, ip);
        if (!country)
            cout << ip << " not found in GeopIP database\n";
    }


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Since libgeoip1 lists www.maxmind.com] as its 'External Resource', I entered
the above address at https://www.maxmind.com/en/home

   * What was the outcome of this action?

The page https://www.maxmind.com/en/geoip2-precision-demo was opened and
showed the correct country and ISP.

   * What outcome did you expect instead?

Since www.maxmind.com correctly reported details like the address's country
and ISP, I had expected that libgeoip1 would also produce the correct
country. I tried several other (existing) addresses using the above program,
and it correctly produced the countries of those addresses


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgeoip1 depends on:
ii  libc6  2.32-5

Versions of packages libgeoip1 recommends:
ii  geoip-database  20191224-3

Versions of packages libgeoip1 suggests:
ii  geoip-bin  1.6.12-8

-- no debconf information

--- End Message ---
--- Begin Message ---
reassign 1001646 geoip-database
thanks

Am 13.12.2021
Our Internet provider assigned us address 185.202.110.161. The following
minimal C++ program reports:

         '185.202.110.161 not found in GeopIP database':


This is just because the address is not listed in the database. This is not a bug for Debian.


Versions of packages libgeoip1 recommends:
ii  geoip-database  20191224-3

With 20181108-1 it is NL, with 20191224 it is N/A. If you want more accurate results you have to use the maxmind.com geoip.dat database and update it on your own.
--- End Message ---

Reply via email to