Re: [squid-users] How to drop packet on basis of specific header

From: Bhagwat Yadav <yadav.bhagwat87_at_gmail.com>
Date: Thu, 13 Mar 2014 10:25:03 +0530

Hi Amos,

Actually in my deployment I have modified the http request with a
specific header field.
Now the FW device ahead of my server on which squid is running is
blocking the request on the basis of pattern found in http header.

So I want if somebody intentionally introduce that pattern by whatever
means then my squid is able to identify it and drop the request not
allowing it to pass through up to FW device.

So how I can achieve this?

Thanks,
Bhagwat

On Wed, Mar 12, 2014 at 3:11 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 12/03/2014 7:51 p.m., Bhagwat Yadav wrote:
>> Hi Amos,
>>
>> In actual, I want to drop the incoming request on the basis of
>> specific header found in request.
>
>
> I think I understand what you are asking for. But why?
>
> The closest youa re going to get is req_header ACL type to identify the
> header and http_access deny line using that ACL you define to *reject*
> the request.
>
> Amos
>
Received on Thu Mar 13 2014 - 04:55:17 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 13 2014 - 12:00:04 MDT