Re: [squid-users] external_acl_type and %{Header} [Squid 2.6]

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 29 Aug 2008 13:23:49 +1200 (NZST)

> Em Wednesday 27 August 2008 21:19:15 Amos Jeffries escreveu:
>> >
>> > OK, I find my error. I looking for headers only on reply not on
>> request.
>> >
>> > It's works fine and are detecting the Content-Type send by browsers
>> and
>> > others
>> > programs.
>> >
>> > Until here all is fine but I need the reply headers too. I put the acl
>> in
>> > http_reply_access to verify the reply now, and it appears to not
>> verifyng
>> > the
>> > server header. Any clues?
>>
>> Ooh, you have uncovered a big missing piece in Squid.
> Oh no!
>
>>
>> Most people use the rep_mime_type ACL, but I take it you are doing more
>> than just matching against it.
> Exactly. I'm current developing a application who query some complex
> interations between username, content-type, IP, port and others. Part of
> it
> is to block streamming audio/video from web.
>
> Actualy I do it with rep_mime_type on http_reply_header and it function,
> but I
> trying to migrate it to a new system with squid on background.
>
> Neither 2.7/3.0 can do it?
>

None of them at present. I found an open bug, so you are not alone on
wanting it. I've also re-started conversation on a fix.
http://www.squid-cache.org/bugs/show_bug.cgi?id=740

If there is no other reason holding you to Squid-2 I can throw together an
experimental patch for 3.0 for you shortly.

Amos
Received on Fri Aug 29 2008 - 01:23:52 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 12:00:04 MDT