Re: [squid-users] Use squidclient to request ICP query

2009-06-29 Thread Amos Jeffries
Lu, Roy wrote: Hi List, Is there a way to use squidclient to send an ICP_QUERY to squid? I know I can send an HTTP request to one squid and let it send an ICP_QUERY to its sibling. But I am wondering if it is possible to send an ICP_QUERY to the sibling squid directly using squidclient? Not cu

Re: [squid-users] squid and ipv6

2009-06-29 Thread Amos Jeffries
Laurent Luce wrote: Hello, I am running Squid 2.7 on Windows on my laptop mainly to cache content from the internet. I know that Squid 2.7 does not have IPv6 support. I am going to Japan and I will connect to the internet using a 3G card on my laptop. Do you think I will have some issues with

[squid-users] configuration for BYTE hit ratio

2009-06-29 Thread Leonardo Rodrigues
what would be the parameters that i should change for getting a great BYTE hit ratio in squid I was thinking of only caching files bigger than 1Mb and lower than 20Mb, let's say what parameters should i configure to acchieve that ? -- Atenciosamente / Sincerily,

[squid-users] Squid 3.1.0.9 beta is available

2009-06-29 Thread Amos Jeffries
The Squid HTTP Proxy team is very pleased to announce the availability of the Squid-3.1.0.9 beta release! Another release with large amounts of improvements. Most of the large changes this time have been fixes for the distribution packaging side of things as more operating system distribution

[squid-users] X-Cache regex

2009-06-29 Thread Chudy Fernandez
Can we use this to X-Cache? --> acl aclname rep_header header-name [-i] any\.regex\.here Because I've been try to match X-Cache HIT from Server for the purpose of log_access deny HIT. i've tried; acl hit rep_header X-Cache ^HIT from Server$ <- not working acl hit rep_header X-Cache HIT\ from\

[squid-users] squid3 MRTG

2009-06-29 Thread Monah Baki
Hi all, I'm running squid on FreeBSD 7.2. Where can I find documentation on installing MRTG to monitor squid. Basically I'm running Squid 3 stable 16 and net-snmp-5.4.2.1 and mrtg-2.16. Assuming all support each other or I need to choose a certain version over another. Thank you

Re: Fw: [squid-users] NTLM Auth and Java applets (Any update)

2009-06-29 Thread Gontzal
Hi Kevin, Thanks for your post, I think is a very good solution to the Java security hole. I've seen that for using header_access and header_replace you need to compile with the --enable-http-violations. My question is, if I compiled squid without this option, is there any way to add this featur

Re: [squid-users] Cannot login to Yahoo webmail

2009-06-29 Thread Amos Jeffries
austinhere wrote: We can't tell whats going wrong from the given info. Perhapse the HTTP headers involved may help. And an indication whether the browser is configured to use the proxy or if its intercepted. Sorry for the long post but here's the Header info from the login process through the

Re: [squid-users] compiling squid in windows

2009-06-29 Thread Henrik Nordstrom
lör 2009-06-13 klockan 16:40 +0530 skrev Vicks: > i installed all the applications as per given on the page for > compiling squid in windows. but i dnt know which file is to be > executed or how to compile squid sources then. can ny1 help. Which compiler are you using? Visual Studio 6, or MinGW?

Re: [squid-users] Peer relationship with WCCP

2009-06-29 Thread Henrik Nordstrom
sön 2009-06-14 klockan 03:01 -0700 skrev Stand H: > I have few squid servers running wccp with a cisco router. I don't > know if we can save more bandwidth by also peering them together. Any > idea? You can peer them, but additional traffic savings will be pretty minimal thanks to WCCP distributi

Re: [squid-users] acl maxconn per file or url

2009-06-29 Thread Henrik Nordstrom
sön 2009-06-14 klockan 06:23 +0300 skrev MonzT: > I want to know if there is any way to limit maximum connection per FILE or > URL not just client ip. Not in squid, at least not without first adding the feature. > The usual 'maxconn' command limits connection by ip which is not what we > want i

