[erlang-questions] [ANN] locus: Geolocation and ASN lookup of IP addresses

Guilherme Andrade <>
Sun Jan 27 21:56:00 CET 2019


Hello list,

Locus 1.6.0 was released today[1].

Added:
- new API method for validating loaded databases (locus:analyze/1)
- new command line tool supporting database validation

Changed:
- safety of database HTTPS downloads was substantially improved by now
rejecting expired certificates, mismatched hostnames, self-signed
certificates or unknown certificate authorities
- test coverage using MaxMind's test data was greatly extended
- database decoder was thoroughly optimized
- documentation was mildly improved

Fixed:
- misguided rejection of UTF-8 strings with non-printable (but valid)
codepoints
- unnecessarily strict refusal to load 2.x database formats succeeding 2.0
- infinite recursion in maliciously crafted databases due to circular paths

* Hex package: https://hex.pm/packages/locus/1.6.0
* Documentation: https://hexdocs.pm/locus/1.6.0/
* Source code (GitHub): https://github.com/g-andrade/locus/tree/1.6.0
* Source code (GitLab): https://gitlab.com/g-andrade/locus/tree/1.6.0

[1] For those who don't have the existing thread handy, locus is an
Erlang/OTP library for geolocation and ASN lookup of IP addresses, using
MaxMind GeoLite2 databases.

On Wed, 28 Mar 2018 at 21:34, Guilherme Andrade <> wrote:

> Hi list,
>
> Locus 1.3.0 was released today. For those who don't have the existing
> thread handy, it's library for looking up geolocation / ASN of IP
> addresses, using MaxMind GeoLite2.
>
> Added:
> - ability of loading databases from local file system
> - type spec of database entries
>
> Fixed:
> - wrong handling of timezones on cached tarballs
> - wrong handling of daylight saving time on conditional HTTP requests
>
> The timezone / DST fixes mentioned above were also backported to earlier
> versions and tagged under:
> - 1.0.1
> - 1.1.4
> - 1.2.2
>
> * Overview: https://github.com/g-andrade/locus
> * Documentation: https://hexdocs.pm/locus/
>
>
> --
> Guilherme
>


-- 
Guilherme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190127/3759714c/attachment.html>


More information about the erlang-questions mailing list