[squid-users] lot of TCP_DENIED/407

From: <andiML@dont-contact.us>
Date: Fri, 10 Dec 2004 10:06:43 +0100 (MET)

Hi, i am very new to Squid and at present running a 2.5.STABLE7 server in a
test environment until I learned more. Our users are authenticated to a NT4
Domain through a winbind external helper, which works fine, although I
noticed a lot of TCP_DENIED in access.log. It seems, Squid is trying several
times to authenticate an access - one ist denied, the other is allowed.
Probably there is s.th. wrong with my configuration?!

Parts of access.log ===>
1102638187.952 1 193.197.1.10 TCP_DENIED/407 1849 GET
http://www.openradius.org/ - NONE/- text/html
1102638189.061 1109 193.197.1.10 TCP_MISS/302 635 GET
http://www.openradius.org/ DOMAIN1+USERNAME DIRECT/217.112.89.141 text/html
1102638189.093 37 193.197.1.10 TCP_DENIED/407 1827 GET
http://www.xs4all.nl/~evbergen/openradius/ - NONE/- text/html
1102638189.145 26 193.197.1.10 TCP_DENIED/407 1897 GET
http://www.xs4all.nl/~evbergen/openradius/ - NONE/- text/html
1102638189.555 408 193.197.1.10 TCP_MISS/200 13708 GET
http://www.xs4all.nl/~evbergen/openradius/ DOMAIN1+USERNAME
DIRECT/194.109.6.92 text/html
1102638190.069 58 193.197.1.10 TCP_DENIED/407 1815 GET
http://www.xs4all.nl/~evbergen/ndst.js - NONE/- text/html
1102638190.191 119 193.197.1.10 TCP_MISS/200 2085 GET
http://www.xs4all.nl/~evbergen/ndst.js DOMAIN1+USERNAME DIRECT/194.109.6.92
application/x-javascript
1102638190.269 14 193.197.1.10 TCP_DENIED/407 1836 GET
http://host.e-advies.nl/track/blackpixel.gif? - NONE/- text/html
1102638190.312 112 193.197.1.10 TCP_MISS/200 347 GET
http://m1.nedstatbasic.net/n? DOMAIN1+USERNAME DIRECT/212.72.38.77 image/gif
1102638190.312 37 193.197.1.10 TCP_DENIED/407 1906 GET
http://host.e-advies.nl/track/blackpixel.gif? - NONE/- text/html
1102638190.510 198 193.197.1.10 TCP_MISS/200 404 GET
http://host.e-advies.nl/track/blackpixel.gif? DOMAIN1+USERNAME
DIRECT/217.112.89.141 image/gif

Parts of squid.conf ===>
#auth_param basic program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-basic
#auth_param basic realm Squid proxy-caching web server
#auth_param basic children 3
#auth_param basic realm Squid proxy-caching web server
#auth_param basic credentialsttl 2 minute
auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 3
auth_param ntlm max_challenge_reuses 1
auth_param ntlm max_challenge_lifetime 2 minute

external_acl_type NT_global_group children=10 ttl=900 %LOGIN
/usr/local/squid/libexec/wbinfo_group.pl

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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

acl _normalbenutzer external NT_global_group squid_user
acl badmimeReq req_mime_type "/etc/squid/mimetypes_verboten_normalbenutzer"
acl badmimeRep rep_mime_type "/etc/squid/mimetypes_verboten_normalbenutzer"
acl mimeAllowedRep rep_mime_type "/etc/squid/mime_allowed"
acl mimeAllowedReq req_mime_type "/etc/squid/mime_allowed"
acl blockext url_regex "/etc/squid/extensions_verboten"
#---------------------------------------------------------------------------
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_reply_access deny !mimeAllowedRep _normalbenutzer
http_access deny blockext _normalbenutzer
http_access allow _normalbenutzer

http_reply_access allow all
icp_access allow all
http_access deny all

-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!
Received on Fri Dec 10 2004 - 02:06:46 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST