Re: [squid-users] Squid + TOS or DSCP based on domain to client

2011-06-10 Thread Amos Jeffries
On 09/06/11 21:42, christ...@wanxp.com wrote: Dear, as i know we can set TOS or DSCP on squid based on HIT or MISS using ZPH Feature. but is there any way to set TOS/DSCP based on acl domain ? in fact i want to set TOS 0x2 for domain www.facebook.com when return to client. so i can give better

Re: [squid-users] FATAL: Too many queued redirector requests

2011-06-10 Thread Amos Jeffries
On 09/06/11 20:16, Le Trung Kien wrote: Hi, I don't know how to handle memory for squid. Squid automatically breaks down itself and restarts: http://wiki.squid-cache.org/SquidFaq/SquidMemory In my squid.conf I set: url_rewrite_children 120 startup=30 idle=100 concurrency=0 You need 3.2

Re: [squid-users] How to disable Regular Proxy Access under Interception Mode?

2011-06-10 Thread Amos Jeffries
On 09/06/11 23:11, kkk kkk wrote: Hi everyone, I'm running Squid 3.1 in Interception mode that is set to intercept traffic to a list of 10 websites. One security concern I have is that anyone in my ACL can enter my proxy IP and port in their browser and use it as a regular proxy. Is there a

Re: [squid-users] A way/hack to force squid to die?

2011-06-10 Thread Tom Tux
From squid.conf.documented: --- SNIP --- # TAG: cache_mgr # Email-address of local cache manager who will receive # mail if the cache dies. The default is webmaster. #Default: # cache_mgr webmaster --- SNAP --- As I understand, squid will send a mail to the defined mail-recipient,

Re: [squid-users] A way/hack to force squid to die?

2011-06-10 Thread Amos Jeffries
On 10/06/11 08:32, da...@lang.hm wrote: On Thu, 9 Jun 2011, Helmut Hullen wrote: Hallo, Tom, Du meintest am 09.06.11: I need to verify, if I get a mail when squid dies (I put a correct mailaddress in cache_mgr-directive). Is there a way/hack to force squid to die? Yes - this daemon is

Re: [squid-users] A way/hack to force squid to die?

2011-06-10 Thread Amos Jeffries
On 09/06/11 23:24, Tom Tux wrote: Hi I need to verify, if I get a mail when squid dies (I put a correct mailaddress in cache_mgr-directive). Is there a way/hack to force squid to die? I tried several things like revoking permissions on the the cache-dir, moving cache.log away... - but squid is

Re: [squid-users] multiple http_port names

2011-06-10 Thread Amos Jeffries
On 10/06/11 09:34, errno wrote: I've got squid conf that looks a bit like the following snippet: # ... acl ip-192.168.1.2 myip 192.168.1.2 http_port 192.168.1.2:80 name=ip-192.168.1.2 http_port 192.168.1.2:8080 name=ip-192.168.1.2 tcp_outgoing_address 192.168.1.2 ip-192.168.1 # ...

Re: [squid-users] A way/hack to force squid to die?

2011-06-10 Thread Helmut Hullen
Hallo, Tom, Du meintest am 10.06.11: From squid.conf.documented: -+- SNIP --- # TAG: cache_mgr # Email-address of local cache manager who will receive # mail if the cache dies. The default is webmaster. if the cache dies That's another thing than a dying squid. Viele

Re: [squid-users] A way/hack to force squid to die?

2011-06-10 Thread Tom Tux
Mmm... Now I were able to force squid to die (with gdb): From cache.log: --- SNIP --- (squid)(death+0x37)[0x564d37] /lib64/libpthread.so.0(+0xf5d0)[0x7f99ebe705d0] FATAL: Received Segment Violation...dying. 2011/06/10 10:37:28.408| storeDirWriteCleanLogs: Starting... 2011/06/10 10:37:28.409|

[squid-users] Squid and DNS