Re: [squid-users] Use squidclient to request ICP query

2009-06-29 Thread Henrik Nordstrom
lör 2009-06-27 klockan 17:39 -0700 skrev Lu, Roy: > Hi List, > > Is there a way to use squidclient to send an ICP_QUERY to squid? I know > I can send an HTTP request to one squid and let it send an ICP_QUERY to > its sibling. But I am wondering if it is possible to send an ICP_QUERY > to the sibli

Re: [squid-users] Problem with siblings running on different http ports

2009-06-29 Thread Henrik Nordstrom
fre 2009-06-26 klockan 10:28 -0700 skrev Lu, Roy: > I have two squid sibling caches in accelerator mode with different http > ports (squid A port 3128 and squid B 3129). If these ports are NAT:ed/loadbalanced then see the vport option for specifying the actual port number.. This avoids issues cau

Re: [squid-users] Re: can't failover in round-robin

2009-06-29 Thread Henrik Nordstrom
fre 2009-06-26 klockan 10:18 +0400 skrev Ken Peng: > After long time (it's about 3 minutes), Squid found that peer was dead. > So my question is, by what way squid will find a peer is dead or alive? > Why it takes so long time? It's not time, it's 10 requests forwarded to the peer. The more traf

Re: [squid-users] Crash on Squid when clearign cache

2009-06-29 Thread Henrik Nordstrom
tor 2009-06-25 klockan 10:32 -0700 skrev Balaji Ganesan: > FAULTING_SOURCE_CODE: >797: >798: cleanup: >799: if (c2p[1] != -1) >800: close(c2p[1]); > > 801: if (fd_table[crfd].flags.open) >802: ipcCloseAllFD(-1, -1, crfd, cwfd); >803: if (prfd_ipc != -1) { >804: send(crf

Re: [squid-users] Updated CentOS/Squid/Tproxy Transparency steps.

2009-06-29 Thread Henrik Nordstrom
Would be great if you could dump this in a wiki article to make it easier to find (and update if needed). Regards Henrik tor 2009-06-25 klockan 12:30 -0500 skrev Ritter, Nicholas: > Some assumptions: > > 1) You are using a Cisco Router to redirect traffic to the squid box via > WCCP > > 2) 12.

Re: [squid-users] Architecture

2009-06-29 Thread Ronan Lucio
Adrian, Adrian Chadd escreveu: Just another random datapoint - I've just deployed my Squid-2 derivative (which is at least as fast as Squid-2.HEAD) as a forward proxy on some current generation hardware. It's peaking at 700 requests/sec and ~120mbit a sec with a ~ 30% byte hit rate. A reverse p

RE: [squid-users] Updated CentOS/Squid/Tproxy Transparency steps.

2009-06-29 Thread Ritter, Nicholas
Amos did this alreadyalthough the wiki article needs some corrections because Amos merged the older with the newer. I need to get that information to him. The steps, if followed in the wiki article may not work quite right. Nick -Original Message- From: Henrik Nordstrom [mailto:hen..

RE: [squid-users] Updated CentOS/Squid/Tproxy Transparency steps.

2009-06-29 Thread Henrik Nordstrom
mån 2009-06-29 klockan 16:11 -0500 skrev Ritter, Nicholas: > Amos did this alreadyalthough the wiki article needs some > corrections because Amos merged the older with the newer. I need to get > that information to him. The steps, if followed in the wiki article may > not work quite right. Per

[squid-users] Squid3 compile option. Which features are included by default?

2009-06-29 Thread Dayo Adewunmi
Hi, I'm installing squid3.0_16 from source to enable arp --enable-arp-acl On the wiki it says (http://wiki.squid-cache.org/SquidFaq/CompilingSquid): to see all available options. You will need to specify some of these options to enable or disable certain features. Some options which are used

[squid-users] Multiple simultaneous requests

2009-06-29 Thread Judson
I'm working with an application that generates a sort of strange traffic pattern, which is really hurting our cache rate. Basically, all of our users request a specific URL at the same time. As a result, we get many many misses as subsequent requests are coming in before the proxy request has re

Re: [squid-users] Architecture

2009-06-29 Thread Adrian Chadd
2009/6/30 Ronan Lucio : > Could you tell what hardware do you use? > Reading Squid-Guide > (http://www.deckle.co.za/squid-users-guide/Installing_Squid) it says Squid > isn't CPU intensive, says a multiprocessor machines would not increase speed > dramatically. > Its a dual quad core amd of some s

Re: [squid-users] Architecture

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 18:05:22 -0300, Ronan Lucio wrote: > Adrian, > > Adrian Chadd escreveu: >> Just another random datapoint - I've just deployed my Squid-2 >> derivative (which is at least as fast as Squid-2.HEAD) as a forward >> proxy on some current generation hardware. It's peaking at 700 >>

Re: [squid-users] Crash on Squid when clearign cache

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 22:52:49 +0200, Henrik Nordstrom wrote: > tor 2009-06-25 klockan 10:32 -0700 skrev Balaji Ganesan: > >> FAULTING_SOURCE_CODE: >>797: >>798: cleanup: >>799: if (c2p[1] != -1) >>800: close(c2p[1]); >> > 801: if (fd_table[crfd].flags.open) >>802: ipcCloseAllFD

Re: [squid-users] Squid3 compile option. Which features are included by default?

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 10:43:26 +0100, Dayo Adewunmi wrote: > Hi, > I'm installing squid3.0_16 from source to enable arp > > --enable-arp-acl > > On the wiki it says (http://wiki.squid-cache.org/SquidFaq/CompilingSquid): > > to see all available options. You will need to specify some of these > o

Re: [squid-users] squid3 MRTG

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 21:08:28 +0300, Monah Baki wrote: > Hi all, > > I'm running squid on FreeBSD 7.2. Where can I find documentation on > installing MRTG to monitor squid. > > Basically I'm running Squid 3 stable 16 and net-snmp-5.4.2.1 and > mrtg-2.16. Assuming all support each other or I nee

Re: [squid-users] Multiple simultaneous requests

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 17:33:35 -0700 (PDT), Judson wrote: > I'm working with an application that generates a sort of strange traffic > pattern, which is really hurting our cache rate. Basically, all of our > users request a specific URL at the same time. As a result, we get many > many misses as s

Re: [squid-users] acl maxconn per file or url

2009-06-29 Thread Chudy Fernandez
I think this well help acl maxcon maxconn 4 acl partial rep_header Content-Range .* http_reply_access deny partial maxcon - Original Message From: Henrik Nordstrom To: MonzT Cc: squid-users@squid-cache.org Sent: Tuesday, June 30, 2009 4:23:50 AM Subject: Re: [squid-users] acl maxcon

[squid-users] Squid 3 proxy server (non transparent) - Deny Google Talk Port

2009-06-29 Thread Johannes Sidarta
Hi all, At the moment I'm using 2 NIC (1 for external connected to ADSL modem / router) and 1 for internal network. External ethernet = eth0 (192.168.1.4) Internal ethernet = eth1 (192.168.0.4) Client IP = 192.168.0.20 I've installed Squid3 proxy server and use non-transparent mode. I've opened po

Re: [squid-users] configuration for BYTE hit ratio

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 11:36:21 -0300, Leonardo Rodrigues wrote: > what would be the parameters that i should change for getting a > great BYTE hit ratio in squid I was thinking of only caching files > bigger than 1Mb and lower than 20Mb, let's say > > what parameters should i config

Re: [squid-users] Architecture

2009-06-29 Thread Chudy Fernandez
I'm Using Quad core 3Ghz. Thats why I just run squid(2 instances, to support quick abort with delay pool) on virtual machine(with max usage of 2% so far) and the rest used it for games, and some electronic simulations. - Original Message From: Amos Jeffries To: Ronan Lucio Cc: squ

Re: Fw: [squid-users] NTLM Auth and Java applets (Any update)

2009-06-29 Thread Amos Jeffries
I agree this does look like a good clean solution. I'll look at implementing a small on/off toggle to do only this change for safer Java bypass. May not be very soon though. What version of Squid are you using? Meanwhile yes, you do have to add the option to the ./configure options and re-compil

Re: [squid-users] cache size and structure

2009-06-29 Thread Matus UHLAR - fantomas
My cache traffic volume (I/O) is about 2 Mbps a week with peaks of 3 Mbps. >> >> ehm, 2 megabits per socond "a week"? On 25.06.09 23:01, Riccardo Castellani wrote: > excuse me, 1 megabit per second for a week, so : > 1 Mb *60*60*24*7=604.800 / 8 = 75.600 MB about 76 GB traffic for week

Re: [squid-users] cache size and structure

2009-06-29 Thread Matus UHLAR - fantomas
>>> cache_dir ufs /usr/local/cache/1 3500 128 256 >>> cache_dir ufs /usr/local/cache/2 2500 128 256 >>> >> >> I'd strongly suggest using "aufs" instead of "ufs". On 25.06.09 22:51, Riccardo Castellani wrote: > if I have 1 Mbps for a week my cache size should be 76 GB, but now I have > 6 GB Well,

Re: [squid-users] Multiple simultaneous requests

2009-06-29 Thread Chris Woodfield
Are the requests coming in at *exactly* the same time? If not, collapsed_fowarding should help if you're running 2.x... http://www.squid-cache.org/Versions/v2/2.7/cfgman/collapsed_forwarding.html -C On Jun 29, 2009, at 8:33 PM, Judson wrote: I'm working with an application that generates a

Re: [squid-users] acl maxconn per file or url

2009-06-29 Thread Amos Jeffries
On Mon, 29 Jun 2009 18:50:30 -0700 (PDT), Chudy Fernandez wrote: > I think this well help > > acl maxcon maxconn 4 > acl partial rep_header Content-Range .* > http_reply_access deny partial maxcon > I wonder What this _does_ is cause replies to be sent back to the client with all range enc

Re: [squid-users] Squid 3 proxy server (non transparent) - Deny Google Talk Port

2009-06-29 Thread Amos Jeffries
On Tue, 30 Jun 2009 11:53:03 +1000, Johannes Sidarta wrote: > Hi all, > At the moment I'm using 2 NIC (1 for external connected to ADSL modem > / router) and 1 for internal network. > External ethernet = eth0 (192.168.1.4) > Internal ethernet = eth1 (192.168.0.4) > Client IP = 192.168.0.20 > > I'

Re: [squid-users] memory usage for squid-3.0.STABLE15

2009-06-29 Thread Matus UHLAR - fantomas
On 25.06.09 15:39, martin.pichlma...@continental-corporation.com wrote: > I have a question regarding memory usage for squid. I have 4 proxies, each > has about 200-400 req/s and 2-5 MB/s with ntlm_auth and about 1000 lines > of acl, > squid version is 3.0.STABLE15 on Redhat AS 5 Linux. > They ar

[squid-users] Compress/Zipped Web pages?

2009-06-29 Thread Wilson Hernandez - MSD, S. A.
Hello. I heard a friend of mine talking about how he compresses the requested web pages and serves it to users (compressed) with MS ISA Server. Can that be done with Squid? if is true.

RE: [squid-users] Serving from the cache when the origin server crashes

2009-06-29 Thread Elli Albek
Thanks, this is basically the solution. Can I do header override in squid to add this if the origin does not send this header? Would it make sense for squid to keep the state of the origin server for a few seconds, so it dose not have to contact it when it is not accessible on each individual requ