Re: [squid-users] extract http headers from CONNECT / bumped ssl?

2017-08-25 Thread Amos Jeffries
On 26/08/17 09:42, Alex Rousskov wrote: On 08/25/2017 10:37 AM, Aaron Turner wrote: Followup: I tried %{My-Custom-Client-Id}>h with 3.5.26 and squid errors out. Looking at the 3.5.x docs (http://www.squid-cache.org/Versions/v3/3.5/cfgman/external_acl_type.html), nothing there indicates it suppo

Re: [squid-users] Squid Reverse Proxy and WebDAV caching

2017-08-25 Thread Amos Jeffries
On 26/08/17 00:49, Olivier MARCHETTA wrote: Hello, Finally Squid is caching my SharePoint online documents. But it doesn't work yet. If I enable offline mode, the WebDAV client will not be able to download documents from the cache. That directive was designed for HTTP/1.0 behaviours and only

Re: [squid-users] FATAL: shm_open(/squid-ssl_session_cache.shm)

2017-08-25 Thread Alex Rousskov
On 08/25/2017 11:21 AM, Aaron Turner wrote: > FATAL: Ipc::Mem::Segment::open failed to > shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory > I've verified that /dev/shm is mounted and based on the list of files > in there, clearly squid is able to create files there, so it's no

Re: [squid-users] extract http headers from CONNECT / bumped ssl?

2017-08-25 Thread Alex Rousskov
On 08/25/2017 10:37 AM, Aaron Turner wrote: > Followup: I tried %{My-Custom-Client-Id}>h with 3.5.26 and squid > errors out. Looking at the 3.5.x docs > (http://www.squid-cache.org/Versions/v3/3.5/cfgman/external_acl_type.html), > nothing there indicates it supports the logformat method? Looks li

[squid-users] FATAL: shm_open(/squid-ssl_session_cache.shm)

2017-08-25 Thread Aaron Turner
So I'm trying to setup a config much like the one documented here for squid v3.5.26: https://wiki.squid-cache.org/ConfigExamples/SmpCarpCluster The frontend which is bumping the ssl connections however is throwing the error: 2017/08/25 17:11:40 kid1| Set Current Directory to /var/spool/squid 2017

Re: [squid-users] extract http headers from CONNECT / bumped ssl?

2017-08-25 Thread Aaron Turner
Followup: I tried %{My-Custom-Client-Id}>h with 3.5.26 and squid errors out. Looking at the 3.5.x docs (http://www.squid-cache.org/Versions/v3/3.5/cfgman/external_acl_type.html), nothing there indicates it supports the logformat method? Looks like that's a 4.0+ feature? -- Aaron Turner https://sy

Re: [squid-users] Squid reverse-proxy. How it decides when to refresh?

2017-08-25 Thread Amos Jeffries
On 26/08/17 00:37, Alexander Lazarev wrote: Hello guys! I'm using squid as a reverse-proxy. And I can't understand how squid decides when to check for fresh version of file from origin server. It looks like for some documents it sends 'If-Modified-Since' or similar headers and if it gets 304, i

Re: [squid-users] extract http headers from CONNECT / bumped ssl?

2017-08-25 Thread Aaron Turner
Fyi, the 3.5.x docs is where I learned that format: http://www.squid-cache.org/Versions/v3/3.5/cfgman/external_acl_type.html -- Aaron Turner https://synfin.net/ Twitter: @synfinatic My father once told me that respect for the truth comes close to being the basis for all morality. "Somet

Re: [squid-users] Squid Reverse Proxy and WebDAV caching

2017-08-25 Thread Olivier MARCHETTA
Hello, Finally Squid is caching my SharePoint online documents. But it doesn't work yet. If I enable offline mode, the WebDAV client will not be able to download documents from the cache. And I will see the following errors in the log: ---

[squid-users] Squid reverse-proxy. How it decides when to refresh?

2017-08-25 Thread Alexander Lazarev
Hello guys! I'm using squid as a reverse-proxy. And I can't understand how squid decides when to check for fresh version of file from origin server. It looks like for some documents it sends 'If-Modified-Since' or similar headers and if it gets 304, it serves file from cache. And for some documents

Re: [squid-users] squid stops replying

2017-08-25 Thread Amos Jeffries
On 25/08/17 20:34, Vieri wrote: From: Amos Jeffries At ALL,9 that is a sign of major trouble. The log data is not going where it should be. Please check your squid.conf that it is not sending cache_log directive to /dev/null, a pipe or something. I do not de

Re: [squid-users] Squid Reverse Proxy and WebDAV caching

2017-08-25 Thread Amos Jeffries
On 25/08/17 20:18, Olivier MARCHETTA wrote: Hello Amos, Thank you for your help. I have probably misconfigured the refresh_pattern in my config file. Below more information. My squid conf file: - http_port 10.10.10.10:3128 Yo

Re: [squid-users] Block WebRTC Leak using Squid

2017-08-25 Thread Amos Jeffries
On 25/08/17 14:00, Sekar Duraisamy wrote: Thanks Amos, Can i use the above configuration even though I am using tcp_outgoing_address in the squid conf? I want to make visible only tcp_outgoing_address only visible to outside and not real client IP. The second set of directives to hide the cli

Re: [squid-users] extract http headers from CONNECT / bumped ssl?

2017-08-25 Thread Amos Jeffries
On 25/08/17 15:37, Alex Rousskov wrote: On 08/24/2017 06:31 PM, Aaron Turner wrote: Actually, looks like I was misunderstanding the access.log, it was working: 1503620688.280 0 10.93.3.85 TAG_NONE/200 0 CONNECT synfin.net:443 - HIER_NONE/- - ip_index=0,client=- 1503620689.241947 10.93

Re: [squid-users] squid stops replying

2017-08-25 Thread Vieri
From: Amos Jeffries > > At ALL,9 that is a sign of major trouble. The log data is not going > where it should be. Please check your squid.conf that it is not sending > cache_log directive to /dev/null, a pipe or something. I do not define cache_log, so it should

Re: [squid-users] Squid Reverse Proxy and WebDAV caching

2017-08-25 Thread Olivier MARCHETTA
Hello Amos, Thank you for your help. I have probably misconfigured the refresh_pattern in my config file. Below more information. My squid conf file: - http_port 10.10.10.10:3128 icp_port 0 digest_generation off dns_v4_first on p