BSD Ports

net/p5-IP-Country 2.28nb12 NetBSD

Fast lookup of country codes from IP addresses

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
Categories
net, perl5
Package size
250.9 KiB, 618.8 KiB installed

Description

Finding the home country of a client using only the IP address can be difficult. Looking up the domain name associated with that address can provide some help, but many IP address are not reverse mapped to any useful domain, and the most common domain (.com) offers no help when looking for country.

This perl module comes bundled with a database of countries where various IP addresses have been assigned. Although the country of assignment will probably be the country associated with a large ISP rather than the client herself, this is probably good enough for most log analysis applications, and under test has proved to be as accurate as reverse-DNS and WHOIS lookup.

In the other systems

SystemPortVersion
NetBSDnet/p5-IP-Country2.28nb12
FreeBSDnet/p5-IP-Country2.28_1
OpenBSDnet/p5-IP-Country2.28.20190301p0
DragonFlynet/p5-IP-Country2.28_1
MidnightBSDnet/p5-IP-Country2.28_1
HardenedBSDnet/p5-IP-Country2.28_1
GhostBSDnet/p5-IP-Country2.28_1

Install

Binary package:

pkgin install p5-IP-Country

From pkgsrc:

cd /usr/pkgsrc/net/p5-IP-Country && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.28nb12
NetBSD 10.1 aarch642.28nb11
SmartOS / illumos x86_642.28nb12
macOS 15 arm642.28nb12

Dependencies

Run dependencies 2

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0