Re: PRE4 update

2006-05-31 Thread Doug Dixon

Hi

Although 2.6 has been making the headlines recently (nice work), 3.0  
is still ticking along.


We're still at 7 open bugs, but that's mainly because the commit  
queue needs some attention:


   * Two patches to 3.0 have been submitted and need applying  
(thanks Gonzalo)

   * Three patches to 2.5 need forward porting to 3.0

This then leaves 1125 and 1465.

Duane is looking at 1465, and I'll have a look at 1125 (although with  
so many duplicated bugs it's staring to look like a bit of a graveyard)


So... it's not looking too bad for releasing on 10/11 June - as long  
as we can the bulk of these commits done well in time.


Cheers
Doug


On 14 May 2006, at 18:14, Doug Dixon wrote:

Just to remind you, we're aiming to release Squid-3.0.PRE4 on 10/11  
June - four weeks from now.


The good news so far is that we're down from 9 to 7 bugs, as Henrik  
fixed one, and another was found to be its duplicate. I'm claiming  
an assist because I asked enough stupid questions to make Henrik  
fix the bug just to shut me up :)


Of the remaining 7 bugs, two were already assigned to Rob and the  
rest are unassigned.


ID   Sev Pri Plt AssigneeStatus  Resolution 
 Summary
1125 	cri 	P2 	Oth 	[EMAIL PROTECTED] 	NEW 		memCopy: could  
not find start of [337,4433)
772 	blo 	P2 	All 	[EMAIL PROTECTED] 	NEW 		POST not  
handled correctly on errors (auth etc)
1089 	cri 	P2 	Oth 	[EMAIL PROTECTED] 	NEW 		Possible  
instability on aborted POST/PUT requests
1355 	blo 	P2 	PC 	[EMAIL PROTECTED] 	NEW 		segmentation  
fault in sslConnectTimeout
1465 	cri 	P2 	PC 	[EMAIL PROTECTED] 	NEW 		assertion  
failed: mem_node.cc:65: n-write_pending
1468 	cri 	P2 	PC 	[EMAIL PROTECTED] 	NEW 		Crash on  
HttpHdrRange.cc line 568: assertion failed on ...
624 	blo 	P2 	PC 	[EMAIL PROTECTED] 	ASSI 		assertion failed:  
stmem.cc:270: 0 (mem_hdr::debugDump:...



Quite a few of these bugs appear to be most appropriately  
assignable to either Henrik or Rob because of previous involvement  
(and in some cases fixes against 2.5) for the bug in question.


However, I'm aware this may be too much work for them in the  
timeframe we've given ourselves. Henrik, Rob - how do you feel  
about your workloads/available time?


To help get a better idea of the manpower the PRE4 effort has at  
its disposal, could each member of this list who is has time to  
work on fixes for PRE4 in the next 4 weeks please reply saying  
roughly how much time they can spare, and if possible volunteer to  
help with one or more of the above bugs? (Personally, I've got  
about 5 hours a week and I'm initially going to look at bug 1468.)


Again, if you feel the above bugs are too much of a commitment, but  
you still want to contribute to PRE4, that's great. If you submit  
any fixes for smaller bugs in the next 2-3 weeks, those fixes will  
be in PRE4 - and it will be better as a result. Just assign bugs to  
yourself so everyone knows you're working on them, and go for it.


Thanks
Doug




context data for squid ICAP patched

2006-05-31 Thread Moshe Beeri
Hi all squiders,

I found the right way to implement the content filter extention to
squid.
I will continue the implementation and will send it to our QA Team,
I hope the whole squid community will use this extention to squids ICAP
capabilities.

Best regards,

Moshe Beeri.
Software Engineer, Server Team.
[EMAIL PROTECTED]
Petach-Tiqva Bazel 16, Israel.
Tel: +972 (3) 928-0400 ext. 429
Fax: +972 (3) 921-7594

 
 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 - 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 :-( 2.  Performance - Redundant call since I already 
 know that request is allowed.
 
 There for I would like to keep in squids session data the 
 classification and upon to the classification prior to 
 response-mod call.
 
 For now I have figured out that the best place to set the 
 data between the req-mod and resp-mod if in the fde 
 structure, but since squid saves that object in fd_table 
 (hash?) keyed by ICAP FD there is no continuity with the HTTP FD.
 I realized that I need to look for the mechanism that changes 
 the next handler (hdl) that switch FD to read from, is the 
 KEY to set up the fde related to the HTTP response, with the 
 classification information.
 In squid ICAP client implementation there is no connection 
 between the FD sets, ICAP's and HTTP's.
 
 
 Again 10X for reading and good will,
 I hope there is a short cut out there,
 If someone has an implementation suggestion or realizes I am 
 missing something please write me.
 
 
 
  
  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 classifies the request:
 a) In the case of the BLOCK ICAP server creates a http response 
  saying
to the web client that the request blocked
 b) In the case of UNKNOWN ICAP server does nothing
 c) In the case of ALLOW ICAP server adds a proprietary 
 http header
to the http request for example X-MY-SCANNER: Allow
  
  2) When squid has the http response then sends a respmod request to 
  the
 ICAP server. The respmod request contains the http response
 headers AND the http request headers.
   a) When ICAP server founds the X-MY-SCANNER: Allow header
  in http request headers it responds with an 
 allow204 response 
  to
  squid
   b)The X-MY-SCANNER: Allow is not in the http request headers
 so the ICAP server takes the http body from squid 
 and check it 
  or
 modify it or what else.
  
  
  An other solutions is to use only the respmod request 
 because here you 
  have both the http request headers and the http response.
  
   The Question:
  
   I would like to pass the information that, no call to 
 response mode 
   (call the ICAP Server for the response) is needed.
   ...
  
  I am not sure that I fully understand your question, but I 
 think that 
  this functionality can not included in a general ICAP 
 client of squid.
  But maybe I am loosing something here.
  
  Regards,
 Christos
  
   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 and 
   defines a return value at the request mod stage.
   I receive the value that can be one of the following:
   ALLOW,
   BLOCK,
   UNKNOWN
  
  
   ..
  
  
  
  
  
  


Re: 2.6.PRE1 is out the door

2006-05-31 Thread Henrik Nordstrom
ons 2006-05-31 klockan 09:57 -0700 skrev Jason Titus:
 I would love to but don't think have the time (or perhaps even the  
 skills) to switch it over.

Well, for it to happen someone needs to find the time... and I know my
Squid-2 features time is depleted for some time needing to focus on
Squid-3 and my business again.

I honestly do not think it's a difficult task if you have used libevent
a bit.

  Having used memcached a fair amount it  
 just seems like libevent performs very well and makes it much easier  
 to manage all the various event systems.

Agreed. Once you have the libevent interface going you immediately gain
support for the event systems supported by libevent now and future..

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel