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 to the
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 th
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
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 ST
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 s
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.
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:
-
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
200
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 Christophe,
Maybe I was not clear on my last mail. Sorry.
Christophe Boyanique wrote:
>
>
> in icapReqModReadHttpBody function replacing the test
>
> if (icap->reqmod.http_entity.bytes_read >= icap->request->content_length)
>
> by
>
> if (icap->chunk_size < 0)
OK this is needed.
But i
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
Hi Christophe,
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
icap->flags.reqmod_http_e
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
Christ
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
On Wed, 2006-11-08 at 16:26 +0100, Christophe Boyanique wrote:
> I think I have found a bug in the Squid-ICAP patch and I would like to
> have your opinion about it.
...
> The problem is that the end of the chunk (0\r\n\r\n) is not sent (and
> read) in the same stream that the begi
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:
>
>> +
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
ize < 0 )
+ icap->flags.reqmod_http_entity_eof = 1;
It must marks the http_entity_eof when it has read the "0\r\n\r\n" chunk.
Works for me but i did not test it enough
Regards,
Christos
Christophe Boyanique wrote:
Hello,
I think I have found a bug in the Squid-ICAP patch and I
tor 2006-11-09 klockan 12:39 +0100 skrev Christophe Boyanique:
> > eof in ICAP is that 0 chunk... so something is not right here in the
> > ICAP patch.
>
> The problem is that this 0\r\n arrives after the first read of the 27
> first bytes.
Which should not be a problem in therms of ICAP. It's
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
ead the "0\r\n\r\n" chunk.
Works for me but I did 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 tr
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
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,
>
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 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.
The
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
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 - Origin sever might change the replied
> http header and add the "X-MY-SCANNER: Allow" it self,
>
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
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,
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:
a) In
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,
Could someone add the 3 attached patches to the squid icap client?
Here's a description of what they fix...
closebeforesendfix.patch
I noticed that sometimes requests to the site http://www.retail-week.com
would fail to load a certain component and the page wou
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 develo
Hi,
does the ICAP team plan to implement load balancing for v3?
If yes, will it only be round-robin or a different protocol?//
Thanks.
Ghislain.
Duane Wessels a écrit :
On Tue, 13 Sep 2005, Ghislain Garcon wrote:
Hello,
I'm interrested in the ICAP patch for SQUID-Cache and I wo
On Tue, 13 Sep 2005, Ghislain Garcon wrote:
Hello,
I'm interrested in the ICAP patch for SQUID-Cache and I would like to know
if the developpement for squid 3.x will start. What kind of help will be the
more needed?
Hi Ghislain,
I am working on ICAP for Squid-3. The code is in the so
Hello,
I'm interrested in the ICAP patch for SQUID-Cache and I would like
to know if the developpement for squid 3.x will start. What kind of help
will be the more needed?
Regards,
Ghislain Garçon.
[EMAIL PROTECTED]
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 Nordström (the
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 consi
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 )
-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-loca
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
On Mon, 16 May 2005, Henrik Nordstrom wrote:
On Mon, 16 May 2005, olivier wrote:
gcc -DHAVE_CONFIG_H
- -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
- -I../include -I. -I. -I../include -I../include-g -O2 -Wall -c `test
- -f dns_internal.c || echo './'`dns_internal.c
dns_in
On Mon, 16 May 2005, olivier wrote:
gcc -DHAVE_CONFIG_H
- -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
- -I../include -I. -I. -I../include -I../include-g -O2 -Wall -c `test
- -f dns_internal.c || echo './'`dns_internal.c
dns_internal.c:58: error: syntax error before "rfc10
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have troubles compiling the latest CVS of icap/2.5, do you have it also ?
gcc -DHAVE_CONFIG_H
- -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
- -I../include -I. -I. -I../include -I../include-g -O2 -Wall -c `test
- -f
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
i386-slac
n operation.
> It does 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 mes
og 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: "cbdataVa
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 w
Hello all,
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.
Thanks,
Christos
-- Forwarded message --
Date: Mon, 04 Oct 2004 17:06:44 +0200
From: Stephane DAVY <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [squid-users] Patch for load-balancing et HA in Squid-ICAP client
Hello,
please find below a message posted on the squid-icapClient ML. Ac
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
Hi,
I've been lately coding an ICAP server for my company,
and would be interested in following Squid's ICAP client
developments, and/or to submit patchs in that area.
Best regards,
/olivier
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.
mån 2003-06-23 klockan 14.17 skrev Geetha Manjunath:
> Yes, you are right here - but this case would probably show up only with
> buggy ICAP servers that do not end ICAP headers with \r\n\r\n . The rest
> of code catches this error. Actually it signals an HTTP internal error
> rather than the sugg
Thanks for forwarding this, Henrik.
Hello Larry,
Sorry for this delayed reply..
> -Original Message-
> From: Rosenbaum, Larry M.
.
>
> 1) (icap.c) There is a problem with the way icapRespModReadReply()
> tries to read the ICAP header without reading past the header. The
>
On Tuesday 10 June 2003 11.37, ralf wrote:
> I think the real problem is that some pointers are not reset
> properly. Here is a patch:
>
> diff -u -r1.38.6.11.2.2 cache_cf.c
> --- cache_cf.c 7 Apr 2003 13:28:50 - 1.38.6.11.2.2
> +++ cache_cf.c 10 Jun 2003 09:03:00 -
> @@ -2145,6 +2
Hello Henrik,
on Mon, 09 Jun 2003, Henrik Nordstrom wrote:
> -Original Message-
> From: Rosenbaum, Larry M.
> Sent: Thursday, June 05, 2003 12:57 PM
> To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: Squid ICAP client problems
[...]
>
-- Forwarded Message --
Subject: FW: Squid ICAP client problems
Date: Mon, 09 Jun 2003 14:35:27 -0400
From: "Rosenbaum, Larry M." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Could you please forward this to the Squid ICAP developers, or tell
me whom to contact
tis 2003-06-03 klockan 17.12 skrev Christian Kunst:
> I sent my request for subscription to the squid-dev mailinglist.
To subscribe you need to send a message to
[EMAIL PROTECTED] If you have already sent such
message please send it again as it seems it may have been lost.
See http://www.squid-c
mån 2003-06-02 klockan 13.54 skrev Christian Kunst:
> 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.
Hi Cristian,
The next steps to becom
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.
62 matches
Mail list logo