maxmind / MaxMind-DB-Writer-perl

Create MaxMind DB database files
https://metacpan.org/release/MaxMind-DB-Writer/
Other
77 stars 27 forks source link

allow private IP ranges in a custom maxminddb #108

Closed darix closed 4 years ago

darix commented 4 years ago

use case:

internal networks might use e.g. 192.168/16 or 10/8 but still need to split the traffic by site.

with the old geoip based DB tools this was possible.

darix commented 4 years ago

also 127/8 would be nice for CI use cases.

oschwald commented 4 years ago

This is already possible. You can set remove_reserved_networks to false when creating the tree object.

darix commented 4 years ago

ah cool!

can you also create ASN dbs with the library?

oschwald commented 4 years ago

Yes.