Re: [squid-users] squid and hosts_file on ipv6 not working fine

2017-09-19 Thread Amos Jeffries
On 20/09/17 03:54, Ahmed Alzaeem wrote: access .log point to other address : 1505824835.364 69 12.13.207.211 TCP_TUNNEL/200 78573 CONNECT www.google.com:443 - HIER_DIRECT/2404:6800:4009:802::2004 - from linux terminal i can reach goole from : 2607:f8b0:4006:810::200e google.com but i

Re: [squid-users] squid and hosts_file on ipv6 not working fine

2017-09-19 Thread Amos Jeffries
On 19/09/17 23:47, --Ahmad-- wrote: hello folks sometimes i need to change domains for cetian ipv6 website i use the directive hosts_file /etc/hosts and in side it i have : [root@server ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-19 Thread Amos Jeffries
On 20/09/17 02:00, kAja Ziegler wrote: Hi all,   I want to ask why my Squid does not cache redirects 301, 302 and 307. See anomised example below. Even if I call the URL more times or I open it in the browser, I always get MISS independently of the return code 301, 302 or 307. 302 and 307

Re: [squid-users] very slow squid response

2017-09-19 Thread Amos Jeffries
On 19/09/17 23:54, Iraj Norouzi wrote: hi Antony thanks for you reply i setup squid on ubuntu and centos Why both? because of test and because i not get the result with tproxy and wccp for 6 gb/s traffic What hardware are you using for that sort of traffic flow? i use hp DL360 with 2 6 cor

Re: [squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-19 Thread Eliezer Croitoru
As you can see in the response headers there are no rules for caching: < HTTP/1.1 307 Temporary Redirect < Date: Tue, 19 Sep 2017 12:27:50 GMT < Server: Apache < Location: http://http://test.example.com/img.svg < Content-Length: 249 < Content-Type: text/html; charset=iso-8859-1 < X-Cache: MISS from

Re: [squid-users] Squid radius Authentication

2017-09-19 Thread Eliezer Croitoru
Hey Pascal, I have some experience with wrapper scripts but I must admit that it has couple things which led me to not use it. One of the issues was excessive CPU usage since I was using a bash script as a wrapper. I remember that long ago a sysadmin used something else then basic auth. They had

Re: [squid-users] SSL_DB/certs are recahing 4MB on squid

2017-09-19 Thread Cherukuri, Naresh
Hello Alex, Thank you for quick turnover. Here is the screenshot of size output. [root@*** ssl_db]# cat size 3620864 Thanks, Naresh -Original Message- From: Alex Rousskov [mailto:rouss...@measurement-factory.com] Sent: Tuesday, September 19, 2017 10:10 AM To: Cherukuri, Naresh; sq

Re: [squid-users] SSL_DB/certs are recahing 4MB on squid

2017-09-19 Thread Alex Rousskov
On 09/19/2017 08:02 AM, Cherukuri, Naresh wrote: > My squid ssl_db/certs memory is reaching to 4MB. What happens when it > reaches 4MB? Is squid recycle by itself Yes, Squid should evict old certificates in order to cache the new ones while maintaining the total cache size at or below the configu

[squid-users] SSL_DB/certs are recahing 4MB on squid

2017-09-19 Thread Cherukuri, Naresh
Hello, My squid ssl_db/certs memory is reaching to 4MB. What happens when it reaches 4MB? Is squid recycle by itself or do I have to clear files on certs by removing all *.pem files. Please advise? sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB sslcrtd_children 8 startup=1

[squid-users] When the redirect [301, 302, 307] is cached by Squid?

2017-09-19 Thread kAja Ziegler
Hi all, I want to ask why my Squid does not cache redirects 301, 302 and 307. See anomised example below. Even if I call the URL more times or I open it in the browser, I always get MISS independently of the return code 301, 302 or 307. $ curl -v test.example.com/img307.jpg > GET /img307.jpg H

Re: [squid-users] Squid radius Authentication

2017-09-19 Thread Pascal Schäfer
Hey, thank you for your reply. Yes it would be Basic. I think I will write my own helper as a generic solution, not only for 2 domains/subdomains. Do you had the same problem in the past? The answer mails from Amos helped me a lot to know how I can program the wrapper helper. Pascal Am 17.09.20

Re: [squid-users] very slow squid response

2017-09-19 Thread Iraj Norouzi
hi Antony thanks for you reply > i setup squid on ubuntu and centos Why both? because of test and because i not get the result > with tproxy and wccp for 6 gb/s traffic What hardware are you using for that sort of traffic flow? i use hp DL360 with 2 6 core processor with 3 GHZ and 64 GB RAM and

[squid-users] squid and hosts_file on ipv6 not working fine

2017-09-19 Thread --Ahmad--
hello folks sometimes i need to change domains for cetian ipv6 website i use the directive hosts_file /etc/hosts and in side it i have : [root@server ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomai

[squid-users] Fwd: Re: very slow squid response

2017-09-19 Thread Antony Stone
Hi. Forwarding private reply back to the list in case it helps anyone reply with suggestions. Iraj - please reply to the list in future. Antony. -- Forwarded Message Starts -- Subject: Re: [squid-users] very slow squid response Date: Tuesday 19 September 2017 12:34:47 From:

Re: [squid-users] very slow squid response

2017-09-19 Thread Antony Stone
On Tuesday 19 September 2017 at 11:34:37, Antony Stone wrote: > Is the direct traffic still being routed through the Squid server (you say > you're using tproxy, so I assume this is an intercept machine with the > traffic going through it between client and server)? Apologies - with WCCP this is

Re: [squid-users] very slow squid response

2017-09-19 Thread Antony Stone
On Tuesday 19 September 2017 at 11:18:34, Iraj Norouzi wrote: > hi everybody > i setup squid on ubuntu and centos Why both? > with tproxy and wccp for 6 gb/s traffic What hardware are you using for that sort of traffic flow? > but when i try to test squid with 40 mb/s traffic How are you gene

[squid-users] very slow squid response

2017-09-19 Thread Iraj Norouzi
hi everybody i setup squid on ubuntu and centos with tproxy and wccp for 6 gb/s traffic but when i try to test squid with 40 mb/s traffic it response very slow while when i use direct browsing i can browse websites very fast, i used tcpdump for tracing connections arrive time and there was no probl

Re: [squid-users] Is it a good idea to use Linux swap partition/file with rock storage?

2017-09-19 Thread Amos Jeffries
On 19/09/17 18:25, duanyao wrote: Hi, I notice that squid's rock storage uses large (and fixed) amount of shared memory even if it is not accessed. It's estimated as 110byte/slot, so for a 256GB rock storage with 16KB slot, the memory requirement is about 1.7GB, which is quite large. So my

Re: [squid-users] disable access.log logging on a specific entrys

2017-09-19 Thread Amos Jeffries
> Ursprüngliche Nachricht > Von: Amos Jeffries > > On 19/09/17 01:45, Verwaiser wrote: > > > > Does anybody know a solution for this problem? > > > > What Squid version? > > Amos On 19/09/17 20:56, admin wrote: > Sorry, I forgot... > > Squid version 3.5.21 > Please try an up

[squid-users] Squid 3.5.27 for Microsoft Windows 64-bit is available

2017-09-19 Thread Rafael Akchurin
Greetings everyone, Sorry with a huge delay we would like to announce the availability of the CygWin based build of Squid proxy for Microsoft Windows version 3.5.27 (amd64 only!). * Original release notes are at http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.27-RELEASENOTES.html . * Ready