mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[GH-ISSUE #66] Is MaxMind mmdb supported? #343
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#343
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stutiredboy on GitHub (Jul 2, 2015).
Original GitHub issue: https://github.com/abh/geodns/issues/66
Thanks.
@abh commented on GitHub (Jul 2, 2015):
No, not yet. It should be a relatively small change though.
They don't have an ASN database in the new format yet.
@skyred commented on GitHub (Sep 4, 2015):
http://dev.maxmind.com/geoip/geoip2/whats-new-in-geoip2/ says:
It seems the ASN data is merged with the two geolite2 databases, and using the new tokens.
I was wondering if the plan is to develop to support both formats?
@abh commented on GitHub (Sep 6, 2015):
Nice; I didn't realize this was in the new format.
Yeah, I think it'd be nice to support the new format instead of using abh/geoip. Hopefully it could be done with a package that doesn't use cgo, too.
I'd like to see benchmarks before switching though.
@oschwald commented on GitHub (Sep 9, 2015):
I came across this thread and was a bit curious about the relative speed myself. I made a simple benchmark for country lookups using my maxminddb package. Here are the results on my machine:
If you use a static IP, the results are again similar but about 1000 ns/op less.
As for ASN, there isn't a free ASN database for GeoIP2, but it is included with the ISP database.
@AnoopAlias commented on GitHub (Feb 6, 2018):
https://support.maxmind.com/geolite-legacy-discontinuation-notice/
I guess we won't be able to use the GeoIP legacy one January 2, 2019
Is there a plan to support the new Lite2 format?
@abh commented on GitHub (Feb 6, 2018):
Yeah, it is supported in the 3.0 branch.
@AnoopAlias commented on GitHub (Feb 7, 2018):
you mean the 'dev' branch right as I tried building using the 3.0 branch and its still using libGeoIP.so.1 ?
I was unable to build the dev branch - any instructions for doing that?
@abh commented on GitHub (Feb 7, 2018):
Oh, yeah - dev sounds right!
@abh commented on GitHub (Feb 7, 2018):
@AnoopAlias Why didn't dev build for you? Can you open a new issue for that?
@abh commented on GitHub (Feb 7, 2018):
Fixed in
5048bc60,ecb34ab4,26ba43ddadand06a109192(and maybe others).