2014-09-23 1 views
0

여러분, 안녕하세요!Squid3은 authenitcate을 받지만 데이터는 제공되지 않습니다.

나는 Wheezy repos에서 Debian 7을 실행하는 Squid 3.1을 사용하고 있습니다.

사용자는 인증을 받았지만 요청은 전송할 수 있지만 페이지는 브라우저에 표시되지 않습니다. 브라우저는 흰색 화면로드로 영원히 앉아 있습니다. 유래는 내가 링크를 게시하도록하겠습니다 생각하기 때문에 내가이 게시하지 않습니다, 나는 명성 포인트가 부족

그리고 내 설정은 다음과 같습니다 : :(

내 로그 파일을 제공합니다.

acl manager proto cache_object 
acl localhost src 127.0.0.1/32 ::1 
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 
acl SSL_ports port 443 8443 563 22 # https, snews, ssh 
acl SSL_ports port 4443   # rsync 
acl SSL_ports port 873   # rsync 
acl Safe_ports port 80 81 82 800 8119   # http 
acl Safe_ports port 4443 873 # rsync 
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 631   # cups 
acl purge method PURGE 
acl CONNECT method CONNECT 
auth_param digest program /usr/lib/squid3/digest_pw_auth -c /etc/squid3/passwords 
auth_param digest realm proxy 
acl authenticated proxy_auth REQUIRED 
http_access allow manager localhost 
http_access allow authenticated 
http_access deny manager 
#http_access deny !Safe_ports 
#http_access deny CONNECT !SSL_ports 
http_access allow localhost 
http_access deny all 
http_port 3128 transparent 
forwarded_for delete 
coredump_dir /var/spool/squid3 
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 
! http_access 거부 Safe_ports http_access CONNECT를 거부 SSL_ports

:

는 내가 테스트를 위해 포트 데니스 제거

내 DNS가 IP6 주소를 확인하지만 ping이 핑하지 않으므로 IP6 해상도와 관련이있을 수 있습니다!

오징어 로그 파일에서 : DIRECT/2a01 : 111 : f400 : 9814 :: 6 그리고 ip5 ping이 실패했습니다.

누군가 나에게 도움을 주신다면 정말 감사할까요?

종류와 관련, 소피

답변

1

이 문제는 오징어가 IP6를 사용하고 다시 IP4에 빠지지 않도록, DNS는 IP6 주소를 확인하지만 내 VPS 서버가 IP6의 주소를 가지고 있지 않았다이었다. 123.123.123.123가 보내는 IP4이다

당신이 사용하고자하는 addresss

tcp_outgoing_address의 123.123.123.123 :

는 IP4이 내 이는 squid.conf을 추가하여 강제 할 수 있습니다.

오징어가 작동합니다.

관련 문제