Re: [squid-users] ERROR: URL-rewrite

2014-09-30 Thread Alejandro Martinez
Thanks for your answers. I think the url was ( http://wiki.squid-cache.org/ConfigExamples/PhpRedirectors) but now the site is down for maintenance, so I can't validate that. You're right about the version, my mistake. I'm going to use another language and change the redirector output according t

Re: [squid-users] How to unblock a port

2014-09-30 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 03:43 PM, Ambrose LI wrote: >> What should I change to allow connections with port 2083? > You need SSL_ports instead of Safe_ports for https > Thank you! - -- James Moe moe dot james at sohnen-moe dot com 520.743.3936 -BEGIN PGP

Re: [squid-users] How to unblock a port

2014-09-30 Thread Ambrose LI
On 30 September 2014 18:34, James Moe wrote: > Squid rejects connections made with . I > had thought that the ACL "acl Safe_ports port 1025-65535" was > sufficient. Obviously not. > > What should I change to allow connections with port 2083? You need SSL_ports instea

[squid-users] How to unblock a port

2014-09-30 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Squid rejects connections made with . I had thought that the ACL "acl Safe_ports port 1025-65535" was sufficient. Obviously not. What should I change to allow connections with port 2083? - [ Excerpts from the conf:

Re: [squid-users] redirect all ports to squid

2014-09-30 Thread Leonardo Rodrigues
On 30/09/14 18:49, James Harper wrote: It's possible to redirect all ports to squid ? thru iptables ? For example port 25 smtp,143 imap, etc... Can squid handle that. In transparent mode. So in short it works, but not as well as it could, and you might be better of finding another solution. Th

Re: [squid-users] redirect all ports to squid

2014-09-30 Thread James Harper
> > It's possible to redirect all ports to squid ? thru iptables ? > For example port 25 smtp,143 imap, etc... > Can squid handle that. In transparent mode. Yes. Kind of. You need: . An appropriate rule in iptables nat table that ends with -j REDIRECT --to-ports 3129 (or whatever port you are li

Re: [squid-users] is there a way to hide squid from http://www.ip-score.com/ ??

2014-09-30 Thread Ahmd
Hi eleizer , I wish you give me any ideas about that ...can u provide with any kernel patched for my goal ? Or for any other easier solutions? Im very interested in doing that ! regards -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf

Re: [squid-users] redirect all ports to squid

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 08:30 PM, Leonardo Rodrigues wrote: > Other protocols, SMTP, IMAP, POP3, etc etc etc, cannot be handled > by squid. They cannot be interpreted but can be handled with a "none" rule for ssl bump. Eliezer -BEGIN PGP SIGNATURE- Vers

Re: [squid-users] redirect all ports to squid

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Indeed using SSL-BUMP it's possible but(a bit but).. It will not be able to handle non http\https traffic just like that. It will require more then just squid setup and it might be a better idea to find a better solution for you rather then using squid

Re: [squid-users] redirect all ports to squid

2014-09-30 Thread Leonardo Rodrigues
On 30/09/14 13:41, hadi wrote: It's possible to redirect all ports to squid ? thru iptables ? For example port 25 smtp,143 imap, etc... Can squid handle that. In transparent mode. for the 1000th time here on the mailing list ... no, you cannot. Squid is an HTTP/HTTPS proxy and cannot hand

[squid-users] redirect all ports to squid

2014-09-30 Thread hadi
It's possible to redirect all ports to squid ? thru iptables ? For example port 25 smtp,143 imap, etc... Can squid handle that. In transparent mode. smime.p7s Description: S/MIME cryptographic signature ___ squid-users mailing list squid-users@lists.sq

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/10/2014 3:59 a.m., Steve Hill wrote: > > On 30.09.14 15:13, Amos Jeffries wrote: > >> IIRC the valgrind report is strangely at the end of mgr:info >> rather than mgr:mem. > > In that case the wiki is wrong. :) Anyway, it doesn't show up on > ei

Re: [squid-users] squid bandwidth saving optimization for specific sites

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 05:28 PM, Ahmd wrote: > and there are more websites . Where? Eliezer -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJUKshtAAoJENxnfXtQ8ZQUInYH/0Q7vkvhaSbLcvXeztchPdEm IxXpYuI0wkz8/+T8spZ8ls1iw8NFkGB4WdYXj7lXvQQSsjPSzk

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30/09/2014 6:33 p.m., Victor Sudakov wrote: > Victor Sudakov wrote: >> Amos Jeffries wrote: >>> >>> You have 200 MB of RAM locked up in IDENT lookups. >>> >>> Probably http://bugs.squid-cache.org/show_bug.cgi?id=3803 >> >> I have temporarily disa

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Steve Hill
On 30.09.14 15:13, Amos Jeffries wrote: IIRC the valgrind report is strangely at the end of mgr:info rather than mgr:mem. In that case the wiki is wrong. :) Anyway, it doesn't show up on either of them for me so I guess you might be right that it isn't "real" leaked memory. (I still thought

Re: [squid-users] 301 Error in squid -> followed by 302

2014-09-30 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/10/2014 3:00 a.m., Mr C K wrote: > Hmm, i see the problem but if i not use squid it works, i tried > squid in all different ways. > > http_port 3128 http_port 3128 accell http_port 3128 intercept > > not tproxy since i use FreeBSD. > > Could it

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Steve Hill
On 29.09.14 13:39, Eliezer Croitoru wrote: Hey Steve, Can you share the basic cache manager requests statistics and the up time for the service? (mgr:info) This is with 8 workers and was restarted this morning, about 6 hours ago. As you can see, it's using about 5GB at the moment - as mentio

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/09/2014 10:04 p.m., Steve Hill wrote: > On 28.09.14 08:34, Eliezer Croitoru wrote: > >> Also to minimize the leak source try to share more information >> about your usage. Are you using SMP workers or not? What is the >> mem and info options in

Re: [squid-users] 301 Error in squid -> followed by 302

2014-09-30 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/10/2014 1:45 a.m., Mr C K wrote: > When i use squid and get headers like, > > HTTP/1.1 301 Moved Permanently Location: http://www.hotmail.com/ > > squid ends up in a endless loop. Not Squid. > > ERR_TOO_MANY_REDIRECTS This is a Chrome web br

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 About the memory page size: getconf PAGESIZE getconf PAGE_SIZE One of the above should provide the basic information. Waiting for some more info. Eliezer On 09/30/2014 04:10 PM, Amos Jeffries wrote: > The unusual one you should expect to be first i

Re: [squid-users] squid bandwidth saving optimization for specific sites

2014-09-30 Thread Ahmd
Hi eleizer, Here is sample of them : = and there are more websites . can u help me with refresh pattern config ? here is my current squid config : = [root@squidsmp ~]# cat /etc/squid/squid.conf # Example rule allowing acces

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/10/2014 1:24 a.m., Victor Sudakov wrote: > Eliezer Croitoru wrote: >>> Attaching two cachemgr reports: right after squid restart and >>> several hours later (grown to 816M in SIZE). >> I am not very good at calculating what I do not know how to y

[squid-users] 301 Error in squid -> followed by 302

2014-09-30 Thread Mr C K
When i use squid and get headers like, HTTP/1.1 301 Moved Permanently Location: http://www.hotmail.com/ squid ends up in a endless loop. ERR_TOO_MANY_REDIRECTS Some say to use u url_rewriter or location_rewrite, but how and where to read more about this. or is it that simple that squid can't h

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Victor Sudakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eliezer Croitoru wrote: > > Attaching two cachemgr reports: right after squid restart and > > several hours later (grown to 816M in SIZE). > I am not very good at calculating what I do not know how to yet! > What I do understand is that "Cumulative all

Re: [squid-users] ERROR: URL-rewrite

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Alejandro, Can I ask where in the site have you taken this code from? Using php as a helper is not such a good choice due to couple issues it has with squid "stdin\stdout" emulation. You'd better use perl\python\ruby\other then php unless you fou

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 08:33 AM, Victor Sudakov wrote: > Attaching two cachemgr reports: right after squid restart and > several hours later (grown to 816M in SIZE). I am not very good at calculating what I do not know how to yet! What I do understand is that "

Re: [squid-users] leaking memory in squid 3.4.8 and 3.4.7.

2014-09-30 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 05:11 AM, Victor Sudakov wrote: >> >> Can you share the basic cache manager requests statistics and the >> up time for the service? (mgr:info) >> >> This would give us a basic idea of the load\requests needed to >> reproduce it. > > I

Re: [squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread Neddy, NH. Nam
I've used Chrome 38 and Firefox 32 when open squid-cache.org and it returns the same 403 Error. On Tue, Sep 30, 2014 at 4:40 PM, James Harper wrote: >> >> without "www.*" -->> Forbidden You don't have permission to access / on >> this >> server. >> > > Some browsers (Chrome?) will "help" by prep

Re: [squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread Kinkie
Hi, It is one of the unfortunate side effects of the main server dying. The sysadmins are working hard to restore services but our manpower is limited so we have to prioritize. Feel free to submit a but to the bugzilla database so it is not forgotten. If you wish to help out, please consider don

Re: [squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread James Harper
> > without "www.*" -->> Forbidden You don't have permission to access / on > this > server. > Some browsers (Chrome?) will "help" by prepending www on the front for you... if you type just "squid-cache.org" it will turn it into http://www.squid-cache.org and you won't see the problem. Maybe

Re: [squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread Amm
I had pointed this out few months back but I suppose it was not corrected or not considered necessary. Amm. On 09/30/2014 02:15 PM, Дмитрий Шиленко wrote: without "www.*" -->> Forbidden You don't have permission to access / on this server. Visolve Squid писал 30.09.2014 11:42: Hi, The htt

Re: [squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread Дмитрий Шиленко
without "www.*" -->> Forbidden You don't have permission to access / on this server. Visolve Squid писал 30.09.2014 11:42: Hi, The http://www.squid-cache.org/ domain web site is working fine. We have accessed the site a min ago. Regards, ViSolve Squid On 9/30/2014 1:47 PM, Neddy, NH. Nam w

Re: [squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread Visolve Squid
Hi, The http://www.squid-cache.org/ domain web site is working fine. We have accessed the site a min ago. Regards, ViSolve Squid On 9/30/2014 1:47 PM, Neddy, NH. Nam wrote: Hi, I "accidentally" access squid-cache.org and get 403 Forbidden error, and am wondering why NOT redirect to WWW.squid

[squid-users] Squid-cache.org won't redirect to www.squid-cache.org?

2014-09-30 Thread Neddy, NH. Nam
Hi, I "accidentally" access squid-cache.org and get 403 Forbidden error, and am wondering why NOT redirect to WWW.squid-cache.org automatically? I'm sorry if it's intention. ~Ned ___ squid-users mailing list squid-users@lists.squid-cache.org http://list