<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello list,<br><br></div>Locus 1.6.0 was released today[1].<br><br>Added:<br>- new API method for validating loaded databases (locus:analyze/1)<br>- new command line tool supporting database validation<br><br>Changed:<br>- safety of database HTTPS downloads was substantially improved by now rejecting expired certificates, mismatched hostnames, self-signed certificates or unknown certificate authorities<br>- test coverage using MaxMind's test data was greatly extended<br>- database decoder was thoroughly optimized<br>- documentation was mildly improved<br><br>Fixed:<br>- misguided rejection of UTF-8 strings with non-printable (but valid) codepoints<br>- unnecessarily strict refusal to load 2.x database formats succeeding 2.0<br>- infinite recursion in maliciously crafted databases due to circular paths<br><br></div><div>* Hex package: <a href="https://hex.pm/packages/locus/1.6.0">https://hex.pm/packages/locus/1.6.0</a><br>* Documentation: <a href="https://hexdocs.pm/locus/1.6.0/">https://hexdocs.pm/locus/1.6.0/</a><br></div><div dir="ltr">* Source code (GitHub): <a href="https://github.com/g-andrade/locus/tree/1.6.0">https://github.com/g-andrade/locus/tree/1.6.0</a><br></div><div dir="ltr">* Source code (GitLab): <a href="https://gitlab.com/g-andrade/locus/tree/1.6.0">https://gitlab.com/g-andrade/locus/tree/1.6.0</a><br><br>[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.<br></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 28 Mar 2018 at 21:34, Guilherme Andrade <<a href="mailto:g@gandrade.net">g@gandrade.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hi list,<br><br></div><span class="gmail-m_5927003719230125201m_-2901579056933656734gmail-il">Locus</span> 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.<br><br>Added:<br>- ability of loading databases from local file system<br>- type spec of database entries<br><br>Fixed:<br>- wrong handling of timezones on cached tarballs<br>- wrong handling of daylight saving time on conditional HTTP requests<br><br></div><div>The timezone / DST fixes mentioned above were also backported to earlier versions and tagged under:<br>- 1.0.1<br>- 1.1.4<br>- 1.2.2<br></div><div><br><div class="gmail_extra">* Overview: <a href="https://github.com/g-andrade/locus" target="_blank">https://github.com/g-andrade/<span class="gmail-m_5927003719230125201m_-2901579056933656734gmail-il">locus</span></a><br></div><div class="gmail_extra">* Documentation: <a href="https://hexdocs.pm/locus/" target="_blank">https://hexdocs.pm/<span class="gmail-m_5927003719230125201m_-2901579056933656734gmail-il">locus</span>/</a></div></div><br clear="all"><div class="gmail_extra"><br>-- <br><div class="gmail-m_5927003719230125201m_-2901579056933656734gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Guilherme<br></div></div></div></div></div></div>
</div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Guilherme<br></div></div></div></div></div></div></div>