Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mla/ip2host
Resolve IPs to hostnames in web server logs
https://github.com/mla/ip2host
Last synced: 2 days ago
JSON representation
Resolve IPs to hostnames in web server logs
- Host: GitHub
- URL: https://github.com/mla/ip2host
- Owner: mla
- Created: 2010-05-09T20:19:19.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-16T17:19:25.000Z (about 12 years ago)
- Last Synced: 2023-04-12T23:47:09.809Z (over 1 year ago)
- Language: Perl
- Homepage:
- Size: 200 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: CHANGELOG
Awesome Lists containing this project
README
NAME
ip2host - Resolves IPs to hostnames in web server logsSYNOPSIS
ip2host [OPTIONS] [cache_file] < infile > outfileinfile - Web server log file.
outfile - Same as input file, but with IPs resolved to hostnames.
Options:
--children=... Number of child processes to spawn (default: 40)
--timeout=... Seconds to wait on DNS response (default: 20)
--buffer=... Maximum number of log lines to keep in
memory (default: 50000)
--flush=... Number of lines to process before flushing
output buffer (default: 500)
--cache=... Filename to use as disk cache (default: none)
--ttl=... Number of seconds before IPs cached on disk are expired
(default: 604800 - One week)DESCRIPTION
This is a faster, drop-in replacement for the logresolve utility
distributed with the Apache web server.It's been reported to work under Linux, FreeBSD, Solaris, Tru64, and
IRIX.AUTHOR
Maurice AubreyBased on the logresolve.pl script by Rob Hartill.
COPYRIGHT
Copyright 1999-2010, Maurice Aubrey .This module is free software; you may redistribute it and/or modify it
under the same terms as Perl itself.README
Resolves IPs to hostnames in web server logs. This is a faster, drop-in
replacement for the logresolve utility distributed with the Apache web
server.SCRIPT CATEGORIES
Web