aboutsummaryrefslogtreecommitdiff
path: root/whoseip
AgeCommit message (Collapse)AuthorFiles
2015-04-01BigfixesSergey Poznyakoff1
* nsdbimport/nsdbimport: Improve docs. * whoseip/Whoseip/DB.pm: Docs formatting fix.
2014-12-19Minor changeSergey Poznyakoff1
* whoseip/whoseip.pl: Use symbolic exit codes.
2014-10-20whoseip: ensure database consistency during exportSergey Poznyakoff1
* whoseip/Whoseip/DB.pm (ipdb_export): Operate on locked database.
2014-10-20whoseip: a kludgeSergey Poznyakoff1
* whoseip/whoseip.pl (ripe_decode): Handle networks transferred to another region.
2014-10-19whoseip: bugfixesSergey Poznyakoff2
* whoseip/Whoseip/DB.pm (ipdb_insert_unlocked): Insert into the last page in the chain. (ipdb_save_page): Preserve the leaf page chain. * whoseip/whoseip.pl (cidr_to_range): Start iterating from list tail.
2014-10-19whoseip: minor changesSergey Poznyakoff2
2014-10-19whoseip: set version 1.00Sergey Poznyakoff1
2014-10-19whoseip: recover gracefully after cache failuresSergey Poznyakoff3
* whoseip/Makefile.PL (WriteMakefile): Use VERSION_FROM. * whoseip/Whoseip/DB.pm (ipdb_lookup_unlocked): Add more data to the output. * whoseip/whoseip.pl: Protect ipdb_ calls by eval. (output): Rename to expandout. (format_out): Rename to print_result. Document return codes.
2014-10-18whoseip: New options --import and --exportSergey Poznyakoff3
* Makefile.PL: Require Data:Dumper * Whoseip/DB.pm (ipdb_export,ipdb_import): New functions (ipdb_insert_unlocked): Last argument is a hash reference. (ipdb_import,ipdb_export): New functions. * whoseip.pl: New options --import and --export
2014-10-16Cache ttl. BugfixesSergey Poznyakoff2
* whoseip/Whoseip/DB.pm (ipdb_open): New argument ttl=>N (ipdb_save_page): Bugfix: seek to the correct offset. (ipdb_lookup_unlocked): Handle ttl setting. * whoseip/whoseip.pl (ripe_fmt): New function. Pass -r option to ripe to avoid blacklisting our IP. New option --cache-ttl.
2014-10-16whoseip: bugfixesSergey Poznyakoff1
* whoseip.pl (ripe_decode): Handle %ERROR return (whois): Add server, port, and term keys to the %res. Correctly remove line terminators and trailing whitespace. (serve): pass server and port to ipdb_insert Update docs.
2014-10-16whoseip: fix caching algorithmSergey Poznyakoff2
* whoseip/Whoseip/DB.pm: Fix caching algorithm, improve debugging. Close all open databases before terminating. * whoseip/whoseip.pl: Implement ${source} and ${item} macro variables. Document new options and variables.
2014-10-15whoseip: improvementsSergey Poznyakoff3
* whoseip/Makefile.PL: Add dependencies * whoseip/Whoseip/DB.pm: Reload the database if it was modified on disk * whoseip.pl: Special handling for rwhois.nobistech.net (serve): Fall back to the recent reply if the referral failed. New option --single-query
2014-10-15whoseip: minor changeSergey Poznyakoff1
* whoseip/Whoseip/DB.pm (LEAF_IDX): New constant
2014-10-15whoseip: bugfixSergey Poznyakoff1
* whoseip/Whoseip/DB.pm (ipdb_save_page): Split the page being created if the data don't fit into pagesize. (ipdb_insert): Don't use fixed entry length to compute maximum number of entries.
2014-10-15whoseip: improve error diagnostics and debuggingSergey Poznyakoff2
2014-10-14whoseip: keep arbitrary additional data in the cache databaseSergey Poznyakoff2
* whoseip/Whoseip/DB.pm (ipdb_save_page): Save additional data (serialized hash). (ipdb_get_page): Decode serialized additional data. (ipdb_insert): Take hash as additional arguments. * whoseip/whoseip.pl (range2count): Handle multiple ranges. (cidr_to_range): New function. Use in all functions instead of Net::CIDR::cidr2range. (serve): Pass cidr as additional argument to ipdb_insert
2014-10-14whoseip: implement cache databaseSergey Poznyakoff5
* bootstrap.pl: Look for AutoInstall.pm both in $incdir and in the base directory. * whoseip/Whoseip/DB.pm: New file * whoseip/whoseip.pl: Implement caching * whoseip/Makefile.PL: New file * whoseip/MANIFEST: Update.
2014-10-14whoseip: bugfixes.Sergey Poznyakoff1
* whoseip/whoseip.pl (str2ipv4): Fix a by-one error. Fix documentation.
2014-10-10whoseip: implement fmt= (Fast)CGI parameterSergey Poznyakoff1
2014-10-09whoseip: finish the docs.Sergey Poznyakoff1
2014-10-09whoseip: Implement FastCGI, configurable formats and configuration filesSergey Poznyakoff2
* whoseip/GNUmakefile: Update whoseip.pl invocation. * whoseip/whoseip.pl: Implement FastCGI, configurable formats and configuration files. Improve docs.
2014-10-08New utility: whoseipSergey Poznyakoff5
Given an IPv4 address, whoseip determines the country where it is located and network it belongs to. It uses whois service for that.

Return to:

Send suggestions and report system problems to the System administrator.