Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Neil A. Hillard
Hi, Adrian Chadd wrote: On Thu, Aug 09, 2007, Henrik Nordstrom wrote: On m??n, 2007-08-06 at 18:26 +0800, Adrian Chadd wrote: Look at how a browser talks directly to an origin server when presenting (HTTP Basic) authentication credentials, and what a proxy ends up doing with those. What

[squid-users] few questions around multiple cache_dirs

2007-08-10 Thread Neil Harkins
Hi. I'm in the early stages of designing and testing a config with multiple aufs cache_dirs on squid-2.6.STABLE3 as httpd accel for a lot of content, and have a few questions based on what I've observed thus far: * x-squid-internal/vary stubs appear to be able to wind up on a different cache_dir

[squid-users] cache replacement

2007-08-10 Thread Shabbir Ahmed
i would like to know how squid replaces old items in cache by default. like there isa site called abc.com squid cached it today and next day abc.com made some changes what is the criteria squid ll cache changes and users ll get the newer pages. Thanku,

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: On tor, 2007-08-09 at 10:18 -0700, Nicole wrote: As some have pointed out, it's a shame diskd is horked, since it seemed to be nice and fast. Well, it's been broken for several years now, an no one has been willing to commit any resources to get it

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Henrik Nordstrom
On tor, 2007-08-09 at 10:18 -0700, Nicole wrote: As some have pointed out, it's a shame diskd is horked, since it seemed to be nice and fast. Well, it's been broken for several years now, an no one has been willing to commit any resources to get it fixed. However, since I have not heard of

Re: [squid-users] endless growing swap.state after reboot

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 12:18 -0300, Michel Santos wrote: so let's mount the scenario I shutdown squid letting rc.shutdown killing the squid process before it had time to close correctly the cache_dirs then I backup swap.state correct, including what other files there may be next to it..

[squid-users] Can't compile Squid 2.6 on Solaris 10

2007-08-10 Thread John Yatsko, Jr.
Making install in lib Making install in scripts test -z /usr/local/squid/bin || /SQUID/squid-2.6.STABLE14/cfgaux/install-sh - //usr/sbin/install -c 'RunCache' '/usr/local/squid/bin/RunCache' cp: cannot access /usr/local/squid/bin/RunCache install: cp /usr/local/squid/bin/RunCache

Re: [squid-users] page not being cached... is this right?

2007-08-10 Thread Pablo García
Anton, in my experience, this header is what it's preventing the squid from caching the page. Set-Cookie: prtl_2048=2052; Expires=Sat, 11-Aug-2007 00:58:16 GMT Regards, Pablo On 8/10/07, Anton Melser [EMAIL PROTECTED] wrote: Hi, I have installed squid 2.6stable14 (windows binary linked from

Re: [squid-users] page not being cached... is this right?

2007-08-10 Thread Henrik Nordstrom
HTTP/1.x 200 OK Server: Apache-Coyote/1.1 Set-Cookie: prtl_2048=2052; Expires=Sat, 11-Aug-2007 00:58:16 GMT Content-Type: text/html;charset=UTF-8 Date: Fri, 10 Aug 2007 14:58:20 GMT X-Cache: MISS from pc-am.siege.ours.local X-Cache-Lookup: MISS from pc-am.siege.ours.local:3128 Via: 1.0

Re: [squid-users] Squid performance

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 19:03 +0400, Alexey Ivlev wrote: How many requests per second can squid handle? Without cache and not too complex ACLs about 700-2000 depending on the CPU power. It uses a single CPU only so multicore CPUs or SMP don't improve the situation much. On multicore/SMP servers

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 11:24 -0300, Alexandre Correa wrote: using aufs works fine.. my server receives about 4000 to 6000 req/min !! quite modest load. Not a very high load. file system of hard disk is reiserfs4 !! USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND

Re: [squid-users] endless growing swap.state after reboot

2007-08-10 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: then I start squid with one of the above versions and squid starts rebuilding swap.state when it starts failing we get what you want? That you try the same again, by shutting down Squid, then clear the cache and restore the backed up swap.state

[squid-users] page not being cached... is this right?

