toadie
Goto Top

Squid3 - SquidView zeigt keine IP Adressen der Clients an

Moin Moin,

habe eine frage zu Squid/Squidview.

Der Output von Squidview sieht ungefähr so aus:
http/1.1   ?  www.administrator.de
http/0.0   ?  error:invalid-request

Ich weiß das man sich die IP Adressen der Clients anzeigen lassen kann, hatte ich beim alten Squid.
Weiß jemand ob und wie das noch geht?
Würde schon gerne sehen können wer wo rauf zugreift.

Besten Dank

Gruß Toadie

Squid3 Config:
#acl all src all
#acl manager proto cache_object
#acl localhost src 127.0.0.1/32 ::1
#acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
#acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl purge method PURGE
follow_x_forwarded_for allow all
acl_uses_indirect_client on
delay_pool_uses_indirect_client on
log_uses_indirect_client off
#http_access allow manager localhost
#http_access deny manager
#http_access allow purge localhost
http_access deny purge
#http_access allow CONNECT all
#http_access allow localhost
acl gesperrt dstdomain "/etc/squid3/domains.deny"  
http_access deny gesperrt
http_access allow all
http_reply_access allow all
icp_access allow all
http_reply_access allow all
icp_access allow all
htcp_clr_access allow all
miss_access allow all
ident_lookup_access allow all
http_port 0.0.0.0:3128 transparent
acl SSL_ports port 443 563
acl Safe_ports port 80      
acl Safe_ports port 21     
acl Safe_ports port 443 563
acl CONNECT method CONNECT
cache_mem 64 MB
cache_dir ufs /var/spool/squid3 100 16 256
logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh  
access_log /var/log/squid3/access.log combined
emulate_httpd_log on
hosts_file /etc/squid3/hosts

Content-Key: 215064

Url: https://administrator.de/contentid/215064

Printed on: April 23, 2024 at 08:04 o'clock

Member: hajowe
Solution hajowe Oct 11, 2013, updated at Dec 09, 2013 at 13:45:50 (UTC)
Goto Top
Hi
Ich setze auch den Squid3 ein.

Ich habe jedoch kein logformat angegeben und meine Ansicht sieht so aus
Ist einig Zeit her das er aufgesetzt wurde.
Ich hatte wenn ich mich recht erinnere auch ein Problem mit den Logformat und nutze von daher einfach den Default.


1381491052.288 "hier steht die Source-IP" TCP_MISS/200 610 GET http://www.squid-cache.org/Images/img7.gif "hier steht der Anmeldename" DIRECT/198.186.193.234 image/gif
1381491052.288 "hier steht die Source-IP" TCP_MISS/200 612 GET http://www.squid-cache.org/Images/img5.gif "hier steht der Anmeldename" DIRECT/198.186.193.234 image/gif