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
| System | Port | Version |
|---|---|---|
| NetBSD | net/p5-IP-Country | 2.28nb12 |
| FreeBSD | net/p5-IP-Country | 2.28_1 |
| OpenBSD | net/p5-IP-Country | 2.28.20190301p0 |
| DragonFly | net/p5-IP-Country | 2.28_1 |
| MidnightBSD | net/p5-IP-Country | 2.28_1 |
| HardenedBSD | net/p5-IP-Country | 2.28_1 |
| GhostBSD | net/p5-IP-Country | 2.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.28nb12 |
| NetBSD 10.1 aarch64 | 2.28nb11 |
| SmartOS / illumos x86_64 | 2.28nb12 |
| macOS 15 arm64 | 2.28nb12 |
Dependencies
Run dependencies 2
No port depends on this one.