Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-24 Thread Alex Rousskov
On 07/24/2015 05:26 AM, Amos Jeffries wrote: I think you still misunderstand the OppSec RFC meanings. Ditto. Since SSL support first went into Squid back in 1998 we have allowed cache_peer to connect to a remote https_port and sent http:// traffic over it. Using the above as a sub-case of

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-24 Thread Amos Jeffries
On 25/07/2015 3:28 a.m., Alex Rousskov wrote: On 07/24/2015 05:26 AM, Amos Jeffries wrote: I think you still misunderstand the OppSec RFC meanings. Ditto. Since SSL support first went into Squid back in 1998 we have allowed cache_peer to connect to a remote https_port and sent http://

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-23 Thread Amos Jeffries
On 23/07/2015 3:32 a.m., Alex Rousskov wrote: On 07/21/2015 04:25 AM, Amos Jeffries wrote: On 21/07/2015 9:42 a.m., Alex Rousskov wrote: adaptation_access icapS aclIcap adaptation_access icapN !aclIcap aclIcap can be a received_encrypted ACL. What ACL expression would you suggest for

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-23 Thread Alex Rousskov
On 07/23/2015 01:41 PM, Tsantilas Christos wrote: On 07/23/2015 07:21 PM, Alex Rousskov wrote: Furthermore, the values of unsafe srcX enum constants should be increased to actually match the srcUnsafe mask (16 is still smaller than 0x). This is should be OK. The safe flags are from:

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-23 Thread Alex Rousskov
On 07/23/2015 07:41 AM, Amos Jeffries wrote: On 23/07/2015 3:32 a.m., Alex Rousskov wrote: On 07/21/2015 04:25 AM, Amos Jeffries wrote: On 21/07/2015 9:42 a.m., Alex Rousskov wrote: adaptation_access icapS aclIcap adaptation_access icapN !aclIcap aclIcap can be a received_encrypted ACL.

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-21 Thread Tsantilas Christos
On 07/21/2015 01:25 PM, Amos Jeffries wrote: No. Christos wrote this: NOTE: Currently there is not any mechanism to indicate if a cached object came from secure source or not, so we assume that all hits for secure requests are secure too. The cache hits rely on the request markings to

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-21 Thread Amos Jeffries
On 21/07/2015 9:42 a.m., Alex Rousskov wrote: On 07/20/2015 01:45 PM, Amos Jeffries wrote: On 21/07/2015 6:48 a.m., Alex Rousskov wrote: On 07/20/2015 09:27 AM, Kinkie wrote: So in my opinion the easiest way to move the discussion forward is to: 1. find one use-case which cannot be covered

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-20 Thread Kinkie
Hi, sorry for butting in but I am a bit confused by this discussion, as it seems to be straying from the technical merit; this is my attempt at getting back to the core of the topic. Amos claims that its stated objective can be achieved by other, already-existing, features, and that it this

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-19 Thread Amos Jeffries
On 18/07/2015 7:08 a.m., Alex Rousskov wrote: On 07/17/2015 11:48 AM, Amos Jeffries wrote: On 18/07/2015 3:13 a.m., Tsantilas Christos wrote: This patch adds received_encrypted ACL The new received_encrypted ACL matches transactions where all HTTP messages were received over TLS or SSL

Re: [squid-dev] [PATCH] received_encrypted ACL

2015-07-19 Thread Alex Rousskov
On 07/19/2015 05:35 AM, Amos Jeffries wrote: On 18/07/2015 7:08 a.m., Alex Rousskov wrote: On 07/17/2015 11:48 AM, Amos Jeffries wrote: On 18/07/2015 3:13 a.m., Tsantilas Christos wrote: This patch adds received_encrypted ACL The new received_encrypted ACL matches transactions where all HTTP

[squid-dev] [PATCH] received_encrypted ACL

2015-07-17 Thread Tsantilas Christos
This patch adds received_encrypted ACL The new received_encrypted ACL matches transactions where all HTTP messages were received over TLS or SSL transport connections, including messages received from ICAP servers. Some eCAP services receive data from unencrypted sources. Some eCAP services