Search squid archive

Re: Get IP for hostname portion in the URL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

If going direct then the IP Squid connects to is logged.

If going to a parent then the parent is logged, as this is where your
Squid is connecting. To find the final destination IP see the logs of
the parent.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux