Re: [squid-users] Youtube wont work on squid

2016-03-02 Thread Jorgeley Junior
I'm not sure if this can solve the problem, but, in my squid.conf I deny youtube to cache using "cache_deny" 2016-03-02 3:04 GMT-03:00 Yuri Voinov : > > > 02.03.16 2:34, Baselsayeh пишет: > >> Yuri Voinov wrote >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> Did you read >>> >>>

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Jorgeley Junior
to install squid in /etc use "--prefix=/etc/squid" 2016-03-03 9:32 GMT-03:00 Jester Purtteman : > Hello, > > Ubuntu uses different paths than Squid's default assumption, so it makes > squid installs a little easier to work if you specify the paths for your > installation using the configure scrip

Re: [squid-users] Force DNS queries over TCP?

2016-06-30 Thread Jorgeley Junior
I'm not sure, but, if your ISP is intercepting your DNS queries, maybe you could use the mangle netfilter table to change your DNS queries and so deceive your ISP, but I'm almost sure that the root servers will not recognize. It was just an idea. 2016-06-30 16:16 GMT-03:00 Yuri Voinov : > > -

Re: [squid-users] how to connect machine linux to squid proxy, not in browser?

2016-07-07 Thread Jorgeley Junior
I dont know if I understand well, but if you want all linux enviroment to access your proxy you must set the enviroment vars, suck like this: *ftp_proxy=ftp://192.168.1.254:8213/ http_proxy=http://192.168.1.254:8213/ https_proxy=https://192.

Re: [squid-users] Wget https://www.google.com not download

2016-08-29 Thread Jorgeley Junior
I think you have to set all these environment variables, see my example: ftp_proxy=ftp://192.168.1.254:8213/ http_proxy=http://192.168.1.254:8213/ https_proxy=https://192.168.1.254:8213/ socks_proxy=socks://192.168.1.254:8213/ Also, I setted the proxy into the file: /etc/wgetrc Hope it helps

Re: [squid-users] Lost of all squid cache

2016-09-13 Thread Jorgeley Junior
what about cache_swap_low and cache_swap_high??? 2016-09-13 8:23 GMT-03:00 Eduardo Carneiro : > Amos Jeffries wrote > > On 13/09/2016 5:12 a.m., Yuri Voinov wrote: > >> > >> Hm. > >> > >> As a recovery you can try to rename/remove swap.state from cache_dir's > >> and start squid again. AFAIK in t

Re: [squid-users] ERROR: Cannot connect to 127.0.0.1:3128

2016-10-11 Thread Jorgeley Junior
I think it could be the sequence of the rules, do this command and post the results: grep . /etc/squid-your-version/squid.conf | grep -v "#" 2016-10-11 3:59 GMT-03:00 Amos Jeffries : > On 11/10/2016 4:54 p.m., Михаил wrote: > > I check version of squid 3.5.21 with my

Re: [squid-users] squid 3.5 with auth and chroot

2015-07-23 Thread Jorgeley Junior
> Hi guys. > I have a RedHat 6.6 + squid 3.5.6 + basic_ncsa_auth + chroot and is > crashing only when I do an authentication. > > Here is the main confs: > auth_param basic program /libexec/basic_ncsa_auth /regras/usuarios > auth_param basic children 10 startup=0 idle=1 > auth_param basic realm INT

Re: [squid-users] squid youtube caching

2015-07-23 Thread Jorgeley Junior
Hi Joe, I had similar problem with youtube, I did not sure if it's the same with you, but I passed the youtube.com domain out of the cache with 'cache deny' directive. I'm using squid-3.5.6 and I'm in trouble with the authentication on chroot environment, so, maybe you cand help me, is your squid o

Re: [squid-users] squid 3.5 with auth and chroot

2015-07-23 Thread Jorgeley Junior
is correct Any more suggestions? 2015-07-23 11:42 GMT-03:00 Amos Jeffries : > On 23/07/2015 11:23 p.m., Jorgeley Junior wrote: > >> Hi guys. > >> I have a RedHat 6.6 + squid 3.5.6 + basic_ncsa_auth + chroot and is > >> crashing only when I do an authentication. >

