Re: [squid-users] blockVirgin Works for CONNECT but Custom Response does not work

2014-10-12 Thread Jatin Bhasin
Hi Alex, I think I have found the reason that why the annotation from eCap adapter NOT being passed to NoteData.cc. But I still need your suggestion to fix this. So here is my analysis: 1) In src/acl/NoteData.cc function ACLNoteData::match(HttpRequest *request) if (request->notes != NULL &&

Re: [squid-users] blockVirgin Works for CONNECT but Custom Response does not work

2014-10-10 Thread Jatin Bhasin
Hi Alex, I changed my ACL's a bit to see annotations in access.log file. My web browser is point to squid port 3127. So squid.conf is as below: (first two lines are for note logging as you suggested.) - logformat with_note %ts.%03tu %6tr %>a %Ss/%03>Hs

Re: [squid-users] blockVirgin Works for CONNECT but Custom Response does not work

2014-10-10 Thread Alex Rousskov
On 10/09/2014 11:57 PM, Jatin Bhasin wrote: > adaptation_masterx_shared_names X-Virus-ID > acl toBump note X-Virus-ID yes > ssl_bump client-first toBump OK. > My eCap adapter functions which returns yes for the X-Virus-ID are: > =

Re: [squid-users] blockVirgin Works for CONNECT but Custom Response does not work

2014-10-10 Thread Jatin Bhasin
Hi Alex, Looking at cache.log I see that X-Virus-ID is set to yes but the eCap adapter functions. But I do not know that how it will be picked up note acl. Please suggest. 2014/10/10 22:50:55.341 kid1| HttpHeader.cc(1272) putExt: 0x7fff1d656f80 adds ext entry X-Virus-ID : yes 2014/10/10 22:50:55

Re: [squid-users] blockVirgin Works for CONNECT but Custom Response does not work

2014-10-09 Thread Jatin Bhasin
Hi Alex, I used the annotation mechanism as you had suggested. My squid configuration files looks as below: (For now I am using X-Virus-ID to see if the concept works for my case) adaptation_masterx_shared_names X-Virus-ID acl toBump note X-Virus-ID yes ssl_bump client-first toBump My eCap adap