[squid-users] ICAP breaking upload.youtube.com

From: Nick Cairncross <Nick.Cairncross_at_condenast.co.uk>
Date: Tue, 18 May 2010 12:41:08 +0100

Hi all,

I've noticed that a few users have reported problems when uploading files to certain sites. For example upload.youtube.com. When a video is selected for upload the upload progress moves along to completion but it never succeeds, eventually timing out. Tracing the client in access.log I see the traffic as a 407 and then 404, 407, 404. To 'fix' this I have a rule to deny ICAP for specified dstdomains held in a text file. Access.log then shows the standard 407 followed by 200.

The same is true when uploading .zip files (uses POST method) to a support site, but not when posting gifs, pngs, jpegs etc. The Deny rule 'fixes' this as well.

Could anyone offer hints as to what might be causing it? Has anyone come across this before?

My ICAP code is:

acl ICAP_BYPASS dstdomain "/etc/squid/ACL/ICAP/ICAP_BYPASS_URL.txt"
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 deny ICAP_BYPASS
icap_access c1 allow all

Thanks in advance,

Nick

** 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
Received on Tue May 18 2010 - 11:43:27 MDT

This archive was generated by hypermail 2.2.0 : Wed May 19 2010 - 12:00:06 MDT