Re: [squid-users] squid 3.5 with auth and chroot

2015-07-24 Thread Jorgeley Junior
please guys, help me. Any suggestions? 2015-07-23 13:28 GMT-03:00 Jorgeley Junior : > Befor all, thanks so so much for the answears!!! > It's exist, I'm sure. > This is my chroot structre: > / (linux root) > /etc > squid-3.5.6/ > bin/ >

Re: [squid-users] squid 3.5 with auth and chroot

2015-07-24 Thread Jorgeley Junior
annot access the basic_ncsa_auth or maybe IPCcreate its located in a directory that cannot see the libexec/basice_ncsa relative path That's a weird scenario. 2015-07-24 11:02 GMT-03:00 Amos Jeffries : > On 25/07/2015 12:10 a.m., Jorgeley Junior wrote: > > please guys, help me. > &

Re: [squid-users] squid 3.5 with auth and chroot

2015-07-24 Thread Jorgeley Junior
That's are good ideas, I'll try them. Thanks!!! 2015-07-24 11:57 GMT-03:00 Amos Jeffries : > On 25/07/2015 2:22 a.m., Jorgeley Junior wrote: > > Thank you so much for the help. > > Cant be much help sorry. I'm just guessing here. Never actually run > Squid in a c

[squid-users] ident ACL

2015-07-31 Thread Jorgeley Junior
Hi guys. ident ACL was discontinued on Squid 3.5.6??? I didn't found it in compilation options and it's unknown by squid.conf Any help? -- ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] ident ACL

2015-07-31 Thread Jorgeley Junior
8.8.8 hosts_file /etc/hosts client_db on chroot /etc/squid-3.5.6 high_memory_warning 4000 MB max_filedescriptors 512000 redirect_program /bannerfilter-1.31/redirector.pl 2015-07-31 11:23 GMT-03:00 Jorgeley Junior : > Hi guys. > ident ACL was discontin

Re: [squid-users] Deny Caching of Video and Audio

2015-08-03 Thread Jorgeley Junior
create an acl: acl youtube dstdomain .youtube.com use the directive: cache deny youtube 2015-08-03 19:29 GMT-03:00 Antony Stone : > On Tuesday 04 August 2015 at 00:13:32, markme wrote: > > > Is there a simple way to deny caching of video and audio? My manager > > doesn't want these to be cached d

[squid-users] Android

2015-08-12 Thread Jorgeley Junior
Hi guys. Is there a way to work around android under squid authentication??? I could make an ACL to a range of address that my wifi router distribute to my wifi network and deny auth for them, but I'd like to identify the Android clients and specify that just them do not need authentication. Any id

Re: [squid-users] Android

2015-08-12 Thread Jorgeley Junior
ok like an Android to you, have the access allowed > without authentication. > > You can try, but i would say you can never have a fully 100% working > and 100% fake-proof setup on that scenario. > > > Em 12/08/15 14:09, Jorgeley Junior escreveu: > >> Hi guys. >>

[squid-users] Virtual Memory

2015-08-19 Thread Jorgeley Junior
Hi guys, sorry if I'm doing a dumb question... My squid is using so much virtual memory how you can see in the print, is that normal? I have 8GB physic memory and my squid is set to 4GB, my cache is like this: cache_dir diskd /cache 4096 16 256 Q1=64 Q2=72 cache_dir diskd /cache 4096 16 256 Q1=64 Q

[squid-users] Zero Sized Reply

2015-08-26 Thread Jorgeley Junior
Hi guys. I'm having a weird problem, my squid is doing "ZERO SIZED REPLY" when I try to connect with some addresses, like this on log above: 2015/08/26 13:50:31.335 kid1| http.cc(1300) continueAfterParsingHeader: WARNING: HTTP: Invalid Response: No object data received for http://www.grupoatuall.co

Re: [squid-users] Zero Sized Reply

2015-08-27 Thread Jorgeley Junior
Thanks Amos. my squid is 3.5.6, so i can disconsider the bug, right? I'm very lost about this problem, any suggestion will be appreciated 2015-08-27 3:04 GMT-03:00 Amos Jeffries : > On 27/08/2015 7:48 a.m., Jorgeley Junior wrote: > > Hi guys. > > I'm having a weird p

