---------------------------------------------------------------------------
                           Notice to Users

This is a Federal computer system and is the property of the United States
Government. It is for authorized use only. Users (authorized or unauthorized)
have no explicit or implicit expectation of privacy.

Any or all uses of this system and all files on this system may be intercepted,
monitored, recorded, copied, audited, inspected, and disclosed to authorized
site, Department of Energy, and law enforcement personnel, as well as
authorized officials of other agencies, both domestic and foreign. By using
this system, the user consents to such interception, monitoring, recording,
copying, auditing, inspection, and disclosure at the discretion of authorized
site or Department of Energy personnel.

Unauthorized or improper use of this system may result in administrative
disciplinary action and civil and criminal penalties. By continuing to use
this system you indicate your awareness of and consent to these terms and
conditions of use. LOG OFF IMMEDIATELY if you do not agree to the conditions
stated in this warning.

 ----------------------------------------------------------------------------


Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [TXT] COPYRIGHT 19-Sep-1996 13:57 2.3K [   ] IPtoLL-0.02.tar.gz 19-Sep-1996 14:10 8.4K [   ] IPtoLL.tar.gz 19-Sep-1996 14:10 8.4K [   ] cities.netmap.gz 19-Sep-1996 00:12 678K
IPtoLL

IPtoLL

IPtoLL is a hostname to latitude/longitude conversion tool. It uses the whois facility provided by the Internic (using the city of the administrative contact for the domain under which the host is registered).

IPtoLL is organized using a perl5 module to encapsulate all functionality. For example:

	require IPtoLL;
	$converter = new IPtoLL;
	($lat, $lon) = $converter->hostname_to_location("www.mcs.anl.gov");

Important Note

IPtoLL is being released without guarantee of support. It is, for the most part, a reworking of an old tool to use a relational database and the object-oriented features of perl 5. The installation notes are quite rough, and may well require iteration in order to converge.

That being said, I hope this is of use. Feel free to send me mail at olson@mcs.anl.gov and I'll try to give you a hand.

Please send me mail at olson@mcs.anl.gov if you find this package useful as well. If there is interest, I can attempt to make the time to better support it.

Requirements

The main requirement for IPtoLL is the presence of a relational database in which thedomain-to-city cache and the city-to-location database are stored. IPtoLL uses the DBI module to interface to the database. The mSQL database is freely available (at ftp://Bond.edu.au/pub/Minerva/msql/) to non-commerical sites and works well for this tool.

IPtoLL also requires the IO module. These modules are available via CPAN, the Comprehensive Perl Access Network. See http://www.perl.com/perl/info/software.html for information about CPAN and other Perl software availability information.

The latest version of IPtoLL is available at ftp://ftp.mcs.anl.gov/pub/futures-lab/MML/IPtoLL/IPtoLL.tar.gz

The map database required for database initalization is available at ftp://ftp.mcs.anl.gov/pub/futures-lab/MML/IPtoLL/cities.netmap.gz.

Installation

IPtoLL is packaged as a Perl5 module. As such, all it should take to build, test, and install is the following:

Copyright

Please see the copyright notification in the file COPYRIGHT in the distribution, or at ftp://ftp.mcs.anl.gov/pub/futures-lab/MML/IPtoLL/COPYRIGHT.