Re: [squid-users] Fwd: access.log destinatin server ip
On Friday 29 August 2014 at 13:43:27 (EU time), Manuel Ramirez Montero wrote: Hi, 10.23.11.243 - user[29/Aug/2014:13:23:33 +0200] - GET http://www.cassa.cat/taps/templates/business_pro/images/s5_scroll_arrow.png HTTP/1.1 304 324 TCP_IMS_HIT:NONE 10.23.11.243 - user [29/Aug/2014:13:23:33 +0200] 37.152.88.16 GET http://www.cassa.cat/taps/templates/business_pro/js/s5_columns_equalizer.js HTTP/1.1 304 261 TCP_MISS:DIRECT What is the reason in the first line the destination ip is not displayed and in the next line yes? The first line shows TCP_IMS_HIT:NONE meaning that the required object was found in the local cache and returned to the client from there, and no connection was made to the remote server, therefore there is no IP address to show having been contacted. The second line shows TCP_MISS:DIRECT meaning that there was no matching object found in the local cache, and the content was requested directly from the remote server, therefore the IP address of the server which was contacted is shown. Regards, Antony. -- Ramdisk is not an installation procedure. Please reply to the list; please *don't* CC me.
Re: [squid-users] Fwd: access.log destinatin server ip
Ok thank you so much. will i see only this field empty when the objet is in the local cache or may happend in other situation like if the destination ip is in the ip address cache? thanks 2014-08-29 13:53 GMT+02:00 Antony Stone antony.st...@squid.open.source.it: On Friday 29 August 2014 at 13:43:27 (EU time), Manuel Ramirez Montero wrote: Hi, 10.23.11.243 - user[29/Aug/2014:13:23:33 +0200] - GET http://www.cassa.cat/taps/templates/business_pro/images/s5_scroll_arrow.png HTTP/1.1 304 324 TCP_IMS_HIT:NONE 10.23.11.243 - user [29/Aug/2014:13:23:33 +0200] 37.152.88.16 GET http://www.cassa.cat/taps/templates/business_pro/js/s5_columns_equalizer.js HTTP/1.1 304 261 TCP_MISS:DIRECT What is the reason in the first line the destination ip is not displayed and in the next line yes? The first line shows TCP_IMS_HIT:NONE meaning that the required object was found in the local cache and returned to the client from there, and no connection was made to the remote server, therefore there is no IP address to show having been contacted. The second line shows TCP_MISS:DIRECT meaning that there was no matching object found in the local cache, and the content was requested directly from the remote server, therefore the IP address of the server which was contacted is shown. Regards, Antony. -- Ramdisk is not an installation procedure. Please reply to the list; please *don't* CC me.
Re: [squid-users] Fwd: access.log destinatin server ip
Thanks again Antony 2014-08-29 14:26 GMT+02:00 Antony Stone antony.st...@squid.open.source.it: On Friday 29 August 2014 at 14:15:32 (EU time), Manuel Ramírez wrote: Ok thank you so much. will i see only this field empty when the objet is in the local cache or may happend in other situation like if the destination ip is in the ip address cache? There is no IP address cache. Basically, you will see a destination server IP address if a destination server was contacted. You will not see an IP address if a destination server was not contacted. Reasons for not contacting a destination server might include the object being in the local cache (as in this example) or the request being passed to another proxy (which then decides whether to contact the destination server itself, but this proxy definitely doesn't). 2014-08-29 13:53 GMT+02:00 Antony Stone antony.st...@squid.open.source.it: On Friday 29 August 2014 at 13:43:27 (EU time), Manuel Ramirez Montero wrote: Hi, 10.23.11.243 - user[29/Aug/2014:13:23:33 +0200] - GET http://www.cassa.cat/taps/templates/business_pro/images/s5_scroll_arrow. png HTTP/1.1 304 324 TCP_IMS_HIT:NONE 10.23.11.243 - user [29/Aug/2014:13:23:33 +0200] 37.152.88.16 GET http://www.cassa.cat/taps/templates/business_pro/js/s5_columns_equalizer .js HTTP/1.1 304 261 TCP_MISS:DIRECT What is the reason in the first line the destination ip is not displayed and in the next line yes? The first line shows TCP_IMS_HIT:NONE meaning that the required object was found in the local cache and returned to the client from there, and no connection was made to the remote server, therefore there is no IP address to show having been contacted. The second line shows TCP_MISS:DIRECT meaning that there was no matching object found in the local cache, and the content was requested directly from the remote server, therefore the IP address of the server which was contacted is shown. -- What is this talk of software release? Our software evolves and matures until it is capable of escape, leaving a bloody trail of designers and quality assurance people in its wake. Please reply to the list; please *don't* CC me.
Re: [squid-users] Fwd: access.log destinatin server ip
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have you considered using the Squid native log format instead of the Apache common web server log format? Squid native format is designed for logging information about both client and server. Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUAJsRAAoJELJo5wb/XPRjA3IH/iu20Lo5A8nbg/qLN0jsAZcI OQ+vlL6+VdqAcnjKkGpjHN256HZh6m3cALiXfBpU5yh0zXR0Gc1oWfj7EhwQ1aLM bAUOV1XSxxRfFUcDtOtGNGQs18AOivrGgCZlFaVhAqOO0FRkBQuyY3PrgQ+5L0ic ifbbP4Sza/HESRT1im0gsF1LPI8NrrI9yVtCvNlAlj/Izk8eKuJFQ8GMLlKMIzE8 OktuWIPXSwmAZMxDwMJH7nlQETol0dZNxAlYIrfG7b7o4i/9ouYu64hX9msRAFQh ojJi6Awo02jN2Jqam7NH5KylqH36gfyvl+dqlDv3rrbjVCL/V9PLaUFLx0KjBMc= =m1P6 -END PGP SIGNATURE-