Re: [squid-users] Zero Sized Reply

2015-08-27 Thread Jorgeley Junior
ce not known 2015/08/27 11:43:30.966 kid1| ipcache.cc(549) ipcache_nbgethostbyname: ipcache_nbgethostbyname: MISS for 'www.grupoatuall.com.br' Any other ideas??? 2015-08-27 13:01 GMT-03:00 Amos Jeffries : > On 28/08/2015 2:42 a.m., Jorgeley Junior wrote: > > Thanks Amos. > >

Re: [squid-users] Zero Sized Reply

2015-08-27 Thread Jorgeley Junior
-03:00 Amos Jeffries : > On 28/08/2015 5:49 a.m., Jorgeley Junior wrote: > > Amos, thank you so much for attention, but sorry, I didn't understand > what > > you said. > > Nevermind. The website code is broken. > > I have been looking into it from here using those re

[squid-users] 16G Virtual Mem

2015-08-28 Thread Jorgeley Junior
Guys, is this really normal??? ​ -- ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] How to limit upload bandwidth in squid proxy?

2015-08-28 Thread Jorgeley Junior
I think the directive: client_request_buffer_max_size do a limit to upload, but it will stop the request, is that it? 2015-08-28 14:00 GMT-03:00 Alex Rousskov : > On 08/24/2015 01:20 AM, Amos Jeffries wrote: > > > On 24/08/2015 1:03 p.m., Brandon Elliott wrote: > >> I need a solution that > >> do

[squid-users] stoping after rotate

2015-09-04 Thread Jorgeley Junior
Hi guys, I suspect my squid stop to serve request after rotate, in the morning, after I restarted it, everything goes to normal. here is the log: 2015/09/04 00:00:01 kid1| storeDirWriteCleanLogs: Starting... 2015/09/04 00:00:01 kid1| Finished. Wrote 39639 entries. 2015/09/04 00:00:01 kid1| Too

Re: [squid-users] stoping after rotate

2015-09-04 Thread Jorgeley Junior
Thanks Amos, my swap is 32GB, so that's causing the error as you said. Which is the better choice: increase the swap size or reduce the cache_mem??? 2015-09-04 13:55 GMT-03:00 Amos Jeffries : > On 4/09/2015 11:32 p.m., Jorgeley Junior wrote: > > Hi guys, I suspect my squid stop to

Re: [squid-users] stoping after rotate

2015-09-04 Thread Jorgeley Junior
Thanks Amos, i will increase the swap Em 04/09/2015 17:22, "Amos Jeffries" escreveu: > On 5/09/2015 7:16 a.m., Jorgeley Junior wrote: > > Thanks Amos, my swap is 32GB, so that's causing the error as you said. > > Which is the better choice: increase the swap si

Re: [squid-users] stoping after rotate

2015-09-08 Thread Jorgeley Junior
> And vm.swappiness is important to tune servers (should be 10-15). > > Which version of Linux do you have and what is the output of >sysctl -a | grep -e vm.overcommit_memory -e vm.swappiness > > Marcus > > > On 09/04/2015 07:04 PM, Jorgeley Junior wrote: > >

Re: [squid-users] stoping after rotate

2015-09-08 Thread Jorgeley Junior
I have 8GB physical memory and my swap is 32GB. I didn't increase the swap yet, should I? 2015-09-08 9:23 GMT-03:00 Marcus Kool : > > > On 09/08/2015 08:11 AM, Jorgeley Junior wrote: > >> Thank you all, this is the output: >> vm.overcommit_memory = 0 >> vm.swa

Re: [squid-users] stoping after rotate

2015-09-08 Thread Jorgeley Junior
ok, read that already, i set cache_mem to 5GB, so is not ok? 2015-09-08 20:25 GMT-03:00 Marcus Kool : > > > On 09/08/2015 10:39 AM, Jorgeley Junior wrote: > >> I have 8GB physical memory and my swap is 32GB. >> I didn't increase the swap yet, should I? >>

Re: [squid-users] stoping after rotate

