All Projects → maxmind → MaxMind-DB-Writer-perl

maxmind / MaxMind-DB-Writer-perl

Licence: other
Create MaxMind DB database files

Programming Languages

perl
6916 projects
c
50402 projects - #5 most used programming language
XS
67 projects

Projects that are alternatives of or similar to MaxMind-DB-Writer-perl

MaxMind-DB-Reader-python
Python MaxMind DB reader extension
Stars: ✭ 131 (+107.94%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
MaxMind-DB-Reader-ruby
Ruby reader for the MaxMind DB Database Format
Stars: ✭ 35 (-44.44%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
MaxMind-DB-Reader-java
Java reader for the MaxMind DB format
Stars: ✭ 88 (+39.68%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
GeoIP2-ruby
Ruby API for GeoIP2 webservice client and database reader
Stars: ✭ 41 (-34.92%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
Geoip2 Php
PHP API for GeoIP2 webservice client and database reader
Stars: ✭ 1,956 (+3004.76%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
GeoIP2-perl
Perl API for MaxMind's GeoIP2 web services and databases
Stars: ✭ 18 (-71.43%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
mmdbwriter
Go library for writing MaxMind DB (mmdb) files
Stars: ✭ 44 (-30.16%)
Mutual labels:  geoip2, geoip, maxmind, mmdb
geoip2
GeoIP2 Reader for Go
Stars: ✭ 54 (-14.29%)
Mutual labels:  geoip2, geoip, maxmind
nodejs-geoip2ws
Maxmind GeoIP2 Web Services for Node.js
Stars: ✭ 47 (-25.4%)
Mutual labels:  geoip2, geoip, maxmind
geoip2-rs
Fast GeoIP2 Reader for Rust
Stars: ✭ 25 (-60.32%)
Mutual labels:  geoip2, geoip, maxmind
locus
MMDB reader for geolocation and ASN lookup of IP addresses
Stars: ✭ 93 (+47.62%)
Mutual labels:  geoip2, geoip, mmdb
sawmill
Sawmill is a JSON transformation Java library
Stars: ✭ 92 (+46.03%)
Mutual labels:  geoip, maxmind
lua-resty-maxminddb
A Lua library for reading MaxMind's Geolocation database
Stars: ✭ 72 (+14.29%)
Mutual labels:  geoip, maxmind
GeoLite2-City
GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 170 (+169.84%)
Mutual labels:  geoip, maxmind
pf-azure-sentinel
Parse pfSense/OPNSense logs using Logstash, GeoIP tag entities, add additional context to logs, then send to Azure Sentinel for analysis.
Stars: ✭ 24 (-61.9%)
Mutual labels:  geoip, maxmind
GeoIP2-CN
小巧精悍、准确、实用 GeoIP2 数据库
Stars: ✭ 3,965 (+6193.65%)
Mutual labels:  geoip2, geoip
GeoLite2-Country
GeoLite2-Country.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 69 (+9.52%)
Mutual labels:  geoip, maxmind
minfraud-api-java
Java API for minFraud Score, Insights, and Factors
Stars: ✭ 14 (-77.78%)
Mutual labels:  maxmind
Vendor-Threat-Triage-Lookup
Lookup file hashes, domain names and IP addresses using various vendors to assist with triaging potential threats.
Stars: ✭ 17 (-73.02%)
Mutual labels:  geoip
gofwd
A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration
Stars: ✭ 26 (-58.73%)
Mutual labels:  geoip

NAME

MaxMind::DB::Writer - Create MaxMind DB database files

VERSION

version 0.300003

SYNOPSIS

use MaxMind::DB::Writer::Tree;

my %types = (
    color => 'utf8_string',
    dogs  => [ 'array', 'utf8_string' ],
    size  => 'uint16',
);

my $tree = MaxMind::DB::Writer::Tree->new(
    ip_version            => 6,
    record_size           => 24,
    database_type         => 'My-IP-Data',
    languages             => ['en'],
    description           => { en => 'My database of IP data' },
    map_key_type_callback => sub { $types{ $_[0] } },
);

$tree->insert_network(
    '8.8.8.0/24',
    {
        color => 'blue',
        dogs  => [ 'Fido', 'Ms. Pretty Paws' ],
        size  => 42,
    },
);

open my $fh, '>:raw', '/path/to/my-ip-data.mmdb';
$tree->write_tree($fh);

DESCRIPTION

This distribution contains the code necessary to write MaxMind DB database files. See MaxMind::DB::Writer::Tree for API docs.

MAC OS X SUPPORT

If you're running into install errors under Mac OS X, you may need to force a build of the 64 bit binary. For example, if you're installing via cpanm:

ARCHFLAGS="-arch x86_64" cpanm MaxMind::DB::Writer

WINDOWS SUPPORT

This distribution does not currently work on Windows. Reasonable patches for Windows support are very welcome. You will probably need to start by making Math::Int128 work on Windows, since we use that module's C API for dealing with 128-bit integers to represent IPv6 addresses numerically.

SUPPORT

Please report all issues with this code using the GitHub issue tracker at https://github.com/maxmind/MaxMind-DB-Writer-perl/issues.

We welcome patches as pull requests against our GitHub repository at https://github.com/maxmind/MaxMind-DB-Writer-perl.

Bugs may be submitted through https://github.com/maxmind/MaxMind-DB-Writer-perl/issues.

AUTHORS

CONTRIBUTORS

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by MaxMind, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].