Re: debugging Squid ICAP interface

2010-10-14 Thread Alex Rousskov
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

Re: debugging Squid ICAP interface

2010-10-13 Thread Henrik Nordström
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

debugging Squid ICAP interface

2010-10-12 Thread Marcus Kool
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

Re: Squid-ICAP 2.6

2007-02-22 Thread Henrik Nordstrom
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

Squid-ICAP 2.6

2007-02-20 Thread Christophe Boyanique
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: -

Re: Squid-ICAP 2.6

2007-02-20 Thread Christophe Boyanique
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.

Re: Squid-ICAP 2.6

2007-02-20 Thread Jeremy Lardon
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

Re: Squid-ICAP 2.6

2007-02-20 Thread Tsantilas Christos
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

Re: Squid-ICAP problem (bug?)

2006-12-04 Thread Tsantilas Christos
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

Re: Squid-ICAP problem (bug?)

2006-12-03 Thread Christophe Boyanique
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

Re: Squid-ICAP problem (bug?)

2006-12-03 Thread Christophe Boyanique
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) {

Re: Squid-ICAP problem (bug?)

2006-11-15 Thread Tsantilas Christos
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

Re: Squid-ICAP problem (bug?)

2006-11-14 Thread Christophe Boyanique
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

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Henrik Nordstrom
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,

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Christophe Boyanique
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

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Tsantilas Christos
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

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Adrian Chadd
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

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Henrik Nordstrom
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

Re: Squid-ICAP problem (bug?)

2006-11-09 Thread Tsantilas Christos
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

Squid-ICAP problem (bug?)

2006-11-08 Thread Christophe Boyanique
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

2 fixes for the squid icap implementation

2006-06-15 Thread Graeme Bisset
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

Re: 2 fixes for the squid icap implementation

2006-06-15 Thread Tsantilas Christos
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

context data for squid ICAP patched

2006-05-31 Thread Moshe Beeri
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

context data for squid ICAP patched

2006-05-29 Thread Moshe Beeri
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

Re: context data for squid ICAP patched

2006-05-29 Thread Tsantilas Christos
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

RE: context data for squid ICAP patched

2006-05-29 Thread Moshe Beeri
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

RE: context data for squid ICAP patched

2006-05-29 Thread Tsantilas Christos
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

Re: Squid-ICAP

2005-09-15 Thread Alex Rousskov
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

Volunteering for squid-icap development

2005-06-18 Thread Jeff Silver
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

Re: Squid/icap 2.5 CVS

2005-05-17 Thread olivier
-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

Re: Squid/icap 2.5 CVS

2005-05-17 Thread Henrik Nordstrom
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

Re: Squid/icap 2.5 CVS

2005-05-17 Thread Tsantilas Christos
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

Re: Squid/icap 2.5 CVS

2005-05-16 Thread Tsantilas Christos
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

Re: squid-icap crash...

2005-04-07 Thread Mateus Gröess
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

Re: squid-icap crash...

2005-04-07 Thread Tsantilas Christos
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

squid-icap crash...

2005-04-05 Thread Tsantilas Christos
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

Re: squid ICAP developer

2005-03-03 Thread Henrik Nordstrom
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

Squid ICAP client possibly bugs and corrections......

2004-06-28 Thread Christos Tsantilas
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

Re: Fwd: Squid ICAP client problems

2003-06-23 Thread Geetha Manjunath
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.

Christian Kunst - Squid iCAP Client

2003-06-02 Thread Christian Kunst
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.