[squid-users] Re: Some problem about use squid

From: huang.zhenxing <huang.zhenxing_at_eco-schulte.cn>
Date: Sun, 16 Mar 2014 21:36:42 -0700 (PDT)

Hello:
My squid.conf is:
------------------------------------------------------
auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp --domain=domain.local
--require-membership-of=S-1-5-21-3873126785-2650605362-1718116578-1906
auth_param ntlm children 5
auth_param ntlm keep_alive on
acl Auth proxy_auth REQUIRED
http_access allow Auth
http_access deny !Auth
acl localnet src 192.168.10.0/24
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 192.168.10.254:3128
cache_mem 0
cache deny all
access_log daemon:/var/log/cache/access.log squid
#access_log daemon:/192.168.10.10/squid_table/access_log/squid/sq45$%
#logfile_daemon /usr/libexec/log_db_daemon
cache_log /var/log/cache/squid.log
coredump_dir /var/log/cache/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
visible_hostname gateway.domain.local
forwarded_for on
------------------------------------------------------
and
------------------------------------------------------
[root_at_Gateway ~]# /usr/sbin/squid -k parse
2014/03/17 12:30:11| Startup: Initializing Authentication Schemes ...
2014/03/17 12:30:11| Startup: Initialized Authentication Scheme 'basic'
2014/03/17 12:30:11| Startup: Initialized Authentication Scheme 'negotiate'
2014/03/17 12:30:11| Startup: Initialized Authentication Scheme 'ntlm'
2014/03/17 12:30:11| Startup: Initialized Authentication.
2014/03/17 12:30:11| Processing Configuration File: /usr/etc/squid.conf
(depth 0)
2014/03/17 12:30:11| Processing: auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp --domain=domainname
--require-membership-of=S-1-5-21-3873126785-2650605362-1718116578-1906
2014/03/17 12:30:11| Processing: auth_param ntlm children 5
2014/03/17 12:30:11| Processing: auth_param ntlm keep_alive on
2014/03/17 12:30:11| Processing: acl Auth proxy_auth REQUIRED
2014/03/17 12:30:11| Processing: http_access allow Auth
2014/03/17 12:30:11| Processing: http_access deny !Auth
2014/03/17 12:30:11| Processing: acl localnet src 192.168.10.0/24 # RFC1918
possible internal network
2014/03/17 12:30:11| Processing: acl SSL_ports port 443
2014/03/17 12:30:11| Processing: acl Safe_ports port 80 # http
2014/03/17 12:30:11| Processing: acl Safe_ports port 21 # ftp
2014/03/17 12:30:11| Processing: acl Safe_ports port 443 #
https
2014/03/17 12:30:11| Processing: acl Safe_ports port 70 # gopher
2014/03/17 12:30:11| Processing: acl Safe_ports port 210 #
wais
2014/03/17 12:30:11| Processing: acl Safe_ports port 1025-65535 #
unregistered ports
2014/03/17 12:30:11| Processing: acl Safe_ports port 280 #
http-mgmt
2014/03/17 12:30:11| Processing: acl Safe_ports port 488 #
gss-http
2014/03/17 12:30:11| Processing: acl Safe_ports port 591 #
filemaker
2014/03/17 12:30:11| Processing: acl Safe_ports port 777 #
multiling http
2014/03/17 12:30:11| Processing: acl CONNECT method CONNECT
2014/03/17 12:30:11| Processing: http_access deny !Safe_ports
2014/03/17 12:30:11| Processing: http_access deny CONNECT !SSL_ports
2014/03/17 12:30:11| Processing: http_access allow localhost manager
2014/03/17 12:30:11| Processing: http_access deny manager
2014/03/17 12:30:11| Processing: http_access allow localnet
2014/03/17 12:30:11| Processing: http_access allow localhost
2014/03/17 12:30:11| Processing: http_access deny all
2014/03/17 12:30:11| Processing: http_port 192.168.10.254:3128
2014/03/17 12:30:11| Processing: cache_mem 0
2014/03/17 12:30:11| Processing: cache deny all
2014/03/17 12:30:11| Processing: access_log daemon:/var/log/cache/access.log
squid
2014/03/17 12:30:11| Processing: cache_log /var/log/cache/squid.log
2014/03/17 12:30:11| Processing: coredump_dir /var/log/cache/squid
2014/03/17 12:30:11| Processing: refresh_pattern ^ftp: 1440 20%
10080
2014/03/17 12:30:11| Processing: refresh_pattern ^gopher: 1440 0%
1440
2014/03/17 12:30:11| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0%
0
2014/03/17 12:30:11| Processing: refresh_pattern . 0 20%
4320
2014/03/17 12:30:11| Processing: cache_effective_user squid
2014/03/17 12:30:11| Processing: visible_hostname gateway.domain.locl
2014/03/17 12:30:11| Processing: forwarded_for on
[root_at_Gateway ~]#
------------------------------------------------------

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Some-problem-about-use-squid-tp4663845p4665233.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Mon Mar 17 2014 - 04:37:29 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 17 2014 - 12:00:05 MDT