66 lines
1.9 KiB
HTML
66 lines
1.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of LOGRESOLVE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>LOGRESOLVE</H1>
|
|
Section: logresolve (1)<BR>Updated: 2018-07-06<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
logresolve - Resolve IP-addresses to hostnames in Apache log files
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
<B>logresolve</B> [ -<B>s</B> <I>filename</I> ] [ -<B>c</B> ] < <I>access_log</I> > <I>access_log.new</I>
|
|
<BR>
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SUMMARY</H2>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
<B>logresolve</B> is a post-processing program to resolve IP-addresses in Apache's access logfiles. To minimize impact on your nameserver, logresolve has its very own internal hash-table cache. This means that each IP number will only be looked up the first time it is found in the log file.
|
|
<BR>
|
|
<P>
|
|
|
|
Takes an Apache log file on standard input. The IP addresses must be the first thing on each line and must be separated from the remainder of the line by a space.
|
|
<BR>
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<BR>
|
|
<BR>
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-s </B><I>filename</I><DD>
|
|
Specifies a filename to record statistics.
|
|
<DT id="2"><B>-c</B><DD>
|
|
This causes <B>logresolve</B> to apply some DNS checks: after finding the hostname from the IP address, it looks up the IP addresses for the hostname and checks that one of these matches the original address.
|
|
<BR>
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">SUMMARY</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:18 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|