Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Geographical location of an URL/IP-address
Date: Sun, 23 Jan 2011 21:11:29
Message-Id: 201101232210.05475.joost@antarean.org
In Reply to: Re: [gentoo-user] Geographical location of an URL/IP-address by meino.cramer@gmx.de
1 On Sunday 23 January 2011 10:22:52 meino.cramer@×××.de wrote:
2 > J. Roeleveld <joost@××××××××.org> [11-01-23 10:16]:
3 > > On Sunday 23 January 2011 06:08:12 meino.cramer@×××.de wrote:
4 > > > Hi,
5 > > >
6 > > > is there any tool/mechanism to locate a given URL or IP-address on the
7 > > > globe automatically?
8 > > > I mean: I feed the tool with an IP-address or an URL and it will
9 > > > respond: France, Paris
10 > > >
11 > > > I dont mean a tool, whose output I have interpret.
12 > > >
13 > > > I want this for batch processing...
14 > > >
15 > > > Thank you very much in advance for any tool ;)
16 > > > Bet regards,
17 > > > mcc
18 > >
19 > > Not sure if it exists yet, but you might want to start with the packages
20 > > with "geoip" in the name:
21 > > # eix geoip
22 > > [I] dev-libs/geoip
23 > >
24 > > Available versions: 1.4.5 1.4.6{tbz2} {perl-geoipupdate}
25 > > Installed versions: 1.4.6{tbz2}(08:20:04
26 > > 12/06/10)(-perl-geoipupdate) Homepage:
27 > > http://www.maxmind.com/geoip/api/c.shtml Description:
28 > > easily lookup countries by IP addresses, even when
29 > >
30 > > Reverse DNS entries don't exist
31 > >
32 > > * dev-php5/pecl-geoip
33 > >
34 > > Available versions: ~1.0.7 ~1.0.7-r1 {php_targets_php5-2
35 > >
36 > > php_targets_php5-3}
37 > >
38 > > Homepage: http://pecl.php.net/geoip
39 > > Description: PHP extension to map IP address to geographic
40 > > places
41 > >
42 > > * dev-python/geoip-python
43 > >
44 > > Available versions: 1.2.4
45 > > Homepage: http://www.maxmind.com/app/python
46 > > Description: Python bindings for GeoIP
47 > >
48 > > * dev-ruby/net-geoip
49 > >
50 > > Available versions: 0.07 {ruby_targets_ruby18}
51 > > Homepage: http://www.maxmind.com/app/ruby
52 > > Description: Ruby bindings for the GeoIP library
53 > >
54 > > Found 4 matches.
55 > >
56 > >
57 > >
58 > > --
59 > > Joost
60 >
61 > Hi Joost,
62 >
63 > LIFESAVER!
64 >
65 > :)
66 >
67 > 100% what I need! Great! And your email account is in the
68 > Netherlands by the way ;) ;)
69
70 It isn't actually :)
71
72 But my server and ISP is, so that's probably what you found :)
73
74 > Thanks a lot! Have a nice weekend!
75
76 Hope you had a good weekend so far :)
77
78 > Best regards,
79 > mcc
80
81 --
82 Joost
83
84 PS. from the domain, I'm guessing you're in Germany?

Replies

Subject Author
Re: [gentoo-user] Geographical location of an URL/IP-address meino.cramer@×××.de