Skip to content

Commit

Permalink
Fix getwebdata downloads (ivre#1668)
Browse files Browse the repository at this point in the history
* update maxmind iso3166.csv url
* embedded cached scanner ip list in python package added by ivre#1620

---------

Co-authored-by: Nicolas Leclercq <[email protected]>
  • Loading branch information
exzz and Nicolas Leclercq authored Oct 11, 2024
1 parent e31b032 commit 19f4493
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ivre/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
# GeoLite2-* files using `ivre ipdata --import-all`. You should do
# that if you get your files from Maxmind.
"GeoLite2-dumps.tar.gz": "https://ivre.rocks/data/geolite/GeoLite2-dumps.tar.gz",
"iso3166.csv": "https://dev.maxmind.com/csv-files/codes/iso3166.csv",
"iso3166.csv": "https://dev.maxmind.com/static/csv/codes/iso3166.csv",
# This one is not from maxmind -- see https://thyme.apnic.net/
"BGP.raw": "https://thyme.apnic.net/current/data-raw-table",
}
Expand Down
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,16 @@ def _write_pkg_file(self, file):
),
("share/ivre/honeyd", ["data/.empty"]),
("share/ivre/geoip", ["data/.empty"]),
("share/ivre/data", ["data/ike-vendor-ids", "data/manuf"]),
(
"share/ivre/data",
[
"data/ike-vendor-ids",
"data/manuf",
"data/censys_scanners.txt",
"data/ssigouvfr_scanners.txt",
"data/ukncsc_scanners.txt",
],
),
("share/ivre/data/honeyd", ["data/honeyd/sshd"]),
("share/ivre/docker", ["docker/Vagrantfile"]),
("share/ivre/docker/agent", ["docker/agent/Dockerfile"]),
Expand Down

0 comments on commit 19f4493

Please sign in to comment.