[squid-users] Changing cache_dir line

2011-01-27 Thread Dayo Adewunmi
Hi I'm using squid 2.6.18-1ubuntu3 8GB RAM Intel Xeon Quad Core @ 2.00GHz each My cache_dir is still default: cache_dir ufs /var/spool/squid 100 16 256 /var is in the root partition and there's not much space left. I want to use /srv for caching instead, because I've got about 60GB free

Re: [squid-users] Changing cache_dir line

2011-01-27 Thread Amos Jeffries
On 27/01/11 22:31, Dayo Adewunmi wrote: Hi I'm using squid 2.6.18-1ubuntu3 8GB RAM Intel Xeon Quad Core @ 2.00GHz each My cache_dir is still default: cache_dir ufs /var/spool/squid 100 16 256 /var is in the root partition and there's not much space left. I want to use /srv for caching

[squid-users] Re: SQUID 3.1.10 keep 100% cpu after exiting

2011-01-27 Thread Sunny
Hi there, can somebody suggest how should I provide more info? at that time squid does not response to squidclient anymore. Cheers. On Mon, Jan 24, 2011 at 8:28 PM, Sunny sunyuc...@gmail.com wrote: Hi there, since I upgraded to 3.1 (both .6 .9 and .10) have such problem. After I issue

Re: [squid-users] Documentation for non-Sys Admins

2011-01-27 Thread Matus UHLAR - fantomas
On 21.01.11 15:52, Andy Nagai wrote: As a developer I need to know how to control individual page caching. I heard from somebody to add a expire meta tag to refresh the cache. Two things I need to do: 1) prevent caching for certain pages 2) set the cache refresh rate for the rest of the

[squid-users] Asynchronous refresh

2011-01-27 Thread hever
Hello, is it possible to refresh/revalidate the squid cache asynchronously? That means if a client triggers a refresh of an object stored in the cache, could this request be served (with old data) from the cache and the refresh done in the background? Actually if a refresh happens the

RE: [squid-users] sslbump and always_direct

2011-01-27 Thread Ming Fu
Hi Amos, Does this mean if I use sslbump, I can't have parent proxy. Regards, Ming -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: January-26-11 5:53 PM To: squid-users@squid-cache.org Subject: Re: [squid-users] sslbump and always_direct On Wed, 26 Jan 2011

[squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Michelle Dawson
Hi Guys, I have just compiled the Squid 3.2.0.4 from source. But now that it is compiled it the header of the squid.config file says it is version 2.6 and the headers also say (squid/2.6.STABLE21). I am also not able to use the new random function and some acl calls for domain filtering. Did I

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Marcus Kool
Michelle most likely you have Squid 2.6 on your system and now also installed 3.2 in a different location. What is the output of /usr/local/squid/sbin/squid -v Marcus Michelle Dawson wrote: Hi Guys, I have just compiled the Squid 3.2.0.4 from source. But now that it is compiled it the

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Ralf Hildebrandt
* Marcus Kool marcus.k...@urlfilterdb.com: Michelle most likely you have Squid 2.6 on your system and now also installed 3.2 in a different location. What is the output of /usr/local/squid/sbin/squid -v Marcus E.g. in Debian it's squid and squid3 -- just check which one is running

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Giles Coochey
On 27/01/2011 15:08, Ralf Hildebrandt wrote: E.g. in Debian it's squid and squid3 -- just check which one is running right now He compiled from source though... -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Ralf Hildebrandt
* Giles Coochey gi...@coochey.net: On 27/01/2011 15:08, Ralf Hildebrandt wrote: E.g. in Debian it's squid and squid3 -- just check which one is running right now He compiled from source though... Well yes, but if he/she had been running Debian, then the packaged squid is called squid3...

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Giles Coochey
On 27/01/2011 15:21, Ralf Hildebrandt wrote: * Giles Coocheygi...@coochey.net: On 27/01/2011 15:08, Ralf Hildebrandt wrote: E.g. in Debian it's squid and squid3 -- just check which one is running right now He compiled from source though... Well yes, but if he/she had been running Debian,

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Ralf Hildebrandt
* Giles Coochey gi...@coochey.net: OK but he's running Centos 5.5 :-) Oh well. Then I have no idea :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Michelle Dawson
Thank you for you reply, Yes there were two versions of squid which is very odd since there were no versions on it before I compiled it, because I have checked it. I managed to remove the 2.6 now via yum remove command, but now I dont really know how to start squid 3.2. The service squid start

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Michelle Dawson
Thank you for you reply, Yes there were two versions of squid which is very odd since there were no versions on it before I compiled it, because I have checked it. I managed to remove the 2.6 now via yum remove command, but now I dont really know how to start squid 3.2. The service squid start

RE: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Volker-Yoblick, Adam
If you run as root, you have to set your cache_effective_user, and then chown the log files to the effective user. For example, in my squid.conf, I have the following line: cache_effective_user squid So I had to make sure I did the following before running squid: Chown -R

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Giles Coochey
On 27/01/2011 15:52, Volker-Yoblick, Adam wrote: I've tried by starting squid in the /usr/local/squid/sbin/ folder: [root@vm1 squid-3.2.0.4]# /usr/local/squid/sbin/squid status WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log /usr/local/squid/var/logs/cache.log: Permission

[squid-users] Content filtering (aka SafeSearch) using Squirm URL rewriting

2011-01-27 Thread Leonardo
Dear all, I have a working install of Squid 3.1.7 with Squirm 1.0-BetaB, which provides URL rewriting. The Squid proxy is used in a school environment and we'd like to use Squirm to block adult-oriented search results. So far, the only search engine I discovered doing that is Google, which can

[squid-users] Bad Pattern when using a type random acl in the config file

2011-01-27 Thread Michelle Dawson
Hi, When I try to start Squid 3.2.0.4 i get an error: aclParseRandomData: Bad Pattern: '.3' FATAL: Bungled squid.conf line 39: acl percentA random .3 Squid Cache (Version 3.2.0.4): Terminated abnormally. What am I doing wrong with the random patternt? thank you, Michelle D.

[squid-users] Repeated auth challenges, credentialsttl 8 hour

2011-01-27 Thread Jim Moseby
Some of my users are getting repeated auth challenges, even though I have auth_param basic credentialsttl 8 hour in squid.conf. What triggers the auth challenge, and how can I configure so my users will only be challenged once per 8 hour workday? Thanks! Jim CONFIDENTIALITY NOTICE: This

Re: [squid-users] Asynchronous refresh

2011-01-27 Thread Amos Jeffries
On 28/01/11 01:00, he...@web.de wrote: Hello, is it possible to refresh/revalidate the squid cache asynchronously? That means if a client triggers a refresh of an object stored in the cache, could this request be served (with old data) from the cache and the refresh done in the background?

Re: [squid-users] Bad Pattern when using a type random acl in the config file

2011-01-27 Thread Amos Jeffries
On 28/01/11 04:15, Michelle Dawson wrote: Hi, When I try to start Squid 3.2.0.4 i get an error: aclParseRandomData: Bad Pattern: '.3' FATAL: Bungled squid.conf line 39: acl percentA random .3 Squid Cache (Version 3.2.0.4): Terminated abnormally. What am I doing wrong with the random patternt?

Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

2011-01-27 Thread Chad Naugle
I was also thinking the same. Chances are, you have used your existing system-based scripts to launch Squid, which would need their paths modified, assuming you want to continue using /usr/local/squid as your prefix, otherwise compile Squid with --prefix=/usr for example. Better yet, figure out

Re: [squid-users] Repeated auth challenges, credentialsttl 8 hour

2011-01-27 Thread Amos Jeffries
On 28/01/11 04:26, Jim Moseby wrote: Some of my users are getting repeated auth challenges, even though I have auth_param basic credentialsttl 8 hour in squid.conf. What triggers the auth challenge, and how can I configure so my users will only be challenged once per 8 hour workday? Triggers

Re: [squid-users] Re: SQUID 3.1.10 keep 100% cpu after exiting

2011-01-27 Thread Amos Jeffries
On 27/01/11 23:13, Sunny wrote: Hi there, can somebody suggest how should I provide more info? at that time squid does not response to squidclient anymore. Cheers. On Mon, Jan 24, 2011 at 8:28 PM, Sunnysunyuc...@gmail.com wrote: Hi there, since I upgraded to 3.1 (both .6 .9 and .10) have

Re: [squid-users] sslbump and always_direct

2011-01-27 Thread Amos Jeffries
On 28/01/11 01:53, Ming Fu wrote: Hi Amos, Does this mean if I use sslbump, I can't have parent proxy. Should work most of the time. Just be aware there is at least one bug. We know it bites badly when there is auth involved, other circumstances are unknown. -Original Message-

[squid-users] Parent squid + child squid = bad redirection ?

2011-01-27 Thread Karakontakis Apostolos
Hi, I have a child-to-parent proxy configuration to access internet. I use that configuration for almost 2 years now and i had never had a problem displaying a page, but last week i found out that there is ONLY A SPECIFIC PAGE that it is not displaying well ONLY when the client access the

Re: [squid-users] Asynchronous refresh

2011-01-27 Thread Hasanen AL-Bana
is it implement it yet in 2.7 ?? Is there any patch for it ? I googled and found nothing , if such thing really exists it would really boost the service speed for clients. On Thu, Jan 27, 2011 at 7:20 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 28/01/11 01:00, he...@web.de wrote:

Re: [squid-users] Documentation for non-Sys Admins

2011-01-27 Thread Andy Nagai
When I use Etag I need to hit the DB for content and generate the hash every single page load in order to determine if page is modified or not. I would like to avoid this. We would like to refresh the cache very 15 minutes regardless if content is modified or not. This avoids hitting the db each

RE: [squid-users] sslbump and always_direct

2011-01-27 Thread Ming Fu
Hi Amos, Thanks for the insight. Do you remember the bug number? I want to understand the issue especially when unencrypted traffic can be sent. Ming -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: January-27-11 11:59 AM To: squid-users@squid-cache.org

Re: [squid-users] Repeated auth challenges, credentialsttl 8 hour

2011-01-27 Thread Jim Moseby
On 1/27/2011 at 11:40 AM, in message 4d41a000.6010...@treenet.co.nz, Amos Jeffries squ...@treenet.co.nz wrote: On 28/01/11 04:26, Jim Moseby wrote: Some of my users are getting repeated auth challenges, even though I have auth_param basic credentialsttl 8 hour in squid.conf. What triggers

Re: [squid-users] Content filtering (aka SafeSearch) using Squirm URL rewriting

2011-01-27 Thread Marcus Kool
Leonardo, I suggest to look at ufdbGuard. It is a free URL filter with additional security features and SafeSearch enforcement for many search engines. Marcus Leonardo wrote: Dear all, I have a working install of Squid 3.1.7 with Squirm 1.0-BetaB, which provides URL rewriting. The Squid

[squid-users] Squid proxy server - Client certificate (reverse proxy)

2011-01-27 Thread Qvalpro Solutions
Hi Folks, I just started exploring Squid proxy and I am clueless of how to use Squid in my setup. Some background on why I am trying to use the Squid proxy: I have a billing application installed in a windows server. This particular billing application uses some proprietary file system, which

[squid-users] Squid and SSL

2011-01-27 Thread Anthony Saenz
I'm sure this has been brought up tons of times before but I simply can't find the answer... My current setup is as follows: PC - HAProxy - Squid - The World The reason why I'm using HAProxy is for development environment switching which is based off cookies. (I inherited things this way) I'm

Re: [squid-users] Squid for personal use...

2011-01-27 Thread John Espiro
Ah, OK... this is a use case I hadn't thought of... my little one is not at typing age yet. But soon! On 1/12/2011 6:52 AM, Bucci, David G wrote: Another use case on a PC is as part of a parental filter type package. E.g., I use DansGuardian + Squid + Firehol on our Ubuntu boxes at home,

[squid-users] Client timing out when using squid as tproxy

2011-01-27 Thread mbruell
Hi, I'm trying to use squid as a transparent proxy. We're using ubuntu 10.04, 2.6.37 kernel, squid 3.1.10, and iptables 1.4.10. Server has 1 nic. Ports 3128 and ports 3129 are specified in squid.conf. When client browser proxy prefs are set to proxy server address, port 3128, traffic passes

[squid-users] Why TCP_MISS with simple request/response and aggressive refresh_pattern?

2011-01-27 Thread Yang Zhang
I'm trying to force Squid to cache the results of queries against the Bing API, which are requests to this URL: http://api.bing.net/json.aspx?AppId=XXXQuery=hello+worldSources=WebVersion=2.0Market=en-usAdult=moderateWeb.Offset=0Web.Count=5Web.Options=DisableHostCollapsing The responses look

[squid-users] Re: Why TCP_MISS with simple request/response and aggressive refresh_pattern?

2011-01-27 Thread Yang Zhang
I should also add that I'm using the Ubuntu 10.04 squid3 package (3.0.STABLE19), and the refresh_pattern/debug_options edits I mentioned are the only ones I made to the default squid.conf. On Thu, Jan 27, 2011 at 7:33 PM, Yang Zhang yanghates...@gmail.com wrote: I'm trying to force Squid to

Re: [squid-users] sslbump and always_direct

2011-01-27 Thread Amos Jeffries
On 28/01/11 07:17, Ming Fu wrote: Hi Amos, Thanks for the insight. Do you remember the bug number? I want to understand the issue especially when unencrypted traffic can be sent. Ming It is a bit twisted but involved with this design flaw bug:

Re: [squid-users] Repeated auth challenges, credentialsttl 8 hour

2011-01-27 Thread Amos Jeffries
On 28/01/11 07:22, Jim Moseby wrote: On 1/27/2011 at 11:40 AM, in message4d41a000.6010...@treenet.co.nz, Amos Jeffriessqu...@treenet.co.nz wrote: On 28/01/11 04:26, Jim Moseby wrote: Some of my users are getting repeated auth challenges, even though I have auth_param basic credentialsttl

Re: [squid-users] Squid proxy server - Client certificate (reverse proxy)

2011-01-27 Thread Amos Jeffries
On 28/01/11 07:48, Qvalpro Solutions wrote: Hi Folks, I just started exploring Squid proxy and I am clueless of how to use Squid in my setup. Some background on why I am trying to use the Squid proxy: I have a billing application installed in a windows server. This particular billing

Re: [squid-users] Client timing out when using squid as tproxy

2011-01-27 Thread Amos Jeffries
On 28/01/11 12:25, mbruell wrote: Hi, I'm trying to use squid as a transparent proxy. We're using ubuntu 10.04, 2.6.37 kernel, squid 3.1.10, and iptables 1.4.10. Server has 1 nic. Ports 3128 and ports 3129 are specified in squid.conf. When client browser proxy prefs are set to proxy server

Re: [squid-users] Re: Why TCP_MISS with simple request/response and aggressive refresh_pattern?

2011-01-27 Thread Amos Jeffries
On 28/01/11 16:38, Yang Zhang wrote: I should also add that I'm using the Ubuntu 10.04 squid3 package (3.0.STABLE19), and the refresh_pattern/debug_options edits I mentioned are the only ones I made to the default squid.conf. 3.0 requires configuration changes to store dynamic URLs.

Re: [squid-users] Client timing out when using squid as tproxy

2011-01-27 Thread Eliezer
does you clients are in lan? what is you network topology? it look like some thing is not quite configured well in your IPtables and.. also you will might want to use the intercept option and not the tproxy (for testing). On 28/01/11 01:25, mbruell wrote: Hi, I'm trying to use squid as a