Skip Menu |

This queue is for tickets about the IP-Country CPAN distribution.

Report information
The Basics
Id: 56952
Status: resolved
Priority: 0/
Queue: IP-Country

People
Owner: Nobody in particular
Requestors: darrenrh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.27
Fixed in: (no value)



Subject: Range of IPs translate incorrectly
Using latest(2.27) version. Perl 5.8.8 Using CentOS: Linux 2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:36:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux 32.164.8.203 and most of the ranges around it are US IP's but seem to return GB(great britan) from inet_ntocc. Example code: use IP::Country::Fast; my $reg = IP::Country::Fast->new(); my $country = $reg->inet_ntocc( 32.164.8.203 ); warn $country; # GB # 32.106.104.255 and 33.164.8.204 were tried as well as and was returned as GB
This is a bug in AT&T's admin systems, not in IP::Country. For many ranges, the company registers the IP space both with American (ARIN) and European (RIPE) registrars. In RIPE, AT&T states that the ranges are British; in ARIN, they say they are US.