Re: [squid-users] i want to block images with size more than 40 KB

2015-03-20 Thread Rafael Akchurin
Hello Snakeeyes, Please also take into account the fact that Google image search results are "inlined" (at least thumbnails). Best regards, Rafael -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of snakeeyes Sent: Saturday, March 21, 20

Re: [squid-users] i want to block images with size more than 40 KB

2015-03-20 Thread snakeeyes
Hi Amos , thanks it seems okay for normal http sites I want to ask , is there a trick can we do it so that it be applied to google & yahoo images search ?? Here is wt I see in yahoo logs , just small logs and all images are allowed and not blocked = 1426881748.078 70740 x.70 TCP_MISS/200

Re: [squid-users] How to run squidclient

2015-03-20 Thread Monah Baki
[support@ISN-PHC-Cache bin]$ ./squidclient -j isn-phc-cache:3128 cache_object://isn-phc-cache:3128/info HTTP/1.1 403 Forbidden Server: squid/3.5.2 Mime-Version: 1.0 Date: Fri, 20 Mar 2015 19:46:58 GMT Content-Type: text/html;charset=utf-8 Content-Length: 3568 X-Squid-Error: ERR_ACCESS_DENIED 0 Vary

Re: [squid-users] How to run squidclient

2015-03-20 Thread Amos Jeffries
On 21/03/2015 6:15 a.m., Monah Baki wrote: > Regarding DNS lookup, if I type nslookup 10.0.0.24 or nslookup > isn-phc-cache, > Our nameservers in /etc/resolv.conf are google's name server > > Do I need to resolve first to use squidclient??? > No, the squidclient resolving is done as you saw in i

Re: [squid-users] How to run squidclient

2015-03-20 Thread Monah Baki
Regarding DNS lookup, if I type nslookup 10.0.0.24 or nslookup isn-phc-cache, Our nameservers in /etc/resolv.conf are google's name server Do I need to resolve first to use squidclient??? [root@ISN-PHC-Cache bin]# ./squidclient -vv -j isn-phc-cache mgr:info verbosity level set to 2 Request: GET

Re: [squid-users] How to run squidclient

2015-03-20 Thread Amos Jeffries
Interesting. I wonder if your Squid is resolving "localhost" domain name as ::1 and rejecting it because IPv6 is disabled, therefore not permitted. Or if its the domain name not matching the proxy name. Try adding "-j isn-phc-cache" which sets the Host: header to match what the cache thinks its p

Re: [squid-users] i want to block images with size more than 40 KB

2015-03-20 Thread Amos Jeffries
On 21/03/2015 12:05 p.m., snakeeyes wrote: > Hi amos , thanks for reply > I have tried @ top of squidf.conf > > acl images rep_header Content-Type ^image/ ^x-image/ > acl small rep_header Content-Length ^[1234]?[0-9]$ > http_reply_access deny small images > > are you sure that its blocking im

Re: [squid-users] How to run squidclient

2015-03-20 Thread Monah Baki
Hi Amos, [root@ISN-PHC-Cache bin]# ./squidclient -V Version: 3.5.2 [root@ISN-PHC-Cache bin]# ./squidclient -vv mgr:info verbosity level set to 2 Request: GET cache_object://localhost/info HTTP/1.0 Host: localhost User-Agent: squidclient/3.5.2 Accept: */* Connection: close . Transport detecte

Re: [squid-users] squid just stopping

2015-03-20 Thread Amos Jeffries
On 21/03/2015 4:54 a.m., Ian Harper wrote: > I have squid running ok on one machine doing basic forwarding but when I > try to add a setting for url redirection it just stops with no errors. > > I cloned the machine and owrked on the url redirection and eventually > settled on squirm and got it wo

Re: [squid-users] How to run squidclient

2015-03-20 Thread Amos Jeffries
On 20/03/2015 11:04 p.m., Monah Baki wrote: > Hi all, > > I am running CentOS 6.6 64 bit, and need to get some information from the > command line. > > Compiled squid as: > ./configure --prefix=/home/cache --enable-follow-x-forwarded-for > --with-large-files --enable-ssl --disable-ipv6 --enable-e

[squid-users] squid just stopping

2015-03-20 Thread Ian Harper
I have squid running ok on one machine doing basic forwarding but when I try to add a setting for url redirection it just stops with no errors. I cloned the machine and owrked on the url redirection and eventually settled on squirm and got it working, when I went back to the original machine to tr

Re: [squid-users] i want to block images with size more than 40 KB

2015-03-20 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 He answered you. Just re-read answer. This is not possible absolutely in all cases. World is changed. Too sad. 21.03.15 5:12, snakeeyes пишет: > I did try with google.com and yahoo.com > > It seems not blocking images there > > Can u help with tha

Re: [squid-users] i want to block images with size more than 40 KB

2015-03-20 Thread snakeeyes
I did try with google.com and yahoo.com It seems not blocking images there Can u help with that plz ? -Original Message- From: snakeeyes [mailto:ahmed.za...@netstream.ps] Sent: Friday, March 20, 2015 4:06 PM To: 'Amos Jeffries' Cc: squid-users@lists.squid-cache.org Subject: RE: [squid-

Re: [squid-users] i want to block images with size more than 40 KB

2015-03-20 Thread snakeeyes
Hi amos , thanks for reply I have tried @ top of squidf.conf acl images rep_header Content-Type ^image/ ^x-image/ acl small rep_header Content-Length ^[1234]?[0-9]$ http_reply_access deny small images are you sure that its blocking images with size >40KB also I didn’t see extensions like

Re: [squid-users] Error when using peek/splice/terminate with Squid 3.5.1

2015-03-20 Thread john jacob
Also this issue is no more appearing if I peek step 1 alone and splice the remaining ones. acl step1 at_step SslBump1 acl step2 at_step SslBump2 acl step3 at_step SslBump3 ssl_bump peek step1 all ssl_bump splice all So I guess the issue is with the PeerConnector module where SSL_connect meth

[squid-users] How to run squidclient

2015-03-20 Thread Monah Baki
Hi all, I am running CentOS 6.6 64 bit, and need to get some information from the command line. Compiled squid as: ./configure --prefix=/home/cache --enable-follow-x-forwarded-for --with-large-files --enable-ssl --disable-ipv6 --enable-esi --enable-kill-parent-hack --enable-snmp --with-pthreads -

Re: [squid-users] assertion failed: client_side.cc:1515: "connIsUsable(http->getConn())

2015-03-20 Thread Amos Jeffries
On 20/03/2015 1:07 p.m., Dan Charlesworth wrote: > Well I got 3.5.2 into production for a few hours and Bad Things happened: > > *1) A hefty performance hit* > Load average was maybe a tad higher but CPU. memory and I/O were about the > same. > However the system seemed to top out at around 40 r