RE: [squid-users] Is it possible

From: Ali Abbas <ali.abbas@dont-contact.us>
Date: Sun, 14 Nov 2004 04:41:26 +0500

Perhaps I put my question wrong. What I intended to ask was how to make
squid not process such request just like we stop the request by their
respective host IPs or protocols can we stop client request to be processed
by squid with respect to this error.

Mohammed Ali Abbas
Asst. CMTS Engineer

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Sunday, November 14, 2004 2:26 AM
To: Ali Abbas
Cc: 'squid users'
Subject: Re: [squid-users] Is it possible

On Sun, 14 Nov 2004, Ali Abbas wrote:

> Is it possible to either create an acl that can stop (deny) client request
> with abnormal headers or if somehow it can be specified in "no_cache" tag
so
> that squid never process such request with "header-too-large" error

Requests resulting in "header-too-large" error is rejected by Squid, and
not cached (there is nothing to cache).

With the new req_header acl in Squid-2.5.STABLE7 you can match any request
headers you like if there is a certain pattern (besides sheer size) you
want to match and perhaps deny.

Regards
Henrik
Received on Sat Nov 13 2004 - 16:41:45 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST