[squid-users] ACL in custom error page

2018-03-13 Thread Eduardo Carneiro
Hello everyone! Is there any way to display, in my custom error pages, the acl that denied access? Eduardo Carneiro -- Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html ___ squid-users mailing list squid-users

Re: [squid-users] Squid high CPU usage after uprade to squid-3.4.4

2017-12-29 Thread Eduardo Carneiro
Ok Rejaine. Remember to use squidclient to see the amount of real-time used file descriptors: # squidclient -h localhost -p 8080 mgr:info | grep "file descriptors" So you increment as needed Eduardo Carneiro -- Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/S

Re: [squid-users] Squid high CPU usage after uprade to squid-3.4.4

2017-12-29 Thread Eduardo Carneiro
Hello Rejaine. First of all, are you Brazilian? It's always good to have Brazilians around here. :D About your issue, squid.conf's "max_filedescriptors" parameter will solve your problem. Due to the large number of hits that I have, I also had to increase the number of squid's file descriptors. I

[squid-users] Shared cache directory.

2017-06-23 Thread Eduardo Carneiro
Hi everyone. Squid version 3.5.19. I need to set up a load balancing. It would be something like, 3 servers decentralizing the accesses. I already have that solution. But when I decentralize the cache directories, my "HIT rates" decrease. I'd like to know if there is any way to have more than o

Re: [squid-users] Youtube not TCP_HIT Squid3.5.21-25

2017-05-28 Thread Eduardo Carneiro
Ok. Tell me what technical details you need and I post here. But if this were an ignoring cache-control issue, wouldn't that happen on squid 3.5.19 and previous versions as well? With the same conf works on 3.5.19 but not in newest squid3 versions. -- View this message in context: http://squi

Re: [squid-users] Youtube not TCP_HIT Squid3.5.21-25

2017-05-28 Thread Eduardo Carneiro
As I said before, is a more larger problem. not just Youtube. If rewrite is necessary, doesn't work the cache. I tried with Youtube, Facebook, Vimeo, etc. Anyway I will try these links that you suggested and put here the results. It work very well until Squid 3.5.19. Not in newest versions. --

Re: [squid-users] Youtube not TCP_HIT Squid3.5.21-25

2017-05-26 Thread Eduardo Carneiro
I have the same issue. And not just Youtube, but any dynamic content cache. If you need to rewrite doesn't work. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-not-TCP-HIT-Squid3-5-21-25-tp4682582p4682584.html Sent from the Squid - Users mailing list

Re: [squid-users] hsc-dynamic-cache: relied on storeID rules? Removed in 3.5.20?

2017-03-28 Thread Eduardo Carneiro
Hello everyone. Answering Linda's questions: - Yes, I tried to use the hsc helper in versions above 3.5.19. But I did not succeed. - There are no specific features in the versions above 3.5.19 that I need to use. But, for security reasons, I'd rather use the newer versions. I posted on this just

Re: [squid-users] Free Squid helper for dynamic content caching

2017-03-22 Thread Eduardo Carneiro
Hi Yuri. The reason I came here is because I've already tried but I didn't succeed. I really expected a more specific answer. Not just "You can fix it yourself, the code is open." Anyway, thanks. I'll Keep trying to fix this. -- View this message in context: http://squid-web-proxy-cache.10190

Re: [squid-users] Free Squid helper for dynamic content caching

2017-03-22 Thread Eduardo Carneiro
I have been using this helper for a while. It works very well. Congratulations! But I noticed that after squid 3.5.19, this helper doesn't work anymore. Is this a known problem? Is there any way to fix this? Best regards. Eduardo Carneiro -- View this message in context: http://squi

Re: [squid-users] Users inserted incorrectly in access.log

2017-01-20 Thread Eduardo Carneiro
Amos Jeffries wrote > Please start by selecting one of round-robin and sourcehash. They are > very different selection algorithms. > > Given that Kerberos auth requires HTTP/1 multiplexing to be disabled for > the auth to work I suggest that you drop the round-robin. It forces > multiplexing to be

[squid-users] Users inserted incorrectly in access.log

2017-01-19 Thread Eduardo Carneiro
Hi everyone. I have a environment with one frontend server and three parent servers in culster. The frontend server receives all client connections and forward them to parent servers. There is no exist any authentication method in the frontend server. In the parent servers the requests are authent

Re: [squid-users] Problem with ssl_crtd

2016-12-29 Thread Eduardo Carneiro
I admit that I am sad because it is a bug and has not been solved yet. In this way, I will not be able to use this feature while this bug has not been solved because, if I enable ssl-bump on my port, the squid sporadically stops. Here is the important part to us, of my squid.conf. I use url rewrit

[squid-users] Problem with ssl_crtd

2016-12-28 Thread Eduardo Carneiro
Hi everyone. I have a strange issue with my squid 3.5.19. When I enable ssl-bump and url_rewrite in order to make dynamic content cache, I've got, sporadically, this error in my cache.log: /assertion failed: Read.cc:69: "fd_table[conn->fd].halfClosedReader != NULL"/ When the error occur, my squi

Re: [squid-users] Squid 3.5.21 ssl bump and x-forward

2016-11-29 Thread Eduardo Carneiro
ee there is no solution for this yet. I would appreciate so much if this feature were made available in the future. Eduardo Carneiro -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-5-21-ssl-bump-and-x-forward-tp4679521p4

Re: [squid-users] Authentication pass-through cache_peer

2016-11-24 Thread Eduardo Carneiro
Hi Amos, I'm still trying to configure login pass-through. Now, I'm using negotiate / kerberos. On the frontend machine, I enabled login = PASSTHRU in the cache_peer configuration line. As previously stated, the authentication is present only on the parent machine. The cache.log of my parent mach

Re: [squid-users] Authentication pass-through cache_peer

2016-11-21 Thread Eduardo Carneiro
Amos Jeffries wrote > On 22/11/2016 1:33 a.m., Eduardo Carneiro wrote: >> Hi all. >> >> Sorry if this is already answered here. But I couldn't find any clear >> tips >> about this topic. >> >> I'm using Squid 3.5.19 with dynamic content cac

[squid-users] Authentication pass-through cache_peer

2016-11-21 Thread Eduardo Carneiro
Hi all. Sorry if this is already answered here. But I couldn't find any clear tips about this topic. I'm using Squid 3.5.19 with dynamic content caching in a huge user base (almost 10.000). Due to the large number of requisitions, internet access is getting very slow. So I decided to use cache_p

Re: [squid-users] Squid multithread

2016-11-14 Thread Eduardo Carneiro
Yuri Voinov wrote > http://wiki.squid-cache.org/Features/SmpScale > > http://wiki.squid-cache.org/MultipleInstances > > > 14.11.2016 20:22, Eduardo Carneiro пишет: >> Hi everyone! >> >> I have a Squid 3.5.19 with dynamic content cache using url rewrite.

[squid-users] Squid multithread

2016-11-14 Thread Eduardo Carneiro
Hi everyone! I have a Squid 3.5.19 with dynamic content cache using url rewrite. It's a virtual machine (VMWare) with 2 quad-core processors each. Squid proccess is 100% in one of my eight cores and the access it's getting very slow. There exists any way to compile squid with multithread option?

[squid-users] Authentication problem

2016-10-31 Thread Eduardo Carneiro
m I doing something wrong? Has anyone experienced this? Thanks, Eduardo Carneiro -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Authentication-problem-tp4680378.html Sent from the Squid - Users mailing list archive at Nabble.com.

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

2016-09-14 Thread Eduardo Carneiro
SOLVED! I've isolated the cache and created another instance for users to use. Deleted swap.state (made a backup before) and restarted the squid service. It took a long time to rebuild the cache, but it worked. Thank you all for your help. -- View this message in context: http://squid-web-pro

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

2016-09-13 Thread Eduardo Carneiro
Jorgeley wrote > what about cache_swap_low and cache_swap_high??? > > 2016-09-13 8:23 GMT-03:00 Eduardo Carneiro < > eduardoocarneiro@ > >: > >> Amos Jeffries wrote >> > On 13/09/2016 5:12 a.m., Yuri Voinov wrote: >> >> >> >

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

