Perl module for identifying Chinese IP addresses
This new Perl module IP::China provides a lookup for internet addresses which rapidly tells whether they are from China. It is based on a binary search of a database of about 2600 ranges, from the MaxMind GeoLite IP database.
This module is written in C and uses a binary search of the database, which is compiled into the code. Thus it should be extremely fast. The total size of the binary of the module is less than 30,000 bytes when compiled, so memory use should also be very small.