Re: [squid-users] Missing username on logs when using c-icap

2010-10-19 Thread Carlos Xavier
Hi.tank you for the reply. This is my squid version ans how it was compiled: Squid Cache: Version 3.1.8 configure options: '--with-maxfd=8192' '--prefix=/usr' '--libdir=/usr/lib64' '--sysconfdir=/etc/squid' '--localstatedir=/var/log/squid' '--datadir=/usr/share/squid' '--mandir=/usr/man' '--

Re: [squid-users] Missing username on logs when using c-icap

2010-10-19 Thread Amos Jeffries
On Tue, 19 Oct 2010 15:45:56 -0200, "Carlos Xavier" wrote: > Hi. > We use SARG to generate some statistical data and also to have some > control > where our authenticated users are going. This control are based on the > username on the squid access log. > Now we started to use c-icap to check fo

Re: Fwd: [squid-users] URL redirection in offline mode

2010-10-19 Thread Amos Jeffries
On Wed, 20 Oct 2010 09:11:43 +0800, mohd hafiz wrote: >> >> When a browser is configured to use a proxy it *never* performs DNS for >> traffic sent there. The proxy does it all instead. When a browser is not >> aware of the proxy (NAT interception) it performs its own DNS which gets >> discarded a

Re: [squid-users] Four squid scenarios

2010-10-19 Thread Amos Jeffries
On Tue, 19 Oct 2010 20:30:47 +0200, Konrado Z wrote: > Thanks for your response and explanation. > > OK, and what's about situation where there are 2 parents who are > siblings at the sime time, and one proxy server under them. What I > mean is: > > > P1 - P2 > \ / > \ / >

Re: [squid-users] Four squid scenarios

2010-10-19 Thread Amos Jeffries
On Tue, 19 Oct 2010 22:06:02 +0200, Konrado Z wrote: > And one more question Amos. > Do you mean save in cache by 'go through'? > > See for example 1st scenario. I know that request goes through proxy 2 > and then through parent. But when it comes back, is it saved on proxy > 1 AND on proxy 2? B

Re: Fwd: [squid-users] URL redirection in offline mode

2010-10-19 Thread mohd hafiz
> > When a browser is configured to use a proxy it *never* performs DNS for > traffic sent there. The proxy does it all instead. When a browser is not > aware of the proxy (NAT interception) it performs its own DNS which gets > discarded again as the packets enter the proxy. oo..i see. squid will

Re: Fwd: [squid-users] URL redirection in offline mode

2010-10-19 Thread Amos Jeffries
On Tue, 19 Oct 2010 22:29:29 +0800, mohd hafiz wrote: >> >> 2.6 requires building Squid with the "null" storage type. >> >> Then configuring with "cache_dir null /tmp". >> IMPORTANT: do not use /dev/null. There are important run-time state >> files >> stored in the top of cache_dir by older squid

Re: [squid-users] top reports twice memory as much as Total in mgr:mem

2010-10-19 Thread Amos Jeffries
On Tue, 19 Oct 2010 14:57:28 +0200, Roberto Suarez Soto wrote: > El día Wed, 20 Oct 2010 00:45:22 +1300, Amos Jeffries > > escribía: > >> memory pools would work that way. It is an allocator same as the system >> ones but tuned to Squid usage instead of generic page sizes. >> >> cache_mem is a

Re: [squid-users] Squid billboard

2010-10-19 Thread Amos Jeffries
On Tue, 19 Oct 2010 09:07:26 -0400, "Jim Moseby" wrote: On 10/18/2010 at 5:33 PM, in message >> On Mon, 18 Oct 2010 11:26:21 -0400, "Jim Moseby" >> wrote: >>> I'm setting up squid, and I have auth working against Novell NDS. I'd >>> like to be able to have users authenticate via a form on a

Re: [squid-users] Four squid scenarios

2010-10-19 Thread Konrado Z
And one more question Amos. Do you mean save in cache by 'go through'? See for example 1st scenario. I know that request goes through proxy 2 and then through parent. But when it comes back, is it saved on proxy 1 AND on proxy 2? 2010/10/19 Amos Jeffries : > On Mon, 18 Oct 2010 20:50:02 +0200, Ko

[squid-users] cache_dir aufs min-size

2010-10-19 Thread Costin Gusa
Hi, I would like to limit the minimum object size in a cache dir For this I have setup the following line in squid.conf: cache_dir aufs /var/spool/squid 65536 16 256 min-size=4MB However looking at /var/spool/squid cache dir, I see smaller objects also: /var/spool/squid# ls -lah 00/00|grep K|he

Re: [squid-users] Four squid scenarios

2010-10-19 Thread Konrado Z
Thanks for your response and explanation. OK, and what's about situation where there are 2 parents who are siblings at the sime time, and one proxy server under them. What I mean is: P1 - P2 \ / \ / P3 | host and P1, and P2 are connected to the Internet. 2010/10/19 A

[squid-users] Missing username on logs when using c-icap

2010-10-19 Thread Carlos Xavier
Hi. We use SARG to generate some statistical data and also to have some control where our authenticated users are going. This control are based on the username on the squid access log. Now we started to use c-icap to check for virus and check the url. Since then the username of the users doing

Re: [squid-users] ANN: stress test tool

2010-10-19 Thread Josip Almasi
Amos Jeffries wrote: On 20/10/10 01:08, Josip Almasi wrote: Hi all, I've just deployed a few squid boxes. Had an unusual requirement - each box is to handle 1000 connections (not requests) per second. Also had some 173 millions urls taken from access logs. Couldn't find what I needed to test i

Re: Fwd: [squid-users] URL redirection in offline mode

2010-10-19 Thread mohd hafiz
> > 2.6 requires building Squid with the "null" storage type. > > Then configuring with "cache_dir null /tmp". >  IMPORTANT: do not use /dev/null. There are important run-time state files > stored in the top of cache_dir by older squid. so in my squid.conf: cache_dir null/tmp when this is done, i w

Re: [squid-users] Squid billboard

2010-10-19 Thread Jim Moseby
>>> On 10/18/2010 at 5:33 PM, in message > On Mon, 18 Oct 2010 11:26:21 -0400, "Jim Moseby" > wrote: >> I'm setting up squid, and I have auth working against Novell NDS. I'd >> like to be able to have users authenticate via a form on a page that >> displays our usage policy, etc rather than the s

Re: [squid-users] top reports twice memory as much as Total in mgr:mem

2010-10-19 Thread Roberto Suarez Soto
El día Wed, 20 Oct 2010 00:45:22 +1300, Amos Jeffries escribía: > memory pools would work that way. It is an allocator same as the system > ones but tuned to Squid usage instead of generic page sizes. > > cache_mem is a in-memory object cache. Its fill/empty cycles behave the > same as disk st

Re: [squid-users] ANN: stress test tool

2010-10-19 Thread Amos Jeffries
On 20/10/10 01:08, Josip Almasi wrote: Hi all, I've just deployed a few squid boxes. Had an unusual requirement - each box is to handle 1000 connections (not requests) per second. Also had some 173 millions urls taken from access logs. Couldn't find what I needed to test it, so I wrote it. So

[squid-users] ANN: stress test tool

2010-10-19 Thread Josip Almasi
Hi all, I've just deployed a few squid boxes. Had an unusual requirement - each box is to handle 1000 connections (not requests) per second. Also had some 173 millions urls taken from access logs. Couldn't find what I needed to test it, so I wrote it. So if you need to squeeze your squid, her

Re: [squid-users] top reports twice memory as much as Total in mgr:mem

2010-10-19 Thread Amos Jeffries
On 20/10/10 00:19, Roberto Suarez Soto wrote: El día Tue, 19 Oct 2010 23:48:07 +1300, Amos Jeffries escribía: Probably memory leak. However, it is not reliably reproducible. Anyway, a restart will return memory to OS. see question 4 of the memory FAQ: http://wiki.squid-cache.org/SquidFaq/Squi