2011-06-10 Thread ML Alasta
Hi I have two Squid which make all requests DNS with the same source port. This comportent entraine problems with my load balancer. Are there a solution for random the source port of all DNS requests ? Best Regard Samuel

Re: [squid-users] multiple http_port names

2011-06-10 Thread errno
On Friday, June 10, 2011 02:20:49 AM errno wrote: * the single instance listening on multiple ip:port http_ports: 192.168.1.2:80, 192.168.1.2:8080, 192.168.1.2:80 and 192.168.1.2:8080 Damn, that should have said: * the single instance listening on multiple ip:port http_ports: 192.168.1.2:80,

Re: [squid-users] A way/hack to force squid to die?

2011-06-10 Thread Amos Jeffries
On 10/06/11 20:41, Tom Tux wrote: Mmm... Now I were able to force squid to die (with gdb): From cache.log: --- SNIP --- (squid)(death+0x37)[0x564d37] /lib64/libpthread.so.0(+0xf5d0)[0x7f99ebe705d0] FATAL: Received Segment Violation...dying. 2011/06/10 10:37:28.408| storeDirWriteCleanLogs:

Re: [squid-users] Squid and DNS

2011-06-10 Thread Amos Jeffries
On 10/06/11 21:10, ML Alasta wrote: Hi I have two Squid which make all requests DNS with the same source port. This comportent entraine problems with my load balancer. Are there a solution for random the source port of all DNS requests ? Squid choses a random DNS port every startup, and

Re: [squid-users] multiple http_port names

2011-06-10 Thread Amos Jeffries
On 10/06/11 21:20, errno wrote: On Friday, June 10, 2011 12:07:49 AM Amos Jeffries wrote: On 10/06/11 09:34, errno wrote: I've got squid conf that looks a bit like the following snippet: # ... acl ip-192.168.1.2 myip 192.168.1.2 http_port 192.168.1.2:80 name=ip-192.168.1.2 http_port

[squid-users] Re: Squid 3.2 CONNECT not working with NTLM - logs

2011-06-10 Thread Alex Crow
Hi, I noticed a few people have downloaded my logs - has anyone found anything useful? It does appear to be a bug to me, but if it is a change in behaviour I'd be happy of any hints to fix my config. All the best Alex Further to my original post, I've found that NTLM auth does not work

Re: [squid-users] multiple http_port names

2011-06-10 Thread errno
On Friday, June 10, 2011 07:33:07 AM Amos Jeffries wrote: snip ... behaved as intended: when clients went through the http_port listener 192.168.2.2:80, the tcp_outgoing_address worked as expected, wherein http://www.whatismyip.com displayed 192.168.2.2 rather than 192.168.1.1. *

Re: [squid-users] some thougs about pushing objects

2011-06-10 Thread Luis Daniel Lucio Quiroz
Le vendredi 03 juin 2011 23:52:59, Eliezer Croitoru a écrit : well if you do want to push an object you can do it in a more elegant way: export http_proxy=http://localhost:3128 ; wgethttp://fqdn/object; and use it on a big site using recursive download and on ram drive. also another

[squid-users] squid 3.1.

2011-06-10 Thread Shenavandeh
Hi, I have a squid installation that crashes twice a day under the load of 7 Mbps bandwidth with the following message in squid.out with no specific traces in cache.log Startup: Fri Jun 10 15:46:20 dying from an unhandled exception: !theConsumer terminate called after throwing an instance of

[squid-users] wtf

2011-06-10 Thread MrNicholsB
squid is caching but refuses to serve cached content to my peers, its = a small home network and I need to get an estimate for, something that = will likely take about an hour or two worth of work, to get my squid working properly, its quite frustrating to see squids cache growing and 1gig

Re: [squid-users] wtf

2011-06-10 Thread Amos Jeffries
On 11/06/11 08:47, MrNicholsB wrote: squid is caching but refuses to serve cached content to my peers, its = a small home network and I need to get an estimate for, something that = will likely take about an hour or two worth of work, to get my squid working properly, its quite frustrating to