version.
I have various observations and questions about the Squid ICAP interface
and like to discuss these with the persons who wrote or know much about
the ICAP client part of Squid.
I like to know with whom I can discuss this and which mailing list to use.
As Henrik said, you came
tis 2010-10-12 klockan 14:51 -0300 skrev Marcus Kool:
I have various observations and questions about the Squid ICAP interface
and like to discuss these with the persons who wrote or know much about
the ICAP client part of Squid.
I like to know with whom I can discuss this and which mailing
behaving unexpectedly (2 minutes timeouts
where it seems not handle any request from a browser, assertion failure).
I have various observations and questions about the Squid ICAP interface
and like to discuss these with the persons who wrote or know much about
the ICAP client part of Squid.
I like to know
tis 2007-02-20 klockan 15:05 +0100 skrev Christophe Boyanique:
I would like to give a try to the 2.6 branch of the ICAP patch and I
didn't manage to apply the patch available at:
http://devel.squid-cache.org/projects.html#icap
I tried on squid-2.6.STABLE9-20070220, squid-2.6.STABLE9 and
Hello,
I would like to give a try to the 2.6 branch of the ICAP patch and I
didn't manage to apply the patch available at:
http://devel.squid-cache.org/projects.html#icap
I tried on squid-2.6.STABLE9-20070220, squid-2.6.STABLE9 and
squid-2.6.STABLE8 without success.
Is there anywhere:
-
Bonjour Jeremy,
Here is the answer I got, and I managed to patch squid correctly thanks
to it:
http://www.squid-cache.org/mail-archive/squid-users/200702/0143.html
Would you have a corrected patch ?
Because I am applying manually and it is a bit long and not obvious to
not make a mistake.
Christophe Boyanique a écrit :
Hello,
I would like to give a try to the 2.6 branch of the ICAP patch and I
didn't manage to apply the patch available at:
http://devel.squid-cache.org/projects.html#icap
I tried on squid-2.6.STABLE9-20070220, squid-2.6.STABLE9 and
squid-2.6.STABLE8 without
Hi Christophe,
I think the best is to get the icap branch from cvs:
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/squid co
-r icap-2_6 squid
After that run the bootstrap.sh script which included in cvs sources.
Do not try to correct rejected patches. The last merge with main squid26
done after
Christophe Boyanique wrote:
Yes we tried it and this leads to segfault too.
:-(
By reading the log I just noticed that with your modification the
icapReqModPassHttpBody is not called:
This is for the specific request (POST):
2006/11/24 14:15:22| handing request bodies in ICAP REQMOD
Hi all,
Tsantilas Christos wrote :
If you are still looking for the solution, try the following patch in
icap_reqmod.c file. With this patch the icapReqModPassHttpBody function
called if the icap-reqmod.http_entity.buf.size is zero, and at this
phase can handle correctly, the case that the
Tsantilas Christos a e'crit :
Hello Christos,
Maybe I was not clear on my last mail. Sorry.
You were but I forgot to mention that I tried what you adviced.
But in the same function replace the test:
if (icap-reqmod.http_entity.callback
icap-reqmod.http_entity.buf.size) {
Hi,
From your logs what I am seeing is that the
icap-reqmod.http_entity.buf.size==0 so the icapRqModPassHttpBody must
not called, but it is called. It is strange.
Did you touch something else in code? Can you run squid in gdb and send
a backtrace after the crash?
Regards,
Christos
Hello,
Thanks for you support.
I tried the patch from Tsantilas:
if (icap-chunk_size 0)
icap-flags.reqmod_http_entity_eof = 1;
instead of:
if (icap-reqmod.http_entity.bytes_read = icap-request-content_length)
icap-flags.reqmod_http_entity_eof = 1;
And that corrects the
ons 2006-11-08 klockan 16:26 +0100 skrev Christophe Boyanique:
We have read enough data (27 bytes) to have all the body (as
content-length is 27), so we set the eof flag.
if (!icap-flags.reqmod_http_entity_eof)
commSetSelect(fd, COMM_SELECT_READ, icapReqModReadHttpBody,
icap,
Henrik Nordstrom a écrit :
We have read enough data (27 bytes) to have all the body (as
content-length is 27), so we set the eof flag.
if (!icap-flags.reqmod_http_entity_eof)
commSetSelect(fd, COMM_SELECT_READ, icapReqModReadHttpBody,
icap, 0);
eof in ICAP is that 0 chunk... so
not test it enough
Regards,
Christos
Christophe Boyanique wrote:
Hello,
I think I have found a bug in the Squid-ICAP patch and I would like to
have your opinion about it.
I use a tcpdump strace and verbose log to track a problem which occurs
sometimes during a respmod request
On Thu, Nov 09, 2006, Christophe Boyanique wrote:
Note: As Adrian said most efforts is focused on the Squid-3 release,
which also includes ICAP support.
I understand that but the problem is that we have this bug in production
on heavy loaded site (we took several weeks to find it out) and
tor 2006-11-09 klockan 12:37 +0200 skrev Tsantilas Christos:
+ if (icap-chunk_size 0 )
+ icap-flags.reqmod_http_entity_eof = 1;
Shouldn't that be = 0 or maybe even == 0?
Regards
Henrik
signature.asc
Description: Detta är en digitalt signerad meddelandedel
Hi,
I think it should be icap-chunk_size == -2.
In icapParseChunkSize function in common_icap.c file the
icap-chunk_size set to -2 when the 0\r\n\r\n sequence parsed
Regards,
Christos
Henrik Nordstrom wrote:
tor 2006-11-09 klockan 12:37 +0200 skrev Tsantilas Christos:
+ if
Hello,
I think I have found a bug in the Squid-ICAP patch and I would like to
have your opinion about it.
I use a tcpdump strace and verbose log to track a problem which occurs
sometimes during a respmod request but is triggered during the reqmod
answer analysis I think.
We use squid-2.5
Hi,
Could someone add the 2 attached patches to the squid icap client?
Here's a description of what they fix...
15minutefix.patch
=
I noticed that if an icap server replied with a 204 response, the
download would continue without being forwarded to icap but it would
then abort
Hi Graeme,
I did not verified the problems but looks that the problems exist.
About the first patch I am proposing a somehow different approach.
When squid-icap takes a 204 response immediately releases the connection
and put it to connections poll so it can be used for other icap requests
it is not clear
enough, I will ask again.
I would like squid ICAP client to do the logic for couple of
reasons, 1. Security - Origin sever might change the replied
http header and add the X-MY-SCANNER: Allow it self,
and bypass the content filter, In that case I
would not be able
Hi all squids,
Background information:
I am implementing an extension to squid ICAP client based upon ICAP
Patch and squid 2.5 STABLE 10.
The squid ICAP client does not support Content Filtering the way we at
PureSight.com using it.
The ICAP protocol is defined to support also Content Filtering
Hi Beeri,
Maybe you do not need to modify the squid-icap code to support your model.
I think that the correct implementation of your problem using squid-icap
is:
1) An http request come into the squid. Squid sends the reqmod request to
the icap server and server clasifies the request
Hi Christos,
Thank you for your help, but you suggestion is not secure nor best
perform, Please read my other remarks below.
Now that I read the question again I see it is not clear enough,
I will ask again.
I would like squid ICAP client to do the logic for couple of reasons,
1. Security
Hi Beeri,
1. Security - Origin sever might change the replied http header and add
the X-MY-SCANNER: Allow it self,
and bypass the content filter, In that case I would not
be able to prevent kids from viewing un honest pages :-(
Yes this problem exists.
I am just refering it as
On Thu, 2005-09-15 at 17:10 +0200, Ghislain Garçon wrote:
does the ICAP team plan to implement load balancing for v3?
If yes, will it only be round-robin or a different protocol?//
The plan is to support basic ICAP first, without load balancing
complications. The ICAP framework being
Hello,
I'm a software engineer working in England. I have a use for squid-icap
and I would like to contribute to its development. In particular, I want
to extend it so that it can do all 4 vector points: reqmod pre/postcache
and respmod pre/postcache.
I wrote to Henrik Nordstrm (the only
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Henrik Nordstrom wrote:
Just tested compiling the icap-2.5 branch and the above problem did not
show up. A number of other problems did however...
- strnstr prototype in util.h. needed for compiling strnstr.c
- a number module-local
On Tue, 17 May 2005, Tsantilas Christos wrote:
I hope that this means that you are starting developement in icap-client :-)
Not in this icap client. But I have another (see below).
I think icap is a must for squid.
Agreed.
Thinks like modifing headers (like those you are talking about with
James
Henrik Nordstrom wrote:
Not in this icap client. But I have another (see below).
I wrote in a previous mail that I am considering the current ICAP client
for squid problematic.
And I now that it will never be really good (if it will not rewritten
from scratch.).
I already have a what I
for someone to put efford on icap
developement
(one patch) than on a number of different patches
At the lastest tests which I done with squid-icap looks that it becomes
more stable,
but still I do not know about its stability in a production system.
Regards,
Christos
not contain enough info but sometimes it is useful
to just know the problems.
-
Christos
Mateus Gröess wrote:
Hi, Christos
Today I was looking in cache.log of Squid ICAP and found
another message that was followed by a Squid restart. ...
Unfortunally there wasn't messages
Mateus
send me the backtrace
On Apr 5, 2005 10:05 AM, Mateus Gröess wrote:
2005/04/04 14:07:00| storeLateRelease: released 0 objects
2005/04/04 17:12:31| assertion failed: client_side.c:3268: cbdataValid(conn)
2005/04/04 17:12:42| Starting Squid Cache version 2.5.STABLE9-CVS for
of Squid ICAP and found
another message that was followed by a Squid restart. ...
Unfortunally there wasn't messages between the error and the normal
Squid startup.
2005/04/04 14:07:00| storeLateRelease: released 0 objects
2005/04/04 17:12:31| assertion failed: client_side.c:3268: cbdataValid(conn)
2005
On Thu, 3 Mar 2005, Tsantilas Christos wrote:
I am Tsantilas Christos (chtsanti at users dot sourceforge dot net),
I am working with ICAP protocol and I am interested to help the
development of ICAP client for squid.
You have now been given access to the devel.squid-cache.org services.
While you
Hi squid developers,
I want to report 1-2 small bugs and corrections at squid
icap client interface that are relative with keeped alive
requests to an icap server.
I am using a (corrected) squid-icap named squid-2.5.STABLE5-icap-6-pre1.
but as I seen this bugs exists and in squid-icap-2.5
Henrik Nordstrom wrote:
I had fogot about this issue. I'll note this issue so it is not
forgotten again. Needs to be fixed to not use MSG_PEEK so it can wait
for more data to arrive via commSetSelect(), which involves some magic
to get the interactions with the main Squid code correct.
Hi,
My name is Christian Kunst, and I would like to join the Squid team. I am interested
in helping develop the Squid iCAP client. Please let me know what are the next steps
that I should take.
Thank you and best regards,
Christian Kunst.
40 matches
Mail list logo