2015-09-08 Thread Jorgeley Junior
ok, I'll do it 2015-09-08 21:30 GMT-03:00 Marcus Kool : > > > On 09/08/2015 09:23 PM, Jorgeley Junior wrote: > >> ok, read that already, i set cache_mem to 5GB, so is not ok? >> > > No. Squid will use more than 6 GB with cache_mem set to 5 GB. > I sugges

Re: [squid-users] stoping after rotate

2015-09-09 Thread Jorgeley Junior
al memory which indicates that Squid can > grow to 6.4 GB and even more when it is used. > > So next step is to start using the proxy and monitor the process size. > > Marcus > > > On 09/09/2015 10:24 AM, Jorgeley Junior wrote: > >> changed cache_mem to 3GB, after one h

[squid-users] Optimezed???

2015-09-16 Thread Jorgeley Junior
I think my squid is not optimezed due the percentage of hits, see the graph bellow: ​ ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] Optimezed???

2015-09-16 Thread Jorgeley Junior
d using the > cache. > > If so I will send you the bash script to try and see something. > > Eliezer > > On 16/09/2015 23:00, Jorgeley Junior wrote: > >> I think my squid is not optimezed due the percentage of hits, see the >> graph >> bellow: >> >&g

Re: [squid-users] Optimezed???

2015-09-17 Thread Jorgeley Junior
thank you all for the reply, here is the result of the command: 1 TAG_NONE/500 290 TAG_NONE/503 10 TAG_NONE_ABORTED/000 4 TCP_CLIENT_REFRESH_MISS/200 368 TCP_DENIED/403 1421 TCP_DENIED/407 5 TCP_HIT/200 7 TCP_HIT_ABORTED/000 7 TCP_IMS_HIT/200 39 TCP_IMS_

Re: [squid-users] Optimezed???

2015-09-18 Thread Jorgeley Junior
hey guys, forgot-me? :( 2015-09-17 8:08 GMT-03:00 Jorgeley Junior : > thank you all for the reply, here is the result of the command: > 1 TAG_NONE/500 > 290 TAG_NONE/503 > 10 TAG_NONE_ABORTED/000 > 4 TCP_CLIENT_REFRESH_MISS/200 > 368 TCP_DENIED/403 >

Re: [squid-users] Optimezed???

2015-09-18 Thread Jorgeley Junior
there is a way to improve it? 2015-09-18 8:25 GMT-03:00 Antony Stone : > On Friday 18 September 2015 at 13:13:27, Jorgeley Junior wrote: > > > hey guys, forgot-me? :( > > Surely you can see for yourself how many connections you've had of > different > types? Here a

Re: [squid-users] Optimezed???

2015-09-24 Thread Jorgeley Junior
Is it not possible to cache the https due the encryption? 2015-09-18 9:44 GMT-03:00 Antony Stone : > On Friday 18 September 2015 at 14:27:42, Jorgeley Junior wrote: > > > there is a way to improve it? > > Improve what? The percentage of your traffic which is cached, or the &

Re: [squid-users] Optimezed???

2015-09-24 Thread Jorgeley Junior
Can we do that to cache https? http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/usr/local/squid/etc/monkey.pem 2015-09-24 11:24 GMT-03:00 Jorgeley Junior : > Is it not possible to cache the https due the encryption? > > 2015-09-18 9:44 GMT-03:

Re: [squid-users] Optimezed???

2015-09-24 Thread Jorgeley Junior
th SSL Bump. With very agressive > cache parameters and with conjunction previous sentence. So, this is > dangerous for many sites - for it's functionality and security, in general. > > You still sure you want to do this? > > 24.09.15 20:46, Jorgeley Junior пишет: > > Can

Re: [squid-users] urlpath_regex not being matched

2016-01-18 Thread Jorgeley Junior
I didn't test this, but i think it works better: *http_access deny banned_sites !good_facebook* is it works? 2016-01-18 16:35 GMT-02:00 Lucía Guevgeozian : > Ok, thanks again for the quick reply, I'm upgrading :) > > Regards, > Lucia > > 2016-01-18 14:58 GMT-03:00 Yuri Voinov : > >> >> -BEG