Re: [squid-users] Problem compiling Squid 3.1.18 on Ubuntu 10.04 LTS - store.cc

2011-12-06 Thread Silamael
On 12/06/2011 04:09 AM, Amos Jeffries wrote: It is only affecting adaptation (ICAP/eCAP) builds, so if you can run happily without those features use --disable, or comment out line 376 of src/store.cc. Thank you for the testing offer. We can replicate it already so the only help needed is

Re: [squid-users] compile error on Squid 3.1.18

2011-12-06 Thread Amos Jeffries
On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX--mode=link g++ -Wall

Re: [squid-users] Cache has stopped using memory?

2011-12-06 Thread Amos Jeffries
On 6/12/2011 5:04 p.m., Sean SPALDING wrote: Hi all, I recently noticed one of my squid servers reverse its normal usage stats for: Request Memory Hit Ratios: 5min: 0.6%, 60min: 0.5% Request Disk Hit Ratios:5min: 41.7%, 60min: 48.3% Normal usage looks more like:

Re: [squid-users] increasing file descriptors in Ubuntu 10.04/2.7.STABLE9

2011-12-06 Thread Amos Jeffries
On 6/12/2011 7:54 p.m., Sean Boran wrote: Hi, On squid proxy using the stock Ubuntu squid packages, the file descriptors need to be increased. I found two suggestions: http://chrischan.blog-city.com/ubuntu_804_lts_increasing_squid_file_descriptors.htm but ulimit -n was still 1024 after

RE: [squid-users] limiting connection not working 3.1.4

2011-12-06 Thread J. Webster
http_access deny manager http_access allow ncsa_users So all logged in users have unlimited access? http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny to_localhost http_access deny maxuser These deny rules are placed below the allow rule letting

RE: [squid-users] limiting connection not working 3.1.4

2011-12-06 Thread J. Webster
Also, I now get a: 2011/12/06 05:22:49| squid.conf line 50: refresh_pattern -i (/cgi-bin/|?) 0 0% 0 2011/12/06 05:22:49| refreshAddToList: Invalid regular expression '(/cgi-bin/|?)  ': Invalid preceding regular expression FATAL: Bungled squid.conf line 65: delay_access allow

Re: [squid-users] limiting connection not working 3.1.4

2011-12-06 Thread Amos Jeffries
On 6/12/2011 11:04 p.m., J. Webster wrote: http_access deny manager http_access allow ncsa_users So all logged in users have unlimited access? http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny to_localhost http_access deny maxuser These deny rules are placed

Re: [squid-users] limiting connection not working 3.1.4

2011-12-06 Thread Amos Jeffries
On 6/12/2011 11:22 p.m., J. Webster wrote: Also, I now get a: 2011/12/06 05:22:49| squid.conf line 50: refresh_pattern -i (/cgi-bin/|?) 0 0% 0 2011/12/06 05:22:49| refreshAddToList: Invalid regular expression '(/cgi-bin/|?) ': Invalid preceding regular expression FATAL:

Re: [squid-users] Problem compiling Squid 3.1.18 on Ubuntu 10.04 LTS - store.cc

2011-12-06 Thread Amos Jeffries
FYI this is now being tracked as http://bugs.squid-cache.org/show_bug.cgi?id=3440 On 6/12/2011 4:44 p.m., Paul Freeman wrote: Amos, I was just having a bit of a play and found that in line 376, if *producer is changed to producer the compile problem goes away. This may make no sense at all

RE: [squid-users] limiting connection not working 3.1.4

2011-12-06 Thread J. Webster
delay_access allow_all still seems to throw an error: [root@264219 myscripts]# service squid restart Stopping squid:    [FAILED] Starting squid:    [FAILED] 2011/12/06 05:48:07| Processing Configuration File:

Re: [squid-users] compile error on Squid 3.1.18

2011-12-06 Thread kzl
yes, it's from clean set of source.  configure option:  ./configure --enable-icap-client --enable-ssl --prefix=/export/home/user/squid-3118 --enable-storeio=diskd,aufs,ufs --with-aio-threads=N --enable-removal-polices=heap,lru --enable-icmp --enable-snmp --enable-cache-digests  

Re: [squid-users] limiting connection not working 3.1.4

2011-12-06 Thread Amos Jeffries
On 6/12/2011 11:50 p.m., J. Webster wrote: delay_access allow_all still seems to throw an error: [root@264219 myscripts]# service squid restart Stopping squid:[FAILED] Starting squid:[FAILED] 2011/12/06

Re: [squid-users] Problem compiling Squid 3.1.18 on Ubuntu 10.04 LTS - store.cc

2011-12-06 Thread Amos Jeffries
On 6/12/2011 11:38 p.m., Amos Jeffries wrote: FYI this is now being tracked as http://bugs.squid-cache.org/show_bug.cgi?id=3440 Patch applied. It will be available in http://www.squid-cache.org/Versions/v3/3.1/changesets/ when the mirrors pick it up (2 hours). Amos

Re: [squid-users] squid dies: ssl_crtd helpers are crashing too rapidly

2011-12-06 Thread Sean Boran
Hi, Hmm. Is that negotiation between browser and squid or between squid and the destination site? Openssl is 0.9.8k (standard with Ubuntu Lucid 10.04) I wiped /var/lib/squid_ssl_db/certs, and re-ran /usr/local/squid/libexec/ssl_crtd -c -s /var/lib/squid_ssl_db /var/lib/squid_ssl_db/certs so

[squid-users] deafult configure options?

