Re: [squid-users] Request header

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 Aug 2002 09:07:31 +0200

In src/client_side.c, try changing

From:

                debug(33, 1) ("Request header is too large (%d
bytes)\n",
                    (int) conn->in.offset);

To:

                debug(33, 1) ("Request header is too large (%d
bytes)\n%s\n",
                    (int) conn->in.offset, conn->in.buf);

Regards
Henrik

Wei Keong wrote:
>
> Hi,
>
> Just want to have a better understanding on request header. My server
> seems to have a lot of 'request header too large' and I am wondering if
> there is anyway to confirm whether it's due to dos, buffer-overflow or
> bugs.
>
> Is there anyway to log the request header to investigate? I tried using
> log_mime_hdrs, but I cant tell much from it...
>
> 2002/08/23 10:41:34| Request header is too large (24575 bytes)
> 2002/08/23 10:41:34| Config 'request_header_max_size'= 20480 bytes.
>
> # TAG: request_header_max_size (KB)
> # This specifies the maximum size for HTTP headers in a request.
> # Request headers are usually relatively small (about 512 bytes).
> # Placing a limit on the request header size will catch certain
> # bugs (for example with persistent connections) and possibly
> # buffer-overflow or denial-of-service attacks.
>
> Rgds,
> Wei Keong
Received on Fri Aug 23 2002 - 02:15:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:48 MST