I had asked you , how i can get client ip using icap? I found the answer.
Thank you anyway.
But i want to a few questions more
1.i configured squid to direct http messages to an icap server.
But when my icap server is down, squid is not able to reconnect my icap
server.
Is there a way to make squid try to reconnect my icap server automatically
2. We could also use squid external acl concept for a solution. But we need
to also read response headers. This feautere i think is enabled in squid
3.1, when do u think this release will be released.
Amos Jeffries-2 wrote:
>
> akinf wrote:
>> Hello,
>> We are planning to use squid as a http proxy as an alternative to wapgw.
>> Our requirements include:
>> reject some requests based on a businesslogic( we used redirector and
>> implented this.
>> Squid forward each url request wiht ip to our java based application.
>> Actually this a telecom application we alose listen to radius packets and
>> get msisdn using this ip and reject some requests from some misisdns ie
>> phone number).
>>
>> Our next requirementsi to write log infiromation inculding, url ,duration
>> time, contentsize from terminal, content size to terminal, some http
>> headers, and some http response headers.
>> How can i confiugre squid to forward these information to our external
>> java
>> based application?
>
> What you are asking for is called ICAP protocol.
> It is available from Squid-3.0 onwards.
> http://wiki.squid-cache.org/Features/ICAP
>
> Though from your description you only need an external_acl_type helper
> to receive a custom formatted set of information and send an allow/deny
> back to Squid.
>
> These are available in all current Squid, with some small variation on
> the details passable.
> http://www.squid-cache.org/Doc/config/external_acl_type/
>
> Amos
> --
> Please be using
> Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
> Current Beta Squid 3.1.0.7
>
>
-- View this message in context: http://www.nabble.com/How-can-i-forwadr-headers-and-response-to-an-external-application--tp23383496p23739747.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Wed May 27 2009 - 10:20:08 MDT
This archive was generated by hypermail 2.2.0 : Sun May 31 2009 - 12:00:01 MDT