2007-08-10 Thread Anton Melser
Hi, I have installed squid 2.6stable14 (windows binary linked from the site), and am getting a fair proportion of what should be cached cached, but not the most important things! I have deactivated the default setting to ignore urls with ? in it, and am getting all those pages/images except this

Re: [squid-users] endless growing swap.state after reboot

2007-08-10 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: On tor, 2007-08-09 at 14:25 -0300, Michel Santos wrote: ok the first is easy, the latter you mean what, you want the file? Unfortunately the file is a bit platform dependent, but I want you to hold on to the file and check if the problem can be

[squid-users] cache_peer

2007-08-10 Thread [EMAIL PROTECTED]
Hello, I want to set up a squid server on machine A(P). This Machine A(P) is behind a firewall and it has an access to a corporate proxy B(P). B(P) has some access control lists. And A(P) is allowed to use the B(P). When a browser is run on A(P) to connect to any web site using the proxy B(P) it

Re: [squid-users] error during make

2007-08-10 Thread Alex Rousskov
On Fri, 2007-08-10 at 12:43 +0700, zen wrote: core# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -O2 -MT MemPool.o -MD -MP -MF .deps/MemPool.Tpo -E -o MemPool.E MemPool.cc core# fgrep -3 mallopt

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Alexandre Correa
using aufs works fine.. my server receives about 4000 to 6000 req/min !! file system of hard disk is reiserfs4 !! USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND squid32748 1.1 35.0 1493184 1446748 ? Sl Aug09 8:17 (squid) -D -s the server is very clean,

[squid-users] Redirect POST Requests

2007-08-10 Thread Santiago Del Castillo
Hi! Is possible to handle GET and POST requests separately? I want GET to go to port 80 and POST to port 81 in the same origin server. I'm using squid 2.6.STABLE13 as reverse-proxy. Thanks! -- Santiago del Castillo System Administrator FNBOX Ventures Inc. ARG: +54.11.5258.4202 [EMAIL

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Michel Santos
Alexandre Correa disse na ultima mensagem: after reading this email, i switched from aufs to diskd to see performance of them under high load .. with aufs, squid never used more than 10% of cpu and response time is very low (5ms to 150ms).. with diskd cpu usage goes to 50% +- and median

Re: [squid-users] endless growing swap.state after reboot

2007-08-10 Thread Henrik Nordstrom
On tor, 2007-08-09 at 14:25 -0300, Michel Santos wrote: ok the first is easy, the latter you mean what, you want the file? Unfortunately the file is a bit platform dependent, but I want you to hold on to the file and check if the problem can be reproduced by simply placing it back in the cache

Re: Re[4]: [squid-users] Digest auth trouble

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 15:18 +0500, Sergey Svyatkin wrote: Hello, Henrik. You wrote at 10/08/2007 15:09:53: HN Please file a bug report http://www.squid-cache.org/bugs/ ? I have already sent... Bug 2046. Thanks. Wasn't clear from your message that you had done this. Regards Henrik

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Alexandre Correa
after reading this email, i switched from aufs to diskd to see performance of them under high load .. with aufs, squid never used more than 10% of cpu and response time is very low (5ms to 150ms).. with diskd cpu usage goes to 50% +- and median response time up to 900ms !! i´m running CentOS 5.0

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-10 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Aug 2007 01:17:21 +0530 Preetish [EMAIL PROTECTED] wrote: Odd.. are you sure you are really running the new binary, and that the ulimit setting is done correctly in the start script? #Squid startup/shutdown if [ -z $1 ] ; then

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: On fre, 2007-08-10 at 06:50 -0300, Michel Santos wrote: what is what you agree to be broken beyond the shutdown issue? Bug #761 unstable under high load when using diskd cache_dir diskd falls over under load due to internal design problems in how

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Michel Santos
Adrian Chadd disse na ultima mensagem: On Thu, Aug 09, 2007, Michel Santos wrote: the bug, I am curious what others have been using or prefer as their alternative to diskd and why? diskd for sure is the fastest specially on SMP machines but there are not so much people sharing my opinion

Re: Re[2]: [squid-users] Digest auth trouble

