Skip to content

51Degrees/ip-intelligence-data

Repository files navigation

51Degrees IP Intelligence Data Files

Introduction

This repo allows to obtain data needed to run IP Intelligence examples:

  • a URL and script to download 'Lite' IP Intelligence data file
  • evidence files with lists of random IP addresses needed for some examples
  • scripts to generate lists of random IP addresses like the above
  • scripts to download 'Lite' IP Intelligence data file
  • translation files to support translation engine and examples

Download Lite data file

From Azure

Either get it from the URL: https://51ddatafiles.blob.core.windows.net/enterpriseipi/51Degrees-LiteIpiV41.ipi.gz

or run a script to download files from Azure.

Script Language OS
./get-lite-file-from-azure.ps1 PowerShell Windows, Linux, macOS
./get-lite-file-from-azure.sh Shell Linux, macOS

Files

51Degrees-LiteV41.ipi

The 'lite' on-premise IP Intelligence data file.

The properties available in this file are:

  • RegisteredCountry
  • RegisteredName
  • RegisteredOwner

More properties are available as part of the Enterprise data file - contact us.

This 'lite' file is built from a subsection of all IPs and is updated less frequently than the Enterprise IPI data file.

get-lite-file-from-azure.ps1/.sh

Convenience scripts to download (and unpack) data file, stored on Azure Blob Storage.

evidence-gen.ps1

A script to re-/generate the "evidence" files (CSV/YML) with a designated number of random IPv4 and/or IPv6 addresses.

Useful invocations:

    ./evidence-gen.ps1 -v4 10000 -v6 10000 "evidence.yml"
    ./evidence-gen.ps1 -v4 10000 -v6 10000 -csv "evidence.csv"

evidence.csv/.yml

Pre-generated test files containing 20,000 of random IPs.

  • evidence.csv - Each line contains a single IP.
  • evidence.yml - A multi-record yaml file where each line contains the HTTP header name and value as the key/value pair. Values may be wrapped in single quotes.

Translation

Folder containing yaml files for translation of country names into several target languages. This data is used in examples and by the translation engine.

Folder structure

|--Translations | |--Translation Source (e.g. "OSM") | | |-- Translation File (e.g. "countries.fr_FR.yml")

Each translation file contains key-value pairs of "English country name: country name in target language".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors