RE: [squid-users] Problems with javascript sites and authentication

From: Brad Larden <Brad.Larden@dont-contact.us>
Date: Fri, 8 Oct 2004 11:32:37 +1000

On Fri, 8 Oct 2004, Brad Larden wrote:

> TCP_DENIED/400 1533 USER-AGENT: Mozilla/4.0%20(Windows%20XP%205.1)%20Java/1.4.2_04%0d - NONE/- text/html
>
> There is nothing logged in cache.log.
>
> This message appeared after adding :-
> #define RELAXED_HTTP_PARSER 1
> to client_side.c and recompiling.
>
> The error prior to this was
>
> TCP_DENIED/400 1840 NONE error:unsupported-request-method - NONE/- text/html
>
> and in cache.log :-
>
> 2004/10/08 07:46:36| parseHttpRequest: Unsupported method 'User-Agent:'
> 2004/10/08 07:46:36| clientReadRequest: FD 22 Invalid Request

Your client sent a malformed request making Squid very confused..

> So, my question is, how do I fix this problem ?

Get the client fixed.

> Why is it only an issue when authentication is turned on under squid ?

Probably it is the authetication part in the client that is broken.

If in doubt use ethereal or similar sniffer tool to inspect the request
send by your client.

Regards
Henrik

Thanks Henrik,

The client is Microsoft IE, so I can't get it fixed and due to SOE, we can't use another client.

I don't really know what I am looking for with regard to the authentication part being broken but I will have a look anyway.

Regards,
Brad.
Received on Thu Oct 07 2004 - 19:32:40 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST