Age | Commit message (Collapse) | Author | Files |
|
* nsdbimport/nsdbimport: Improve docs.
* whoseip/Whoseip/DB.pm: Docs formatting fix.
|
|
* whoseip/whoseip.pl: Use symbolic exit codes.
|
|
* whoseip/Whoseip/DB.pm (ipdb_export): Operate on locked database.
|
|
* whoseip/whoseip.pl (ripe_decode): Handle networks transferred to another
region.
|
|
* 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.
|
|
|
|
|
|
* 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.
|
|
* 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
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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
|
|
* whoseip/Whoseip/DB.pm (LEAF_IDX): New constant
|
|
* 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.
|
|
|
|
* 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
|
|
* 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.
|
|
* whoseip/whoseip.pl (str2ipv4): Fix a by-one error.
Fix documentation.
|
|
|
|
|
|
* whoseip/GNUmakefile: Update whoseip.pl invocation.
* whoseip/whoseip.pl: Implement FastCGI, configurable formats
and configuration files. Improve docs.
|
|
Given an IPv4 address, whoseip determines the country where it
is located and network it belongs to. It uses whois service
for that.
|