<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="FreeSerif">Now and then I get curious about where all
the accesses to <a class="moz-txt-link-abbreviated" href="ftp://ftp.xiphos.org">ftp.xiphos.org</a> come from. This is a crude summary
from my /var/log/xferlog since early August. Counts of accesses
can be gotten by substituting the last "uniq" stage of the
pipeline with "uniq -c | sort -nr" but such counts are registering
individual files accessed, which is not very informative,
especially for modules that include dozens of image files.<br>
<br>
cat xferlog* | cut -f7 -d' ' | sed -e s/::ffff:// | sort | uniq -c
| sort -nr | awk '{ print $2 }' | fgrep . | while read ip ; do
geoiplookup $ip ; done | grep 'GeoIP Country Edition' | sed -e
's/GeoIP Country Edition: //' | sort | uniq<br>
AE, United Arab Emirates<br>
AM, Armenia<br>
AO, Angola<br>
AR, Argentina<br>
AT, Austria<br>
AU, Australia<br>
AW, Aruba<br>
AZ, Azerbaijan<br>
BE, Belgium<br>
BG, Bulgaria<br>
BJ, Benin<br>
BO, Bolivia<br>
BR, Brazil<br>
BY, Belarus<br>
CA, Canada<br>
CD, Congo, The Democratic Republic of the<br>
CH, Switzerland<br>
CI, Cote D'Ivoire<br>
CL, Chile<br>
CM, Cameroon<br>
CN, China<br>
CO, Colombia<br>
CR, Costa Rica<br>
CZ, Czech Republic<br>
DE, Germany<br>
DK, Denmark<br>
DO, Dominican Republic<br>
EC, Ecuador<br>
EE, Estonia<br>
EG, Egypt<br>
ES, Spain<br>
ET, Ethiopia<br>
EU, Europe<br>
FI, Finland<br>
FM, Micronesia, Federated States of<br>
FR, France<br>
GB, United Kingdom<br>
GH, Ghana<br>
GR, Greece<br>
GT, Guatemala<br>
GU, Guam<br>
HK, Hong Kong<br>
HN, Honduras<br>
HR, Croatia<br>
HU, Hungary<br>
ID, Indonesia<br>
IE, Ireland<br>
IL, Israel<br>
IN, India<br>
IP Address not found<br>
IR, Iran, Islamic Republic of<br>
IT, Italy<br>
JO, Jordan<br>
JP, Japan<br>
KE, Kenya<br>
KG, Kyrgyzstan<br>
KI, Kiribati<br>
KR, Korea, Republic of<br>
KZ, Kazakhstan<br>
LT, Lithuania<br>
MD, Moldova, Republic of<br>
MM, Myanmar<br>
MW, Malawi<br>
MX, Mexico<br>
MY, Malaysia<br>
MZ, Mozambique<br>
NA, Namibia<br>
NG, Nigeria<br>
NI, Nicaragua<br>
NL, Netherlands<br>
NO, Norway<br>
NP, Nepal<br>
NZ, New Zealand<br>
PE, Peru<br>
PG, Papua New Guinea<br>
PH, Philippines<br>
PL, Poland<br>
PR, Puerto Rico<br>
PT, Portugal<br>
RE, Reunion<br>
RO, Romania<br>
RU, Russian Federation<br>
SA, Saudi Arabia<br>
SE, Sweden<br>
SG, Singapore<br>
SK, Slovakia<br>
SS, South Sudan<br>
SX, Sint Maarten (Dutch part)<br>
TH, Thailand<br>
TM, Turkmenistan<br>
TR, Turkey<br>
TW, Taiwan<br>
TZ, Tanzania, United Republic of<br>
UA, Ukraine<br>
UG, Uganda<br>
US, United States<br>
UY, Uruguay<br>
UZ, Uzbekistan<br>
VE, Venezuela<br>
VN, Vietnam<br>
ZA, South Africa<br>
ZM, Zambia<br>
ZW, Zimbabwe<br>
<br>
</font>
</body>
</html>