Bug#918227: xtables-addons-common: GeoIPCountryCSV.zip ERROR 404: Not Found

2019-06-22 Thread Stijn Segers
Hi,

I bumped into this issue myself. I have been able to use the newer 
GeoIP2-database [1] by updating manually:

$ cd /tmp/ && wget 
https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
$ sudo /usr/lib/xtables-addons/xt_geoip_build -D /usr/share/xt_geoip/ *csv

Could the package be updated? It's missing from Buster but somehow available in 
Sid.

Thank you!

Stijn

[1] https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip

Bug#918227: xtables-addons-common: GeoIPCountryCSV.zip ERROR 404: Not Found

2019-02-04 Thread Ladislav Wartha
Why it is happening, its pretty easy. Maxmind discontinued old version of
IP database since 2nd of January 2019. So this version of xtables-addons
will be not working.

There should be available quick fix, which is converting new version to the
old format called GeoLite2xtables on github:
https://github.com/mschmitt/GeoLite2xtables

However I found at least one error where IP was missplaced, while
supposedly same database on maxmind website was returning correct value. So
use with caution.

I don't think, upgrading the package in this release will happen. New
version of xtables-addons is using geoip database in slightly different
format, which means, also kernel module has to be updated, which doesn't
sound like something what anybody want to do in this release. But I might
be wrong.:-)


Bug#918227: xtables-addons-common: GeoIPCountryCSV.zip ERROR 404: Not Found

2019-01-04 Thread Tito Ragusa
Package: xtables-addons-common
Version: 2.12-0.1
Severity: important

Dear Maintainer,

   * What led up to the situation?
 Running periodically a script that calls 
/usr/lib/xtables-addons/xt_geoip_dl
 to update GeoIPv6.csv.gz and GeoIPCountryCSV.zip
   * What exactly did you do (or not do) that was effective (or
 ineffective)
 Call  /usr/lib/xtables-addons/xt_geoip_dl
   * What was the outcome of this action?
 --2019-01-04 14:26:53--  
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
 Reusing existing connection to geolite.maxmind.com:80.
 HTTP request sent, awaiting response... 404 Not Found
   * What outcome did you expect instead?
 Download GeoIPCountryCSV.zip, but starting January 2, 2019 it was removed
 from the website and a switch to GeoLite2 format databases is needed
 which could be downloaded at 
https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip.
 Sadly it seems to me that the xtables packages in the stable repositories
 are unable to handle the GeoLite2 format databases. 
 

-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xtables-addons-common depends on:
ii  libc6 2.24-11+deb9u3
ii  libxtables12  1.6.0+snapshot20161117-6

Versions of packages xtables-addons-common recommends:
ii  unzip6.0-21
ii  wget 1.18-5+deb9u2
ii  xtables-addons-dkms  2.12-0.1

Versions of packages xtables-addons-common suggests:
ii  libtext-csv-xs-perl  1.26-1

-- no debconf information