Re: [squid-users] Squid 2.7 & sync outside time server

2010-10-19 Thread Amos Jeffries
On 20/10/10 00:09, Jose perez wrote: Now it is solved. It's not necesary open ports on modem-router. I modified squid.conf with acl safe_ports port 123 and install ntdp server. Thanks. Um, you do realize how much lag going through Squid will introduce to NTP don't you? Squid works in cycles

Re: [squid-users] top reports twice memory as much as Total in mgr:mem

2010-10-19 Thread Roberto Suarez Soto
El día Tue, 19 Oct 2010 23:48:07 +1300, Amos Jeffries escribía: > > Probably memory leak. However, it is not reliably reproducible. > > Anyway, a restart will return memory to OS. > see question 4 of the memory FAQ: > http://wiki.squid-cache.org/SquidFaq/SquidMemory Related to this, in

Re: [squid-users] Squid 2.7 & sync outside time server

2010-10-19 Thread Jose perez
Now it is solved. It's not necesary open ports on modem-router. I modified squid.conf with acl safe_ports port 123 and install ntdp server. Thanks. -- From: "Jose perez" Sent: Monday, October 18, 2010 3:06 PM To: Subject: Re: [squid-users] Squid

Re: Fwd: [squid-users] URL redirection in offline mode

2010-10-19 Thread Amos Jeffries
On 19/10/10 22:07, mohd hafiz wrote: Thanks a lot. but i need some help more here, how can i disable cache in squid 2.6? i don want squid to cache anything. i jst want squid do the redirection. i didn't have cache_dir in my squid.conf.. where is the possible location for my default cache_dir?

Re: [squid-users] top reports twice memory as much as Total in mgr:mem

2010-10-19 Thread Amos Jeffries
On 19/10/10 22:19, Kaiwang Chen wrote: Hello, In a 3.1.6 squid installation on a CentOS 5.5 x86 host with customized kernel, top reports VERT 19.8g, and RES 14g while mgr:mem reports Total Allocated 7.25g (96.4% of which is mem_node) high 7.27g, In Use 7.25g %alloc 99.957 In squid.conf, the

Re: [squid-users] Leaking ICAP connections

2010-10-19 Thread Steve Hill
On Mon, 18 Oct 2010, Amos Jeffries wrote: Sounds a lot to me like some rare response from ICAP which confuses Squid about the reply size. This is possible. Although shouldn't Squid time out ICAP requests (and close the connection) if the response takes too long to complete? Or a persisten

[squid-users] top reports twice memory as much as Total in mgr:mem

2010-10-19 Thread Kaiwang Chen
Hello, In a 3.1.6 squid installation on a CentOS 5.5 x86 host with customized kernel, top reports VERT 19.8g, and RES 14g while mgr:mem reports Total Allocated 7.25g (96.4% of which is mem_node) high 7.27g, In Use 7.25g %alloc 99.957 In squid.conf, the following is explicitly configured(mem_po

Re: Fwd: [squid-users] URL redirection in offline mode

2010-10-19 Thread mohd hafiz
Thanks a lot. but i need some help more here, how can i disable cache in squid 2.6? i don want squid to cache anything. i jst want squid do the redirection. i didn't have cache_dir in my squid.conf.. where is the possible location for my default cache_dir? thanks

Re: [squid-users] Hello.

2010-10-19 Thread Amos Jeffries
On 19/10/10 20:52, Dobrokhvalov Roman wrote: Hello my name is Roman. I need your support. I have ubuntu 10.1 server x64 I try to configure squid (I download it from your site, i tried different versions). /configure --enable-basic-auth-helpers=LDAP --enable-external-acl-helpers=ldap_group i

[squid-users] Hello.

2010-10-19 Thread Dobrokhvalov Roman
Hello my name is Roman. I need your support. I have ubuntu 10.1 server x64 I try to configure squid (I download it from your site, i tried different versions). /configure --enable-basic-auth-helpers=LDAP --enable-external-acl-helpers=ldap_group is fine. But when i do make, i get errors. For