如何从工作的MaxMind二进制DAT? [英] How does the binary DAT from Maxmind work?
问题描述
的MaxMind提供二进制DAT文件格式下载他们的GeoIP数据库。
Maxmind offers a binary DAT file format for downloading their GeoIP database.
http://geolite.maxmind.com/download/geoip/数据库/ GeoLiteCity.dat.gz
有谁知道这已经打包?此外,有没有对数据进行任何类型的复制保护的?
Does anyone know how this has been packaged? Also, is there any kind of copy protection on the data?
我想提供了一组数据以类似的方式。
I'd like to offer up a set of data in a similar way.
任何对这个一无所知能收到我永远感谢: - )
Anyone with any knowledge of this will receive my undying gratitude :-)
推荐答案
这只是一个专有的二进制格式,IP地址查询大量优化。它不具有任何拷贝保护
It's just a proprietary binary format, heavily optimized for IP address querying. It doesn't have any copy protection.
如果你真的想反向工程,格式,看看在 C#或的Java API
If you really want to reverse-engineer the format, take a look at the C# or Java API.
这篇关于如何从工作的MaxMind二进制DAT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!