Quote from: meyergru on May 10, 2026, 04:45:24 PM@Patrick: You probably misunderstood, @IPinfo is not with IP66...
There are tools to extract CSV or JSON data from MMDB files, which seem to be the only ones that IP66 offers, unlike Maxmind and IPinfo.
However, I was unable to extract all data, including ASN with those, and I got errors all over the place during import to OpnSense, so I wrote my own: https://github.com/meyergru/opnsense-ip66
Later, I found the main problem is that for IPinfo-style .gz files, you need to send a Content-Disposition HTTP header - if you fail to do that, the file will get misinterpreted as a ZIP file in Maxmind format (with multiple files contained in it).
Nice, thanks!
I've just downloaded it and will try it in a bit.
Note that some of your lines that are longer than 84 characters have been split onto a new line, which makes my version of python barf.
Once i've removed the linefeeds on 6 of the lines, it runs.
"