Shell scripts to convert an IP address to a Country using IpToCountry database by Webnet77.
Shell (dash), Perl
Ubuntu 12.04 LTS
- Geo::IPfree module by Graciliano M. P. gm@virtuasites.com.br
maintained by Brian Cassidy bricas@cpan.org.
setup/install.sh
- install dependencies and download Ip2Country dataip2country-code.pl 8.8.8.8
- convert an IPv4 address to a country codeip2country-name.pl 8.8.8.8
- convert an IPv4 address to a country namesetup/update-data.sh
- update Ip2Country data (once a month)
Eric Bréchemier github@eric.brechemier.name
- MIT for this project
- DonationWare for Ip2Country database by Webnet77
- Same license as Perl (GPL/Artistic) for Geo::IPfree