Path: csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod From: Henning Follmann Newsgroups: linux.debian.user Subject: Re: how to keep geoip database uptodate Date: Wed, 02 May 2018 13:10:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-user-request@lists.debian.org Wed May 2 11:01:50 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 Mail-Followup-To: kamaraju kusumanchi , debian-user@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/735100 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20180502110123.rgszbmdxydw2ayzh@smallapple.itcfollmann.com Approved: robomod@news.nic.it Lines: 45 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-user@lists.debian.org X-Original-Date: Wed, 2 May 2018 07:01:23 -0400 X-Original-Message-ID: <20180502110123.rgszbmdxydw2ayzh@smallapple.itcfollmann.com> X-Original-References: Xref: csiph.com linux.debian.user:195252 On Tue, May 01, 2018 at 07:14:47PM -0400, kamaraju kusumanchi wrote: > How do I keep geoip database up to date on Debian stable? Currently, I > am not able to get information on some IP addresses. For example, > > % geoiplookup 45.229.2.42 > GeoIP Country Edition: IP Address not found > > I tried geoipupdate, but it is looking for a license. > > % geoipupdate -v > geoipupdate 2.3.1 > Can't open license file /etc/GeoIP.conf > % ls -al /etc/GeoIP.conf > ls: cannot access '/etc/GeoIP.conf': No such file or directory > > % dpkg -l \*geoip\* | grep ^ii > ii geoip-bin 1.6.9-4 amd64 IP lookup command line > tools that use the GeoIP library > ii geoip-database 20170512-1 all IP lookup command line > tools that use the GeoIP library (country database) > ii geoipupdate 2.3.1-1 amd64 MaxMind GeoIP/GeoIP2 > database updates > ii libgeoip1:amd64 1.6.9-4 amd64 non-DNS IP-to-country > resolver library > > % cat /etc/debian_version > 9.4 > > Hello, you could download the latest file manually. >From here: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz - backup your old GeoIP.dat - move the new version into /usr/share/GeoIP.dat -H -- Henning Follmann | hfollmann@itcfollmann.com