Re: [squid-users] acl based on request body(http post fields)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 9 Sep 2008 15:32:55 +1200 (NZST)

> Hello
>
> I want to have some access control lists(acl) based on the content of
> the request body. for example I need to block some requests which have
> a special value in a field of a form which is submitted via http POST.
> external_acl_type directive does not have any format string to
> redirect whole request body to an external helper(authenticator). It
> just can redirect request header not request body.
>
> Any idea?
>

Body processing is far too complex to be done via the ACL available in Squid.
You will need a content adaptation filter seperate from Squid. The best
way to do that currently is with Squid-3 and an ICAP server which
processes things the way you want.

Amos
Received on Tue Sep 09 2008 - 03:32:58 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 09 2008 - 12:00:02 MDT