Re: [squid-users] Question about traffic calculate

2018-06-05 Thread Amos Jeffries
On 06/06/18 07:12, Tiraen wrote: > /The second transaction has not yet reached that state despite 81017sec > having past. > / > Thank you for clarification. > > About squid version > > /squid -v/ > /Squid Cache: Version 3.5.27/ ... If you are using SSL-Bump features, please consider Squid-4 inst

Re: [squid-users] Question about traffic calculate

2018-06-05 Thread Tiraen
*The second transaction has not yet reached that state despite 81017sechaving past. * Thank you for clarification. About squid version *squid -v* *Squid Cache: Version 3.5.27* *Service Name: squid* *configure options: '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/include' '--mandir=/

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread Alex Rousskov
On 06/05/2018 09:48 AM, chgerber wrote: >> logformat myLog ... adapter-decision=%{my-ecap-header}note ... >> access_log ... myLog .. > > I tried this but it didn't work as it does with > "%{my-ecap-header}adapt:: I am not sure if "my-ecap-header" is a > really a header as I called it as I hand i

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread Alex Rousskov
On 06/05/2018 04:51 AM, Amos Jeffries wrote: > The adaptor API purpose is to alter HTTP messages as they travel through > the proxy, not to be a substitute for access control logic already > available in the proxy. This statement is incorrect for legitimate use cases where the required access con

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread chgerber
> logformat myLog ... adapter-decision=%{my-ecap-header}note ... > access_log ... myLog .. I tried this but it didn't work as it does with "%{my-ecap-header}adapt::http://www.squid-cache.org/Versions/v3/3.5/cfgman/logformat.html -- Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.c

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread Alex Rousskov
On 06/05/2018 05:29 AM, chgerber wrote: > can you tell me how you > would solve the following requirement with squid and without eCAP/ICAP: > Parse the body of all requests with a non-empty body and block all requests > containing a certain string "foo". You cannot satisfy the above requirement

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread Alex Rousskov
On 06/05/2018 03:27 AM, chgerber wrote: > "It is best to use %note logformat %code for logging annotations. > The %adapt:: to work around the current ICAP code lack of support for annotations)." > How exactly can I use %note to log the same information to access.log? For > example assume I use "

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread chgerber
Does that mean it is possible to apply ACL to headers/notes after ecap processing or not? I agree with your efficiency considerations but can you tell me how you would solve the following requirement with squid and without eCAP/ICAP: Parse the body of all requests with a non-empty body and block

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread Amos Jeffries
On 05/06/18 21:27, chgerber wrote: > "It is best to use %note logformat %code for logging annotations. > The %adapt:: to work around the current ICAP code lack of support for annotations)." > > How exactly can I use %note to log the same information to access.log? For > example assume I use "%{m

Re: [squid-users] Connection Timeouts

2018-06-05 Thread Eliezer Croitoru
Sorry the auto words correction changed every single "systemd" to "system" in the body of my email. I like auto correction but: really??? Ho, I get it.. it's a manual system so I need to add Systemd to the dictionary. I hope this makes more sense to the body of the email. Eliezer Eliezer C

Re: [squid-users] Connection Timeouts

2018-06-05 Thread Eliezer Croitoru
Hey Edward, I have just seen the AWS Linux container and it seems that they do not use system but they do have updates. I do not know where did you downloaded the el6 3.5.27 package but their official current release is: 3.5.20-10.34.amzn1 Their squid -v output: bash-4.2# squid -v Squid Cache:

Re: [squid-users] Display eCAP meta-information on Squid error-page

2018-06-05 Thread chgerber
"It is best to use %note logformat %code for logging annotations. The %adapt::http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinf