Re: [squid-users] Squid 4.2 : caching is not working

2018-09-10 Thread Hariharan Sethuraman
Many thanks Alex, option 2 could work. Will check on security aspects. Thanks again to everyone. On Mon, 10 Sep 2018, 21:11 Alex Rousskov, wrote: > On 09/10/2018 09:03 AM, Hariharan Sethuraman wrote: > > > 1) ok, the client does a GET / with authorization header. So I > > c

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-10 Thread Hariharan Sethuraman
It requires Auth for download. Thanks, I will find out a way. On Mon, 10 Sep 2018, 20:56 Amos Jeffries, wrote: > On 11/09/18 3:03 AM, Hariharan Sethuraman wrote: > > Thanks a lot Amos. > > > > 1) ok, the client does a GET / with authorization header. So I > > cant

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-10 Thread Hariharan Sethuraman
, Sep 10, 2018 at 8:21 PM Amos Jeffries wrote: > On 11/09/18 2:27 AM, Hariharan Sethuraman wrote: > > > > On Mon, 10 Sep 2018, 19:46 Amos Jeffries wrote: > > > > On 11/09/18 12:18 AM, Hariharan Sethuraman wrote: > > > > > > 2) With mor

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-10 Thread Hariharan Sethuraman
Also can I achieve using reply_header_replace directive? I know it is violation, just to understand the available options. On Mon, 10 Sep 2018, 19:57 Hariharan Sethuraman, wrote: > > > On Mon, 10 Sep 2018, 19:46 Amos Jeffries, wrote: > >> On 11/09/18 12:18 AM, Harihara

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-10 Thread Hariharan Sethuraman
On Mon, 10 Sep 2018, 19:46 Amos Jeffries, wrote: > On 11/09/18 12:18 AM, Hariharan Sethuraman wrote: > > Hi All, > > > > I have two things to clarify: > > 1) In earlier email (snipped below), Amos told that is caching and > > scheduled to download > > Thats

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-10 Thread Hariharan Sethuraman
hare because authenticated and server reply missing Cache-Control; HTTP status 206 e:=p2XIV/0x 2018/09/10 09:57:24.865| ctx: exit level 0 On Sat, Sep 8, 2018 at 8:13 PM Hariharan Sethuraman wrote: > But the partial data is been continuously sending back to client. Squid > didn't wait

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-08 Thread Hariharan Sethuraman
But the partial data is been continuously sending back to client. Squid didn't wait for the complete file to download On Sat, 8 Sep 2018, 20:08 Amos Jeffries, wrote: > On 8/09/18 7:44 PM, Hariharan Sethuraman wrote: > > And here is my HTTP request and reply: > > 1. HEAD r

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-07 Thread Hariharan Sethuraman
refs Swap Dir -1, File 0X GET https://example.com/DhAskLOUpvRG2oeR_f_FxYTyLVHIN5esRF-LXOUKwkwyT0TOf6xO-AUm3KaM inmem_lo: 99225582 inmem_hi: 99324372 swapout: 0 bytes queued On Sat, Sep 8, 2018 at 9:44 AM Hariharan Sethuraman wrote: > Hi, >

Re: [squid-users] Squid 4.2 : caching is not working

2018-09-07 Thread Hariharan Sethuraman
onse allows all caches to store it. - This response allows a cache to assign its own freshness lifetime. Thanks, Hari On Fri, Sep 7, 2018 at 11:01 PM Amos Jeffries wrote: > On 8/09/18 4:46 AM, Hariharan Sethuraman wrote: > > Hi team, > > > > I have created directories

[squid-users] Squid 4.2 : caching is not working

2018-09-07 Thread Hariharan Sethuraman
Hi team, I have created directories using squid -z and then triggered squid -f /etc/squid/squid.conf -NYCd 1. Find (1) debug info below. And below (2) are the cache directory and squid-config. (1) - debug info: squidclient -h localhost cache_object://localhost/ mgr:objects >>> this was showing th

[squid-users] avocent protocol support in squid

2018-09-04 Thread Hariharan Sethuraman
Hi, Wanted to know if we support avocent protocol in squid - if yes, which directive we should check? Couldnt get much details from google. Thanks, Hari ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo

[squid-users] SSL reverse proxy cert error

2018-09-04 Thread Hariharan Sethuraman
Hi All, I have my https_port 443 in reverse proxy. When client sends a GET request, the rewrite correctly rewrites the URL and that rewritten GET request fails with below error. 2018/09/05 03:03:38| Error negotiating SSL on FD 15: error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify fail

[squid-users] Cache_peer login password encryption

2018-08-27 Thread Hariharan Sethuraman
Hi, How do I encrypt the password in squid.conf in cache_peer config? Thanks, Hari ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
, Aug 8, 2018 at 9:55 AM, Hariharan Sethuraman wrote: > > The traffic types have different syntax. It is possible to have a parent > > proxy which receives both, but that has to be different ports and > > different cache_peer links between them. > > As I said in same cache_pe

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
ginserver option) and reverse (with origin server option) works. For now, I will go with two squid instances one instance for forward and other for reverse till I get an answer. On Wed, Aug 8, 2018 at 6:07 AM, Hariharan Sethuraman wrote: > Yes correct, the parent Proxy is a forward, but the squid

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
Yes correct, the parent Proxy is a forward, but the squid will have to do both from client aspect. Can I run two instances of squid - forward and reverse separately considering my configuration is good enough? On Tue, 7 Aug 2018, 22:00 Amos Jeffries, wrote: > On 08/08/18 04:01, Hariha

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
wrote: > On 08/08/18 01:04, Hariharan Sethuraman wrote: > > Hi, > > > > We have our company proxy and this is how the topology is expected to > > look like for the deployment: > > > > Client > > ---squid-host.com--- &g

[squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
Hi, We have our company proxy and this is how the topology is expected to look like for the deployment: Client ---squid-host.com---company-proxyInternet Now I need to allow reverse proxy(3128) for some request from the client and tunnel (3129)

Re: [squid-users] Squid drops authorization header before forwarding

2018-08-06 Thread Hariharan Sethuraman
I found that login=PASS in cache_peer directive helped. Thanks, Hari On Mon, Aug 6, 2018 at 11:29 PM, Hariharan Sethuraman wrote: > I tried allow_direct as well as defaultsite under accel. > Wondering if I should recompile squid with enable-http-violation and use >

Re: [squid-users] Squid drops authorization header before forwarding

2018-08-06 Thread Hariharan Sethuraman
I tried allow_direct as well as defaultsite under accel. Wondering if I should recompile squid with enable-http-violation and use below ACL / request_header_access Authorization deny all On Mon, Aug 6, 2018 at 11:23 PM, Matus UHLAR - fantomas wrote: > On 06.08.18 23:14, Hariharan Sethura

[squid-users] Squid drops authorization header before forwarding

2018-08-06 Thread Hariharan Sethuraman
Hi, I have my squid as reverse proxy (without any auth) between my client and a web server. My HTTP request from client has an Authorization in its HTTP header which I wanted it to be forwarded to target server. But from cache.log I see squid is dropping before sending it to my web server, could