Re: [squid-users] Get IP for hostname portion in the URL?

From: Ralf Hildebrandt <Ralf.Hildebrandt@dont-contact.us>
Date: Wed, 1 Mar 2006 20:28:26 +0100

* Henrik Nordstrom <henrik@henriknordstrom.net>:
> ons 2006-03-01 klockan 13:56 +0100 skrev Ralf Hildebrandt:
> > A log entry looks like this:
> >
> > 1141175786.622 50 141.42.60.21 TCP_MISS/200 4132 GET http://www.tjaereborg.de/media/TJAEREBORG_Winter_2005_ZP0133_liste_-2.jpg - DEFAULT_PARENT /127.0.0.1 image/jpeg
> >
> > Is there any pre-existing code that ADDS an additional column to the
> > log entry -- the IP of the hostname portion in the URL, e.g.
>
> Squid does not care and can not know for sure what the IP is when using
> a parent. Consider for example sites having more than one IP. How could
> Squid know which of the IPs the parent will connect to?

That was a bad example. I found the data I wanted in the other squid's
log.
Right now we use

intranet -> squid -> DansGuardian -> squid -> Internet.

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to spamtrap@charite.de
Received on Wed Mar 01 2006 - 12:28:31 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:03 MST