oschwald / geoip2-golang

Unofficial MaxMind GeoIP2 Reader for Go
ISC License
1.86k stars 191 forks source link

mmdb export to csv or to dat #74

Closed davidka79 closed 3 years ago

davidka79 commented 3 years ago

Hello, I have made changes at mmdb file with geoip2-golang, is ther any way to convert mmdb to csv or to export to csv or direct to dat file? Out F5 Load balancers understands only old dat fiiles

oschwald commented 3 years ago

You could export it to CSV by iterating over by using the networks iterator on maxminddb. As far as converting it to the legacy format, there are several third party tools for that, but I don't have any experience with them.