Squid.conf details: vi /usr/local/squid/etc/squid.conf ====================================================================================================================== # # Recommended minimum configuration: auth_param basic program /usr/local/squid/libexec/basic_ldap_auth -b "cn=users" -D "dc=xxx" -h ldap.xxx.com auth_param basic program /usr/local/squid/libexec/basic_ldap_auth -b "dc=RoboServer" -f "cn=%s" -h ldap.robosoftin.com auth_param basic children 9 auth_param basic realm "Robosoft Technologies Pvt. Ltd." auth_param basic credentialsttl 2 hours acl ldapauth proxy_auth REQUIRED http_access allow ldapauth #http_access allow localhost http_access deny all authenticate_ttl 8 hour # Example rule allowing access from your local networks. # Adapt to list your (internal) IP networks from where browsing # should be allowed acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network #acl localnet src fc00::/7 # RFC 4193 local private network range #acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl allowed src 10.10.1.46 acl SSL_ports port 443 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 CONNECT method CONNECT # Recommended minimum Access Permission configuration: # # Only allow cachemgr access from localhost #http_access allow localhost manager #http_access deny manager # Deny requests to certain unsafe ports http_access deny !Safe_ports # Deny CONNECT to other than secure SSL ports #http_access allow CONNECT SSL_ports http_access deny CONNECT !SSL_ports # We strongly recommend the following be uncommented to protect innocent # web applications running on the proxy server who think the only # one who can access services on "localhost" is a local user #http_access deny to_localhost # # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS # # Example rule allowing access from your local networks. # Adapt localnet in the ACL section to list your (internal) IP networks # from where browsing should be allowed http_access allow all http_access allow localnet #http_access allow localhost # And finally deny all other access to this proxy http_access deny all icp_access allow localnet icp_access deny all htcp_access allow localnet htcp_access deny all # Squid normally listens to port 3128 http_port 3128 # Uncomment and adjust the following to add a disk cache directory. cache_dir ufs /usr/local/squid/var/cache 500 16 256 maximum_object_size 4096 KB #access log and cache log settings cache_access_log /usr/local/squid/var/logs/access.log cache_log /usr/local/squid/var/logs/cache.log pid_filename /usr/local/squid/var/run/squid.pid # Leave coredumps in the first cache dir coredump_dir /usr/local/squid/var/cache/squid ======================================================================================================== tail -f /usr/local/squid/var/logs/access.log 1359098415.306 0 10.10.1.46 TCP_DENIED/407 2304 GET http://init.ess.apple.com/WebObjects/VCInit.woa/wa/getBag? - NONE/- text/html 1359098415.605 0 10.10.1.46 TCP_DENIED/407 2304 GET http://init.ess.apple.com/WebObjects/VCInit.woa/wa/getBag? - NONE/- text/html 1359098415.607 0 10.10.1.46 TCP_DENIED/407 2304 GET http://init.ess.apple.com/WebObjects/VCInit.woa/wa/getBag? - NONE/- text/html ===========================================================================================================================