2016-09-13 Thread 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 this case it re-indexing all exists disk >> cache contents and build new one swap.state file. Also, does all

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

2016-09-12 Thread Eduardo Carneiro
No Yuri, is "ufs". -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Lost-of-all-squid-cache-tp4679466p4679468.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mailing list squid-us

[squid-users] Lost of all squid cache

2016-09-12 Thread Eduardo Carneiro
help me that? Best regards, Eduardo Carneiro -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Lost-of-all-squid-cache-tp4679466.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mail

Re: [squid-users] Problem with single quotes

2016-07-28 Thread Eduardo Carneiro
Solved! I changed the rsyslog template option ("sql" to "stdsql"). With the sql option, rsyslog replaces single quotes with a \ before it. With the stdsql option, rsyslog replaces one single quote with two single quotes. This configuration solved my problem. Reference: http://ftp.ics.uci.edu/pub

Re: [squid-users] Problem with single quotes

2016-07-28 Thread Eduardo Carneiro
I'm using rsyslog. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Problem-with-single-quotes-tp4678699p4678701.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mailing list squid

[squid-users] Problem with single quotes

2016-07-28 Thread Eduardo Carneiro
Hi everyone! I'm using Squid 3.5.19. The logs are being inserted in the postgres database. In some cases, the URLs have single quotes in them and the insertion scripting doesn't work. For others reasons, I need the "strip_query_terms off" in my squid configuration. It cannot be "on". There is so

Re: [squid-users] Cache problem with authenticated sites.

2016-07-14 Thread Eduardo Carneiro
Hi Amos, I'm back just to say that you were right. In my case, the "ignore-private" was the problem. Thank you very much. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Cache-problem-with-authenticated-sites-tp4678489p4678494.html Sent from the Squid - User

Re: [squid-users] Cache problem with authenticated sites.

2016-07-14 Thread Eduardo Carneiro
Amos Jeffries wrote > This can happen if you are using refresh_pattern with any of the > ignore-must-revalidate, ignore-private, ignore-auth, and/or > ignore-no-store options. > > This can also happen if you are using the Store-ID mechanism wrong. > > Otherwise, the website itself is probably bro

[squid-users] Cache problem with authenticated sites.

2016-07-14 Thread Eduardo Carneiro
Good morning everyone. I'm using Squid 3.5.19 with cache enabled. I have a big issue. Some sites (generally that contains authentication), are caching the information of another users. When I type my user and password, sometimes the page that I get is of the another user. The information was cac

Re: [squid-users] Cache economy calculation

2016-06-29 Thread Eduardo Carneiro
Thank you again. In this case, I think that I'll exclude the "DENIED" of my query. Theoretically this access don't go to the internet. That's correct? -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Cache-economy-calculation-tp4678292p4678300.html Sent from t

Re: [squid-users] Cache economy calculation

2016-06-29 Thread Eduardo Carneiro
Thank you Yuri. But, the other action types like "TCP_DENIED" per example, shall be calculated too? Or only "MISS" an "HIT" like you said before? -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Cache-economy-calculation-tp4678292p4678297.html Sent from the Sq

Re: [squid-users] Cache economy calculation

2016-06-29 Thread Eduardo Carneiro
No, no. Only for management purposes. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Cache-economy-calculation-tp4678292p4678294.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users

[squid-users] Cache economy calculation

2016-06-29 Thread Eduardo Carneiro
Hello everyone. I am using Squid 3.5.19 with dynamic and static caching feature activated. It's working very well. All entries of the access.log are in a postgres database. I am looking for the best way to calculate the cache economy. Someone could tell me how to do this? Best regards. Eduardo

Re: [squid-users] Squid's cache management

2016-06-28 Thread Eduardo Carneiro
Thank you very much Antony! You answer was very helpful. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-s-cache-management-tp4678255p4678259.html Sent from the Squid - Users mailing list archive at Nabble.com. __

[squid-users] Squid's cache management

2016-06-28 Thread Eduardo Carneiro
ages that? What is the criterion to delete these files? Sorry if the answer is here in another topic. I searched but I did not find. Best regards, Eduardo Carneiro -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-s-cache-management-tp4678255.html Sent