2011-12-06 Thread J. Webster
I just updated to 3.1.18 but am not sure I have all the correct configure options. The version that comes with my distro is 3.1.4 and has: [root@264219 squid-3.1.18]# squid -v Squid Cache: Version 3.1.4 configure options:  '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu'

Re: [squid-users] increasing file descriptors in Ubuntu 10.04/2.7.STABLE9

2011-12-06 Thread Sean Boran
squid starts as root, but runs as the proxy user, or rather it changes its uid to that after starting (cache_effective_user). So I'm not sure is max_filedesc is effective before or after the chuid. I'll report back if I get the descriptor warning again. Thanks, Sean On 6 December 2011 10:59,

[squid-users] Squid 3.2.0.13 daily release

2011-12-06 Thread Nguyen Hai Nam
Hi, I've installed Squid 3.2.0.13 as an intercepting proxy server. Today I tried to build latest version 3.2.0.13 20111205, the problem is sometimes I suffer lost connection when downloading, eg. it freezes at xx% and I have to pause and start to continue, When open some websites, it's

Re: [squid-users] Make Squid in interception mode completely

2011-12-06 Thread Nguyen Hai Nam
Hi Edmonds, That's really like my setup right now. But, as Amos said, the traffic just pass from eth0 to eth1 but don't come to Squid, because it's bridged. Actually, when watching IP nat table, I still found some nat rules show up, but at client-side it still looks direct access. And more

Re: [squid-users] Make Squid in interception mode completely

2011-12-06 Thread Edmonds Namasenda
Your diagram or illustration shows a difference with my illustration. If you believe they are the same and getting header fields shown, look through your firewall and squid acls. # Edz. On Tue, Dec 6, 2011 at 5:05 PM, Nguyen Hai Nam nam...@nd24.net wrote: Hi Edmonds, That's really like my

Re: [squid-users] Make Squid in interception mode completely

2011-12-06 Thread Nguyen Hai Nam
Ah, sorry my mistake, you mean Squid box will be the new default gateway, right? If do so, I have to change default gateway on every computers, it's also like config proxy setting on each PC. Best regards ~ Neddie On Tue, Dec 6, 2011 at 9:19 PM, Edmonds Namasenda namase...@gmail.com wrote: Your

[squid-users] Re: kernel consideration for heavy loaded network

2011-12-06 Thread Benjamin
On 12/04/2011 11:33 AM, Benjamin wrote: Hi, We are using centos 6 64 bit for squid with tproxy feature.Our squid purpose is for only cache gain.So i wonder that do we need to compile vanilla kernel with any specific parameters or OS default kernel is enough to use with heavy network.

[squid-users] Squid cache killers

2011-12-06 Thread karj
Hi, I have come across a problem with a flash application that's using cache killer. For example all the request URL's ends with liveofday.xml_nocache=1322784085349 liveofday.xml_nocache=1322784100431 Is there a way for squid to cache all the xml files ignoring the nocache numerical value. I

Re: [squid-users] Squid 3.2.0.13 daily release

2011-12-06 Thread Amos Jeffries
cc'd to squid-dev so the developers can see this info. On Tue, 06 Dec 2011 16:43:38 +0700, Nguyen Hai Nam wrote: Hi, I've installed Squid 3.2.0.13 as an intercepting proxy server. Today I tried to build latest version 3.2.0.13 20111205, the problem is sometimes I suffer lost connection when

Re: [squid-users] squid dies: ssl_crtd helpers are crashing too rapidly

2011-12-06 Thread Amos Jeffries
On Tue, 6 Dec 2011 14:43:31 +0100, Sean Boran wrote: Hi, Hmm. Is that negotiation between browser and squid or between squid and the destination site? *client*NegotiateSSL is the client browser/agent. Openssl is 0.9.8k (standard with Ubuntu Lucid 10.04) I wiped

Re: [squid-users] Make Squid in interception mode completely

2011-12-06 Thread Amos Jeffries
On Tue, 6 Dec 2011 21:05:27 +0700, Nguyen Hai Nam wrote: Hi Edmonds, That's really like my setup right now. But, as Amos said, the traffic just pass from eth0 to eth1 but don't come to Squid, because it's bridged. Actually, when watching IP nat table, I still found some nat rules show up, but

Re: [squid-users] Squid cache killers

2011-12-06 Thread Amos Jeffries
On Tue, 6 Dec 2011 20:56:11 +0200, karj wrote: Hi, I have come across a problem with a flash application that's using cache killer. For example all the request URL's ends with liveofday.xml_nocache=1322784085349 liveofday.xml_nocache=1322784100431 Sigh. This kind of URL is the direct end

Re: [squid-users] deafult configure options?

2011-12-06 Thread Amos Jeffries
On Tue, 6 Dec 2011 13:47:32 +, J. Webster wrote: I just updated to 3.1.18 but am not sure I have all the correct configure options. The version that comes with my distro is 3.1.4 and has: [root@264219 squid-3.1.18]# squid -v Squid Cache: Version 3.1.4 configure options: 

RE: [squid-users] Cache has stopped using memory?

2011-12-06 Thread Sean SPALDING
I recently noticed one of my squid servers reverse its normal usage stats for: Request Memory Hit Ratios: 5min: 0.6%, 60min: 0.5% Request Disk Hit Ratios:5min: 41.7%, 60min: 48.3% Normal usage looks more like: Request Memory Hit Ratios:

Re: [squid-users] compile error on Squid 3.1.18

2011-12-06 Thread kzl
any hint on how I may check?  Many thanks. kz - Original Message - From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org Cc: Sent: Tuesday, December 6, 2011 5:45 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 6/12/2011 7:19 p.m., kzl wrote: There's