RE: [squid-users] How to log Client ip?

From: Armin Marxer <armin@dont-contact.us>
Date: Tue, 4 Oct 2005 14:59:28 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Szarka Zoltán wrote on 04 October 2005 02:40 PM:

> Well, there is no extra settings
>
> by default in config file:
> cache_access_log /usr/local/squid/var/logs/access.log
>
> in access.log:
>
> 1128327063.698 2151 192.168.1.0 TCP_MISS/407 542 GET
> http://www.index.hu/ - DEFAULT_PARENT/10.22.23.12 text/html
> 1128327069.434 1347 192.168.1.0 TCP_MISS/304 217 GET
> http://img.index.hu/assets/css/cimlap.css -
> DEFAULT_PARENT/10.22.23.12 -
> 1128327069.447 1309 192.168.1.0 TCP_MISS/304 284 GET
> http://index.hu/hires/default/templates/scripts.js -
> DEFAULT_PARENT/10.22.23.12 - 1128327073.331 5229 192.168.1.0
> TCP_MISS/200 7375 GET
> http://index.hu/hires/default/templates/_t_cimlap/section.css -
> DEFAULT_PARENT/10.22.23.12 text/css 1128327075.197 1621 192.168.1.0
> TCP_MISS/302 461 GET http://sher.index.hu/ad? -
> DEFAULT_PARENT/10.22.23.12 text/html 1128327075.240 1909
> 192.168.1.0 TCP_MISS/200 381 GET
> http://audit.median.hu/cgi-bin/track.cgi? -
> DEFAULT_PARENT/10.22.23.12 image/gif 1128327075.247 1616
> 192.168.1.0 TCP_MISS/304 216 GET
> http://img.index.hu/assets/cimlap/ewiw.gif -
> DEFAULT_PARENT/10.22.23.12 - 1128327076.842 1537 192.168.1.0
> TCP_MISS/304 216 GET http://img.index.hu/assets/fejlec_logo.gif -
> DEFAULT_PARENT/10.22.23.12 -
> 1128327077.540 2289 192.168.1.0 TCP_MISS/302 461 GET
> http://sher.index.hu/ad? - DEFAULT_PARENT/10.22.23.12 text/html
>
> The problem is, in the colonum of client IP is only the
> subnet address of us, not the client's addresses
>
It looks as though all your clients' requests originate from the same ip,
How is your network laid out? Where are your clients in relation to your
proxy?

A

-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)

iQEVAwUBQ0J83dTq8ix2BBiaAQgC0wgAuGwgzi2qLzyJv2VYj8Uyr6C3rueZAet3
hFHIIHFgsxfipos4ntK9dd8BoT4CPtxWX3xEngC5L10U19060skr9CHLaLTMG3CG
R4HpbzybEXdvSDDUBI9THVB0/skzIwPBX+tsJoL32yCfuEWTPtAOkRNONVHAIhvn
N8ZSKBTv9nHRq6yZuBSMp3JHtTYSwusx3YOq+zQQSJhvJkdhtRBIBLQY77KnSISM
wiXZOMk0IU9UYSqS925W/+JykAFQ3EbY4ZlFlXVN5tm9LwVqohBnADxp+4b+8p7D
srsbAHvHc52HrHrQSRes3wIyTStZLrECA0KkifOVJ3/038Fbj+7xSQ==
=Qc/7
-----END PGP SIGNATURE-----
Received on Tue Oct 04 2005 - 07:00:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:03 MST