Skip to content

Enable basic sanity check for new database files #30

@DimitriHautot

Description

@DimitriHautot

Hello,

A couple of days ago, I encountered an exception on every get(InetAddress) method call on a GeoIP2 City database file, dated from June 11, 2017:
capture d ecran 2017-06-18 a 00 00 28

For now, I don't see any (public) method that could allow some sanity check on a database file.

The MD5 hash computed on the downloaded file was matching the one available on your web site.

Appart from testing a new database file with some values, how could we ensure that we can safely switch to a valid database?
For production systems, this is very important.

Thanks,

Dimitri

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions