Squid3 Probleme bei der Authentifizierung
Posted: 2014-10-31 22:56
Ich setze lokal einen Squid3 Proxy ein, um den den Internetverkehr entsprechend zu regeln. Die Authentifizierung der User erfolgt per ncsa_auth, was auch problemlos funktioniert. Das Problem ist allerdings, das Windows7 Clients bzw. z.T. auch IOS8 Client Probleme bei der Authentifizierung haben.
Wenn ich das richtig interpretiere, versuchen die Clients, ohne Authentifizierung auf das Internet zuzugreifen, was dann geblockt wird. So sieht es im Log bei erfolgreicher Authentifizierung aus
Die Konfig /etc/squid3/squid.conf
So recht will mir keine Lösung für das Problem einfallen bzw. wo liegt das Problem? Möglich wäre auch, das ein eingeschränkter Zugang zum Internet ohne Benutzername und Kennwort möglich wäre. Wie müsste der Proxy dann konfiguriert werden?
Code: Select all
1414752343.734 0 192.168.178.21 TCP_DENIED/407 3694 GET http://updates.lechnology.com/KeePassPlugins - HIER_NONE/- text/html
1414752343.734 0 192.168.178.22 TCP_DENIED/407 3692 GET http://keepass.info/update/version2x.txt.gz - HIER_NONE/- text/html
1414791808.558 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl2.apple.com:443 - HIER_NONE/- text/html
1414791808.582 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl2.apple.com:443 - HIER_NONE/- text/html
1414791808.605 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl2.apple.com:443 - HIER_NONE/- text/html
1414791808.630 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl2.apple.com:443 - HIER_NONE/- text/html
1414791808.653 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl2.apple.com:443 - HIER_NONE/- text/html
1414791808.680 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl5.apple.com:443 - HIER_NONE/- text/html
1414791808.705 0 192.168.178.61 TCP_DENIED/407 3693 CONNECT cl5.apple.com:443 - HIER_NONE/- text/htmlCode: Select all
1414791494.107 162 192.168.178.21 TCP_MISS/200 975 GET http://api.flattr.com/button/view/? user1 HIER_DIRECT/95.215.16.13 text/htmlCode: Select all
...
acl localnet src 192.168.178.0/24
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
...
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl checkpw proxy_auth REQUIRED localnet
http_access allow checkpw
http_access deny all