2007-08-10 Thread Henrik Nordstrom
Please file a bug report http://www.squid-cache.org/bugs/ On fre, 2007-08-10 at 11:30 +0500, Sergey Svyatkin wrote: HN Please get a stack trace and file a bug report. See this: [EMAIL PROTECTED] /usr/local/squid/cache]# gdb squid squid.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 06:50 -0300, Michel Santos wrote: please be a little bit more specific about comitting resources, what do you exactly mean? Gettin a developer working on fixing the bugs. what is what you agree to be broken beyond the shutdown issue? Bug #761 unstable under high load

Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Neil A. Hillard
Hi, Adrian Chadd wrote: On Fri, Aug 10, 2007, Neil A. Hillard wrote: Hi, Adrian Chadd wrote: On Fri, Aug 10, 2007, Neil A. Hillard wrote: It doesn't work reliably? :) Doesn't it? You'll have to cite specific examples. I can't think of one problem I've had that's related to basic auth

Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Neil A. Hillard
Hi, Adrian Chadd wrote: On Fri, Aug 10, 2007, Neil A. Hillard wrote: It doesn't work reliably? :) Doesn't it? You'll have to cite specific examples. I can't think of one problem I've had that's related to basic auth not working as it should (as long as you don't count configuration faux

Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Adrian Chadd
On Fri, Aug 10, 2007, Neil A. Hillard wrote: It doesn't work reliably? :) Doesn't it? You'll have to cite specific examples. I can't think of one problem I've had that's related to basic auth not working as it should (as long as you don't count configuration faux pas!) Transparent

[squid-users] Cant access internal webserver when using squid 3128

2007-08-10 Thread SSCR Internet Admin
Hi, My network is intercepting port 80 to 3128 (transparent proxy) in accessing the internet. Lately, I have some internal webserver and is now redirecting trafic from outside to that internal webserver. If use squid, (ie., configuring proxy on firefox), it seems that I am blocked or denied by

[squid-users] cache_dir and max-size

2007-08-10 Thread RW
If I split my cache like this: cache_dir aufs /usr/local/squid/small_obj 1700 16 256 max-size=80 cache_dir aufs /usr/local/squid/big_obj200 16 256 Presumably nothing bigger than max-size will end-up in the first cache, but how often will the smaller objects end-up in the second cache?

[squid-users] TRANSEPARENT PROXY WITH SQUID 2.6

2007-08-10 Thread Indunil Jayasooriya
Hi, I am running squid as a TRANSEPARENT PROXY WITH SQUID 2.5 on CENTOS 4.5. Pls see below for squid.con file. http_port 3128 cache_mem 64 MB cache_dir ufs /var/spool/squid 100 16 256 cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log

Re: [squid-users] TRANSEPARENT PROXY WITH SQUID 2.6

2007-08-10 Thread Adrian Chadd
http_port 3128 transparent That should do it. Adrian On Fri, Aug 10, 2007, Indunil Jayasooriya wrote: Hi, I am running squid as a TRANSEPARENT PROXY WITH SQUID 2.5 on CENTOS 4.5. Pls see below for squid.con file. http_port 3128 cache_mem 64 MB cache_dir ufs /var/spool/squid

[squid-users] squid 2.6 ntlm active directory problem

2007-08-10 Thread Wilson Galafassi
hello. i'm using samba 3.0.24-3 and squid-2.6.STABLE13-1 with fc6. my smb.conf [global] workgroup = DOMAIN netbios name = NETSERVER server string = PROXY SERVER load printers = no log file = /var/log/samba/log.%m max log size = 500 realm = DOMAIN.COM security = ads auth methods = winbind

Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Adrian Chadd
On Fri, Aug 10, 2007, Neil A. Hillard wrote: Hi, Adrian Chadd wrote: On Fri, Aug 10, 2007, Neil A. Hillard wrote: It doesn't work reliably? :) Doesn't it? You'll have to cite specific examples. I can't think of one problem I've had that's related to basic auth not working as it

Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 09:18 +0800, Adrian Chadd wrote: On Thu, Aug 09, 2007, Henrik Nordstrom wrote: On m??n, 2007-08-06 at 18:26 +0800, Adrian Chadd wrote: Look at how a browser talks directly to an origin server when presenting (HTTP Basic) authentication credentials, and what a

Re: [squid-users] username and password in TRANSPARENT mode

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 16:54 +0800, Adrian Chadd wrote: And I'm saying it shouldn't, thats not how stuff was intended, and the fact that stuff kind of sometimes mostly maybe works is busted. It doesn't. Squid never accepts to do authentication in interception mode. Any attempt to do so will

Re: [squid-users] few questions around multiple cache_dirs

2007-08-10 Thread Henrik Nordstrom
On tor, 2007-08-09 at 14:08 -0700, Neil Harkins wrote: * x-squid-internal/vary stubs appear to be able to wind up on a different cache_dir than the object itself. Is this a bug? It's not a bug, it's a design artefact. The stub and the object is separate from each other, so there is only 1/N

Re[4]: [squid-users] Digest auth trouble

2007-08-10 Thread Sergey Svyatkin
Hello, Henrik. You wrote at 10/08/2007 15:09:53: HN Please file a bug report http://www.squid-cache.org/bugs/ ? I have already sent... Bug 2046. -- WBR, Sergey Svyatkin mailto:[EMAIL PROTECTED]

Re: [squid-users] Squid allow only 2 max connections per IP

2007-08-10 Thread Chris Robertson
eXtremer wrote: Here is my config: #Recommended minimum configuration: acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 444 acl Safe_ports port 80 # http #acl Safe_ports

[squid-users] Squid performance

2007-08-10 Thread Alexey Ivlev
Hello, all! We are creating large proxy instalation with content filtering. Squid is defined as a proxy. Cache is not needed. How many requests per second can squid handle? Sure it depends on cpu,memory,hdd - suppose we can take the best hardware. Anyway this will be cluster with

Re: [squid-users] Problem with Sibling

2007-08-10 Thread Chris Robertson
Shekhar Gupta wrote: All, I have configured 4 proxy to work as sibling relation and specified the ICP port as 3130 , however when i try to do a telnet it always fails , so i think the cache performance is not getting optimized . Any clue for this ? Regards, Shekhar ICP is performed

[squid-users] Re: cache replacement

2007-08-10 Thread RW
On Fri, 10 Aug 2007 12:30:44 +0500 Shabbir Ahmed [EMAIL PROTECTED] wrote: i would like to know how squid replaces old items in cache by default. like there isa site called abc.com squid cached it today and next day abc.com made some changes what is the criteria squid ll cache changes and

Re: [squid-users] Cant access internal webserver when using squid 3128

2007-08-10 Thread Chris Robertson
SSCR Internet Admin wrote: Hi, My network is intercepting port 80 to 3128 (transparent proxy) in accessing the internet. Lately, I have some internal webserver and is now redirecting trafic from outside to that internal webserver. If use squid, (ie., configuring proxy on firefox), it seems

Re: [squid-users] cache_peer

2007-08-10 Thread Chris Robertson
[EMAIL PROTECTED] wrote: Hello, I want to set up a squid server on machine A(P). This Machine A(P) is behind a firewall and it has an access to a corporate proxy B(P). B(P) has some access control lists. And A(P) is allowed to use the B(P). When a browser is run on A(P) to connect to any web

Re: [squid-users] File Descriptors causing an issue in OpenBSD

2007-08-10 Thread Preetish
Hi All, Recompilng the kernel with MAXFILES=8192 worked. I even had to add the line :openfiles-max=infinity:\ to /etc/login.def in the daemon section. Well now the File Descriptors has increased and even the internet speed is good ( i ll know it better by tomorrow). I have kept my

Re: [squid-users] Redirect POST Requests

2007-08-10 Thread Chris Robertson
Santiago Del Castillo wrote: Hi! Is possible to handle GET and POST requests separately? I want GET to go to port 80 and POST to port 81 in the same origin server. I'm using squid 2.6.STABLE13 as reverse-proxy. Thanks! cache_peer 192.168.0.10 parent 80 0 no-query originserver

Re: [squid-users] cache_dir and max-size

2007-08-10 Thread Chris Robertson
RW wrote: If I split my cache like this: cache_dir aufs /usr/local/squid/small_obj 1700 16 256 max-size=80 cache_dir aufs /usr/local/squid/big_obj200 16 256 Presumably nothing bigger than max-size will end-up in the first cache, but how often will the smaller objects end-up in the