nullnet-libipinfo

Crates.ionullnet-libipinfo
lib.rsnullnet-libipinfo
version0.2.0
created_at2025-02-18 15:36:06.236214+00
updated_at2025-03-24 14:12:44.935808+00
descriptionIP information library for NullNet
homepage
repositoryhttps://github.com/NullNet-ai/libguard
max_upload_size
id1560057
size86,580
Giuliano Bellini (GyulyVGC)

documentation

README

libipinfo

IP information library for Nullnet.

It allows specifying one or more IP information providers and querying them for information about an IP address.
Providers can be of two types:

  • API providers, queried by making an HTTP request to a specific URL
  • MMDB providers: queried by looking up the IP address in a database

This library also exposes a way to configure the JSON schema for the responses of the API providers, and permits to download and periodically refresh MMDB databases.

The library internally uses a fallback provider (free databases from dp-ip.com) so that it's able to return information even if the user specifies no providers.

Commit count: 278

cargo fmt