Search squid archive

Re: TCP_MISS/000 0 POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Having investigated this further, the issue is caused when I use the ICAP plugin referenced in my squid.conf.

If I remove the lines then I am able to POST the file.

Any suggestions?

Thanks


On 06/05/2010 17:35, "Nick Cairncross" <Nick.Cairncross@xxxxxxxxxxxxxxx> wrote:

Hi,

I have a TCP_MISS 000 error being reported for users in the 172.16.0.0 subnet attempting to upload files to a particular internet site. I understand that 000 indicates that the request has been aborted before it could complete? The exact error is:

TCP_MISS/000 0 POST http://[domain removed ]/fileuploads? - DIRECT/domain removed

I have also tried sending direct via the Squid to no avail - if I bypass the Squid entirely it works ok.

Any help gratefully received!

Nick
---
My squid conf is:

http_port vh-squid1:8080
auth_param negotiate program /usr/lib/squid/squid_kerb_auth -r
auth_param negotiate children 10
auth_param negotiate keep_alive on

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 40

auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

cache_peer [upstreamserver] parent 8080 0 no-query proxy-only no-digest default

icap_enable on
icap_preview_enable on
icap_persistent_connections on
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Authenticated-User
icap_client_username_encode on
icap_service ss reqmod_precache 0 icap://localhost/ssreqmod
icap_class c1 ss
icap_access c1 allow all

access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
useragent_log /var/log/squid/useragent.log

delay_pools 1
delay_class 1 4
delay_parameters 1 -1/-1 -1/-1 -1/-1 4000000/4000000

acl Java_jvm browser "/etc/squid/ACL/USERAGENTS/USER-AGENTS_JAVA.txt"
acl iTunes browser "/etc/squid/ACL/USERAGENTS/USER-AGENTS_APPLE.txt"
acl MSNMessenger browser "/etc/squid/ACL/USERAGENTS/USER-AGENTS_MSN.txt"
acl AuthenticatedUsers proxy_auth REQUIRED
acl URL_ALLOWDstDomains dstdomain "/etc/squid/ACL/URL/URL_ALLOWDstDomains.txt"
acl CNP_172SUBNETS src 172.16.0.0/255.255.0.0
acl CNP_SERVERSUBNETS src 172.16.10.0/255.255.255.0
acl StopDirectIP url_regex ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
acl IP_MSNMessenger src "/etc/squid/ACL/IPADDRESSES/IP_MSNMESSENGER.txt"
acl SENDDIRECT_DstDomains dstdomain "/etc/squid/ACL/SENDDIRECT/SENDDIRECT_DSTDOMAINS.txt"
acl SENDDIRECT_IPAddresses src "/etc/squid/ACL/SENDDIRECT/SENDDIRECT_IPADDRESSES.txt"
acl IP_CONNECTALLOW src "/etc/squid/ACL/IPADDRESSES/IP_CONNECTALLOW.txt"
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
acl Safe_ports port 80          # http
acl Safe_ports port 8080        # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
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 RTMP_ports port 1935        # RTMP

acl CONNECT method CONNECT
acl POST method POST

http_access deny !Safe_ports
http_access deny MSNMessenger CNP_172SUBNETS !IP_MSNMESSENGER
http_access deny StopDirectIP !IP_CONNECTALLOW
http_access deny CONNECT !SSL_Ports !CNP_172SUBNETS
http_access deny POST !SSL_Ports !RTMP_ports !CNP_172SUBNETS
http_access deny iTunes !CNP_172SUBNETS
http_access deny Java_jvm !CNP_172SUBNETS

http_access allow CONNECT CNP_172SUBNETS
http_access allow POST CNP_172SUBNETS
http_access allow iTunes CNP_172SUBNETS
http_access allow Java_jvm CNP_172SUBNETS
http_access allow URL_ALLOWDstDomains

http_access allow AuthenticatedUsers
always_direct allow SENDDIRECT_DstDomains
always_direct allow SENDDIRECT_IPAddresses
http_access allow localhost

delay_access 1 allow AuthenticatedUsers !CNP_SERVERSUBNETS
delay_access 1 deny all

http_access deny to_localhost
never_direct allow all
snmp_access deny CNP_172SUBNETS
cache deny all
http_access deny all












** Please consider the environment before printing this e-mail **

The information contained in this e-mail is of a confidential nature and is intended only for the addressee.  If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful.  Disclosure to any party other than the addressee, whether inadvertent or otherwise, is not intended to waive privilege or confidentiality.  Internet communications are not secure and therefore Conde Nast does not accept legal responsibility for the contents of this message.  Any views or opinions expressed are those of the author.

Company Registration details:
The Conde Nast Publications Ltd
Vogue House
Hanover Square
London W1S 1JU

Registered in London No. 226900


** Please consider the environment before printing this e-mail **

The information contained in this e-mail is of a confidential nature and is intended only for the addressee.  If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful.  Disclosure to any party other than the addressee, whether inadvertent or otherwise, is not intended to waive privilege or confidentiality.  Internet communications are not secure and therefore Conde Nast does not accept legal responsibility for the contents of this message.  Any views or opinions expressed are those of the author.

Company Registration details:
The Conde Nast Publications Ltd
Vogue House
Hanover Square
London W1S 1JU

Registered in London No. 226900


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux