Skip to content

Add support for IPinfo MMDB format#558

Merged
GyulyVGC merged 6 commits intomainfrom
ipinfo-mmdb
Jul 18, 2024
Merged

Add support for IPinfo MMDB format#558
GyulyVGC merged 6 commits intomainfrom
ipinfo-mmdb

Conversation

@GyulyVGC
Copy link
Owner

@GyulyVGC GyulyVGC commented Jul 7, 2024

This PR adds support for IPinfo MMDB database format as described in #533.

Now both the "standard" MMDB files and IPinfo's ones can be successfully imported and used with Sniffnet.

This was achieved introducing new enums whose variants correspond to the possible different representations of database entries.
In this way, the result of the lookup against the MMDB file will be deserialised to the proper enum variant.

Fixes #533.

@GyulyVGC GyulyVGC added the enhancement New feature, request, or improvement label Jul 7, 2024
@GyulyVGC GyulyVGC added this to the v1.3.1 milestone Jul 7, 2024
@GyulyVGC GyulyVGC self-assigned this Jul 7, 2024
Copy link
Owner Author

@GyulyVGC GyulyVGC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@GyulyVGC GyulyVGC merged commit b1af2be into main Jul 18, 2024
@GyulyVGC GyulyVGC deleted the ipinfo-mmdb branch July 18, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, request, or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support IPinfo MMDB database format

1 participant