Re: [squid-users] Squid-2, Squid-3, roadmap

2008-03-11 Thread Adrian Chadd
I believe that we have to look far past the current Squid-2 and Squid-3 versions and think something much .. well, "better". My initial Squid-2 roadmap proposal (which is still in the Wiki) aimed to take the codebase forward whilst beginning a modularisation project (which is in there; just read b

[squid-users] ACL dstdomain not working

2008-03-11 Thread Luca Gervasi
Hello, i'm pretty new to squid. I installed it for the first time in a lab which needs to access to some specific domains through a parent proxy, using direct connection for all the requests. I setup Squid Cache: Version 2.6.STABLE16, on Fedora 8, adding those commands: cache_peer MY_PARENT_PROXY

Re: [squid-users] ACL dstdomain not working

2008-03-11 Thread Luca Gervasi
Thanks for your kind answer. I tried to apply what you said in your previous message as follow: cache_peer MY_PARENT_PROXY parent 3128 0 no-query proxy-only default acl to_parent dstdomain .ieee.org .acm.org cache_peer_access MY_PARENT_PROXY allow to_parent. What i got is: MY_IP TCP_MISS/200 [

Re: [squid-users] Squid-2, Squid-3, roadmap

2008-03-11 Thread Alex Rousskov
On Tue, 2008-03-11 at 15:19 +0900, Adrian Chadd wrote: > I shouldn't have been the one that tried to pull some sensible > direction and feedback into the development group ... I shouldn't have > had to try and kick Squid-3 developers along to do simple things like > regression testing and local be

Re: [squid-users] what's near hits?

2008-03-11 Thread Chris Woodfield
A near hit is a validated cache miss - the object was stale, but squid did a Get with If-Modified-Since to the origin and received a 304 Not Modified, which resets the refresh timer on the object. You'll see these as TCP_REFRESH_HIT in the access log. -C On Mar 10, 2008, at 12:18 AM, J. P

Re: [squid-users] Squid-2, Squid-3, roadmap

2008-03-11 Thread Alex Rousskov
On Mon, 2008-03-10 at 22:38 -0800, Michael Puckett wrote: > I'll come back to one of Mark's earlier points then which seems to have > been lost. What will decide on adoption of -2 or -3 is the "killer app". That point has not been lost. There are two distinct problems here: First, "the killer ap

[squid-users] ESI choose/when statement

2008-03-11 Thread Paras Fadte
Hi, I have an html page with following ESI code This is $(number) On $(HTTP_HOST) And I am in "when" I am in "Otherwise" The problem that I encounter is that it does't seem to execute statement correctly since it evaluates $(number) as a variable whose value is unknown

[squid-users] Possible Error

2008-03-11 Thread Dave Coventry
Hi, I am still unable to get Squid to process my acl_external_type script to run as expected. I'm getting an error in my cache.log 'ipcacheAddEntryFromHosts: Bad IP address 'localhost.localdomain'' (see log listing below) Is it possible that this is causing my script's anomalies? Kind Regards,

[squid-users] Multi processors

2008-03-11 Thread Marcos Camões Bourgeaiseau
I have compiled squid with those options below: squid -v Squid Cache: Version 2.5.STABLE12 configure options: --sysconfdir=/etc/squid --enable-storeio=aufs,coss,diskd,ufs --enable-poll --enable-delay-pools --enable-linux-netfilter --enable-htcp --enable-carp --with-pthreads --enable-underscor

RE: [squid-users] Multi processors

2008-03-11 Thread saul waizer
Marcos, What OS are you running squid on? According to the Docs, squid cannot take advantage of an SMP kernel but there is a reference about having multiple instances of squid running, However some OS's are very specific on how they handle processes, a little more information about your setup wou

RE: [squid-users] ACL lists

2008-03-11 Thread saul waizer
Garry, Here are some examples I prepared for you: acl badguys src 6.0.0.0/8 acl badguys2 src 2.0.0.0/8 acl intruder src 10.10.10.16 acl workstation src 10.10.10.19 acl our_networks src 192.168.1.0/24 http_access deny badguys http_access deny badguys2 http_access deny intruder http_access allow

Re: [squid-users] Multi processors

2008-03-11 Thread Marcos Camões Bourgeaiseau
Sorry about that. It is a Ubuntu Feisty with a re-compiled Kernel version 2.6.15.7. We just took out some harware modules. We tried some newer Kernel but we couldn't make it work with the hadware that we have here. And just for clarity: It was OK to put four or more instances running at the sam

RE: [squid-users] Multi processors

2008-03-11 Thread saul waizer
Marcos, Ubuntu should work fine with an SMP kernel for squid. Just to double check, with your setup have you followed these guidelines? http://wiki.squid-cache.org/MultipleInstances one of the most important things to check is that you have different PID's for every instance of squid, see "pid

Re: [squid-users] Multi processors

2008-03-11 Thread Marcos Camões Bourgeaiseau
In parts: 1-"One of the most important things to check is that you have different PID's for every instance of squid, see "pid_filename" Sure. Otherwise you can't even start more than one process. 2-"Also, how many cpu's does that box have? Do you see squid always using the same one (I.E. CPU2

[squid-users] Troubles with SquidNT in complex environment

2008-03-11 Thread Peter Weichenberger
Dear All, I'm pretty new to Squid and have troubles running it in the following environment: * LAN with 250 users * Windows Active Directory Service (ADS) Web Security Solution consisting of * IBM Proventia Web Filter performing URL filtering * Trend Micro InterScan Web Security Suite (IWSS) pe

RE: [squid-users] ACL lists

2008-03-11 Thread Garry D. Chapple
Thanks Saul, It works a treat mate and thanks again for a quick response. Regards, Garry Chapple -Original Message- From: saul waizer [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2008 5:24 AM To: squid-users@squid-cache.org Cc: Garry D. Chapple Subject: RE: [squid-users] ACL lis

Re: [squid-users] Troubles with SquidNT in complex environment

2008-03-11 Thread Guido Serassio
Hi, At 22:52 11/03/2008, Peter Weichenberger wrote: Dear All, I'm pretty new to Squid and have troubles running it in the following environment: * LAN with 250 users * Windows Active Directory Service (ADS) Web Security Solution consisting of * IBM Proventia Web Filter performing URL filter

Re: [squid-users] Multi processors

2008-03-11 Thread Mark Nottingham
Sounds like you want processor affinity; http://www.linuxcommand.org/man_pages/taskset1.html Cheers, On 12/03/2008, at 8:22 AM, Marcos Camões Bourgeaiseau wrote: In parts: 1-"One of the most important things to check is that you have different PID's for every instance of squid, see "pi

Re: [squid-users] Possible Error

2008-03-11 Thread Amos Jeffries
Dave Coventry wrote: Hi, I am still unable to get Squid to process my acl_external_type script to run as expected. Not unusual for new scripts. Which script was this and what it doing? I'm getting an error in my cache.log 'ipcacheAddEntryFromHosts: Bad IP address 'localhost.localdomain'' (s

Re: [squid-users] Transparent proxy. router + dedicated server

2008-03-11 Thread Amos Jeffries
Rafal Ramocki wrote: Amos Jeffries pisze: Rafal Ramocki wrote: Amos Jeffries wrote: Hello, I have problem with my squid setup. For quite long time I've been using Squid 2.6 STABLE-17. I decidet to switch to squid 3.0 but there is problem. My configuration is: large network -> nat router (