Re: [squid-users] Cache API

2012-07-06 Thread Amos Jeffries
On 6/07/2012 12:15 p.m., Abhishek Chanda wrote: Hi all, Does Squid have an API to query the content of the cache? I am aware of contentmgr.cgi, but I am looking for an API that I can call from my code. Thanks Why would your code want to reach into the code of another program and do things?

Re: [squid-users] strange problem in squid with certain sites and strange log

2012-07-06 Thread Amos Jeffries
On 6/07/2012 6:25 a.m., x-man wrote: Hello, I'm running squid 3.1.19 in tproxy mode, and I have some customers complaining that they have problem with stock exchange (share market) sites and software after implementing the squid. What I saw in the access.log for one of the customers is:

Re: [squid-users] Squid is not caching content in reverse proxy mode

2012-07-06 Thread Amos Jeffries
On 6/07/2012 6:10 a.m., Abhishek Chanda wrote: Hi all, Thanks for the responses. I am using squid 3.1 on Ubuntu 12.04. For now I am just trying to cache Apache's default it works page, which should be cache able. I cannot use rebot here since my network is not connected to the Internet. I

[squid-users] Authentication problems with NTLM

2012-07-06 Thread Bruno Santos
Hi ! I've configure squid 3.1.10-1 (latest available for CentOS 6.2) with NTLM authentication, but squid keeps asking for username and password. And sometimes more than once... Users are authenticated in the domain, using IE6/7/9, but squid keeps asking for username/password. Those with

Re: [squid-users] Authentication problems with NTLM

2012-07-06 Thread Amos Jeffries
On 6/07/2012 11:42 p.m., Bruno Santos wrote: Hi ! I've configure squid 3.1.10-1 (latest available for CentOS 6.2) with NTLM authentication, but squid keeps asking for username and password. And sometimes more than once... Users are authenticated in the domain, using IE6/7/9, but squid

Re: [squid-users] Authentication problems with NTLM

2012-07-06 Thread Bruno Santos
Hi ! Thanks for the reply Amos ! For some reason, i get the squid mailing list emails with a delay... While i wasn't getting any response (thank you for your response) i dig a bit myself and i found in the squid wiki a page about CentOS 5.5 (i'm using 6.2 but is different than the page about

Re: [squid-users] Re: transparent (intercepting?) without wccp, options?

2012-07-06 Thread Eliezer Croitoru
On 7/6/2012 5:16 AM, Ezequiel Birman wrote: Eliezer == Eliezer Croitoru elie...@ngtech.co.il writes: On 7/5/2012 4:48 AM, Ezequiel Birman wrote: SNIP dont worry! i dont know anyone that masters linux and got it all from books he didnt bout :) XD I meant, of course, the

Re: [squid-users] Cache API

2012-07-06 Thread Waitman Gobble
On 7/6/2012 12:00 AM, Amos Jeffries wrote: On 6/07/2012 12:15 p.m., Abhishek Chanda wrote: Hi all, Does Squid have an API to query the content of the cache? I am aware of contentmgr.cgi, but I am looking for an API that I can call from my code. Thanks Why would your code want to reach into

Re: [squid-users] Cache API

2012-07-06 Thread Abhishek Chanda
Hi Amos, I need to have a list of all files cached in a network which has multiple instances of Squid running. So, I was looking for an API to query the cache and retrieve metadata about the files there. Is there a better way to do this? Thanks for the link Waitman, I will look into it. Thanks

Re: [squid-users] Squid is not caching content in reverse proxy mode

2012-07-06 Thread Abhishek Chanda
Hi Amos, That explains, thanks a lot. Thanks On Fri, Jul 6, 2012 at 12:22 AM, Amos Jeffries squ...@treenet.co.nz wrote: On 6/07/2012 6:10 a.m., Abhishek Chanda wrote: Hi all, Thanks for the responses. I am using squid 3.1 on Ubuntu 12.04. For now I am just trying to cache Apache's

Re: [squid-users] Re: transparent (intercepting?) without wccp, options?

2012-07-06 Thread Amos Jeffries
On 7/07/2012 2:42 a.m., Eliezer Croitoru wrote: On 7/6/2012 5:16 AM, Ezequiel Birman wrote: Eliezer == Eliezer Croitoru writes: On 7/5/2012 4:48 AM, Ezequiel Birman wrote: SNIP dont worry! i dont know anyone that masters linux and got it all from books he didnt bout :)

Re: [squid-users] Re: transparent (intercepting?) without wccp, options?

2012-07-06 Thread Eliezer Croitoru
On 7/7/2012 4:52 AM, Amos Jeffries wrote: snip #i use conntrack to flush the old sessions so all the new ones will be redirected to squid. conntrack -F This need to be noted as quite dangerous. It will force all existing connections into the NEW state and pass them through Squid

Re: [squid-users] Cache API

2012-07-06 Thread Amos Jeffries
On 7/07/2012 5:41 a.m., Abhishek Chanda wrote: Hi Amos, I need to have a list of all files cached in a network which has multiple instances of Squid running. So, I was looking for an API to query the cache and retrieve metadata about the files there. Is there a better way to do this? Files?

[squid-users] Question about ICAP.

2012-07-06 Thread Eliezer Croitoru
i already asked before once. i want to prioritize ICAP services by specific order like : basicfiltering depth filtering so i use: adaptation_service_chain ?? as far i understand it will make the checks by order. and what if one of the ICAP services has deny acl for the url? let say #request:

Re: [squid-users] Question about ICAP.

2012-07-06 Thread Amos Jeffries
On 7/07/2012 3:57 p.m., Eliezer Croitoru wrote: i already asked before once. i want to prioritize ICAP services by specific order like : basicfiltering depth filtering so i use: adaptation_service_chain ?? as far i understand it will make the checks by order. and what if one of the ICAP