Search squid archive

Re: unable to see client ip address in log file

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

 



>
> If you don't mind can you post your whole squid.conf (minus the comment #
> lines) so we can get a look and check for unexpected things.

Hi Amos,

Please find my squid.conf file. anything other than this is set
default. I want to see my client computers
ip address in the log file.

One more thing to tell you, I've not set it as a transparent proxy, as
I want to specifically give
the proxy access to the selective users.


acl biz_hours time M T W H F 08:00-20:00
acl biz_hours time A 08:00-16:00
acl biz_hours time S 01:00-01:05
acl our_network src 192.168.16.0/20
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl SSL_ports port 210
acl SSL_ports port 81
acl SSL_ports port 510
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
acl Safe_ports port 81		# for customized
acl Safe_ports port 210		# for application
acl Safe_ports port 510		# for application
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow our_network biz_hours
http_access deny all
icp_access deny all
htcp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
 cache_dir ufs /var/spool/squid3 2000 16 256
logformat squid  %tl %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
access_log /var/log/squid3/access.log squid
client_netmask 255.255.240.0
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	4320
negative_ttl 0 minutes
cache_mgr s9sameer@xxxxxxxxx
visible_hostname proxy-server
icp_port 3130
coredump_dir /var/spool/squid3

-- 
~~~~~~~~~~~~~~
Sameer Shinde.
M:- +91 98204 61580
Millions saw the apple fall, but Newton was the one who asked why.

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

  Powered by Linux