↑日記で日々積み重ねた情報をトップの「わんこのページ」にまとめています。

おのたく日記 [RDF] YouTubeも始めました→


2008-01-12(Sat) GeoIP [長年日記]

[Debian]GeoIP

libapache2-mod-geoipパッケージというのがあって、Webサーバでアクセス元が、どこからか分かるようにすることができる。ちょいと手元のログを解析してみたら

$ awk '{print $1}' </var/log/apache2/acccess.log|

sort|uniq|while read file;do geoiplookup $file;done|

sort|uniq

GeoIP Country Edition: --, N/A

GeoIP Country Edition: AE, United Arab Emirates

GeoIP Country Edition: AU, Australia

GeoIP Country Edition: BE, Belgium

GeoIP Country Edition: BG, Bulgaria

GeoIP Country Edition: BR, Brazil

GeoIP Country Edition: CA, Canada

GeoIP Country Edition: CH, Switzerland

GeoIP Country Edition: CL, Chile

GeoIP Country Edition: CM, Cameroon

GeoIP Country Edition: CN, China

GeoIP Country Edition: CO, Colombia

GeoIP Country Edition: CR, Costa Rica

GeoIP Country Edition: CZ, Czech Republic

GeoIP Country Edition: DE, Germany

GeoIP Country Edition: DK, Denmark

GeoIP Country Edition: DO, Dominican Republic

GeoIP Country Edition: ES, Spain

GeoIP Country Edition: FR, France

GeoIP Country Edition: GB, United Kingdom

GeoIP Country Edition: HK, Hong Kong

GeoIP Country Edition: HU, Hungary

GeoIP Country Edition: ID, Indonesia

GeoIP Country Edition: IN, India

GeoIP Country Edition: IR, Iran, Islamic Republic of

GeoIP Country Edition: IT, Italy

GeoIP Country Edition: JO, Jordan

GeoIP Country Edition: JP, Japan

GeoIP Country Edition: KR, Korea, Republic of

GeoIP Country Edition: KW, Kuwait

GeoIP Country Edition: LV, Latvia

GeoIP Country Edition: MX, Mexico

GeoIP Country Edition: MY, Malaysia

GeoIP Country Edition: NL, Netherlands

GeoIP Country Edition: NZ, New Zealand

GeoIP Country Edition: PA, Panama

GeoIP Country Edition: PE, Peru

GeoIP Country Edition: PH, Philippines

GeoIP Country Edition: PK, Pakistan

GeoIP Country Edition: PL, Poland

GeoIP Country Edition: RU, Russian Federation

GeoIP Country Edition: SE, Sweden

GeoIP Country Edition: SG, Singapore

GeoIP Country Edition: SK, Slovakia

GeoIP Country Edition: TH, Thailand

GeoIP Country Edition: TR, Turkey

GeoIP Country Edition: TW, Taiwan

GeoIP Country Edition: UA, Ukraine

GeoIP Country Edition: US, United States

GeoIP Country Edition: WS, Samoa

GeoIP Country Edition: ZA, South Africa

色々な国からアクセスされているんだなぁ〜

ローカルなアクセスが、本当にデータが無いアクセスと区別無く "--"なのがちょっと不便

本日のPingbacks(全0件)

Google Web検索 on-o.com内を検索