Hello Yes this would be nice.
Such requests have been done before, but I have not seen any such thing by upstream. Regards, // Ola On Thu, May 26, 2005 at 12:57:02AM +0200, Petter Reinholdtsen wrote: > > Package: xt > Version: 0.9.1-6 > Severity: wishlist > > It would be great if xtraceroute could fetch location information from > the data sources available from <URL:http://www.hostip.info/>. The > methods available are listed on <URL:http://www.hostip.info/use.html>: > > Simple GET > > That said, there is an easy HTTP oriented API to locate IP addresses > and Geocode them. If you don't supply the "?ip=aa.bb.cc.dd" bit, > then the ip address lookup of the calling machine will be located > instead (here, the aa,bb,cc,dd are decimal digits). If you add > &position=true to the end of the URL then latitude and longitude > will be returned also. Both HTML and XML formats are supplied for > your convenience. > > > http://www.hostip.info/api/get.html?ip=12.215.42.19 > Country: UNITED STATES (US) > City: Sugar Grove, IL > > http://www.hostip.info/api/get.html?ip=12.215.42.19&position=true > Country: UNITED STATES (US) > City: Sugar Grove, IL > Latitude: 41.7696 > Longitude: -88.4588 > > http://www.hostip.info/api/get.XML?ip=12.215.42.19 > [use the URL above for an example - XML too long to paste below] > > I suspect the XML method might be the most convinient method, but the > text version with position should be easily parsable as well. > > -- System Information: > Debian Release: 3.1 > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > Kernel: Linux 2.6.8-2-686 > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > Versions of packages xt depends on: > ii gtkglarea5 1.2.3-2 Gimp Toolkit OpenGL area widget > sh > ii host 20000331-9 utility for querying DNS servers > ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries > an > ii libgdk-pixbuf2 0.22.0-8 The GdkPixBuf image library, gtk+ > ii libglib1.2 1.2.10-9 The GLib library of C routines > ii libglu1-mesa [libglu 5.0.0-5.1 The OpenGL utility library, > libGLU > ii libgtk1.2 1.2.10-17 The GIMP Toolkit set of widgets > fo > ii libx11-6 4.3.0.dfsg.1-12.0.1 X Window System protocol client > li > ii libxext6 4.3.0.dfsg.1-12.0.1 X Window System miscellaneous > exte > ii libxi6 4.3.0.dfsg.1-12.0.1 X Window System Input extension > li > ii mesag3 [libgl1] 5.0.0-5.1 A 3-D graphics library which > imple > ii traceroute 1.4a12-18 traces the route taken by packets > ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) > configu > > -- no debconf information > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]