From owner-freebsd-stable@freebsd.org Tue Jan 7 19:14:43 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 83E401F0348 for ; Tue, 7 Jan 2020 19:14:43 +0000 (UTC) (envelope-from SRS0=E1zf=24=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47shry2hhjz4VXf for ; Tue, 7 Jan 2020 19:14:42 +0000 (UTC) (envelope-from SRS0=E1zf=24=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B77A628426; Tue, 7 Jan 2020 20:14:38 +0100 (CET) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id B8A2128417; Tue, 7 Jan 2020 20:14:36 +0100 (CET) Subject: Re: Light GeoIP support dropped? To: Alexander Koeppe , freebsd-stable@freebsd.org References: <20200106214637.GA2452@elch.exwg.net> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <726b3720-4a93-0802-ef48-fd786c55f41b@quip.cz> Date: Tue, 7 Jan 2020 20:14:36 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47shry2hhjz4VXf X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=E1zf=24=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=E1zf=24=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [5.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.87)[ip: (0.36), ipnet: 94.124.104.0/21(0.18), asn: 42000(3.72), country: CZ(0.09)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.998,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=E1zf=24=quip.cz=000.fbsd@elsa.codelab.cz]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz, SRS0=E1zf=24=quip.cz=000.fbsd@elsa.codelab.cz] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2020 19:14:43 -0000 Alexander Koeppe wrote on 2020/01/07 19:47: > Am 06.01.20 um 22:46 schrieb Christoph Moench-Tegeder: >> ## Alexander Koeppe (format_c@online.de): >> >>> since I've upgraded to FreeBSD 12, I don't find a package providing >>> the lightweight geoip database API incl. GeoIP.h and libGeoIP.so. >> >> The so-called "legacy" database format used by libGeoIP has been >> discontinued by MaxMind, and is only available for paying customers: >> https://blog.maxmind.com/2018/01/02/discontinuation-of-the-geolite-legacy-databases/ >> >> >> For that reason, net/GeoIP has been removed quite some time ago: >> https://svnweb.freebsd.org/ports?view=revision&revision=493168 >> >> And the free (as in no payment required) GeoLite2 databases have seen >> some >> licensing/handling changes, too: >> https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/ >> >> >> Regards, >> Christoph >> > > Thanks for the hints. All the information is very clearing. > This deprecation has completely slipped through for me. > I'll dig into the new GeoLite2 approach and see what's the impact for my > software project. > > Thanks to all and all others who have responded. Free registration and license key works without any problem. But if your software accessed DB or CSV files directly then it will not work anymore because format of database was changed from one flat table to few tables with relations. If your SW uses some library do access the DB then it may work with updated dependency. My usecase was very simple shellscript so I was able to convert it to new CSV files. They can be converted to the old format if somebody need it. Kind regards Miroslav Lachman