I see that AWStats uses maxmind's GeoIP 'Perl API'.
I know you can obtain CIDR country nets from ftp.(apnic)|(arin)|(lacnic)|(afrinic)|(ripe).net, yet they all have different ftp dir tree's which makes creating modules for such a use hapless -- unless they 'honest to god' kept those ftp dir tree's constant (do they keep their dir tree's constant?).
On a different subject. Country CIDR-net firewalling is something that a lot of countries/orgs/individuals practice these days. It's quite sad. But you have to do it when you have to do it.
marto, have you used AWStats? Is it stable? And have you used Maxmind's GeoIP Perl Module (either one) on its own?
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.