Re: [SQU] How to get IP address in access.log ?

From: Volker Dormeyer <V.Dormeyer@dont-contact.us>
Date: Wed, 20 Sep 2000 08:10:45 +0200

On Wed, Sep 20, 2000 at 09:21:00AM +0800, root wrote:
> I'd like to write a log analysis program for squid.
> I need to know the IP address of the site the user visit.
> What should I do ? Is it possible that I modify the source code of
> SQUID and get
> a IP address "field" in the access.log ?

nslookup <site-name>

i.e.: nslookup www.squid-cache.org

will give you the IP-Address.

Volker

-- 
##########################################
 Volker Dormeyer # V.Dormeyer@t-online.de
##########################################
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Sep 20 2000 - 00:11:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:24 MST