[squid-users] calamaris configuration

2011-08-09 Thread benjamin fernandis
Hi, I try to configure calamaris with centos 6.It is working fine with html and other output format.but when i tried to use graph format i got below errors, cat /var/log/squid/access.log | /usr/local/calamaris/calamaris -a --output-file abc.txt -F html,graph --output-path

[squid-users] sending file

2011-08-09 Thread Mohsen Pahlevanzadeh
Dear all, Suppose i save as vi browser a web page such as google.com, yahoo.com and blah blah.So,I want to sending a web page to squid and squid cache it, but i don't know sequence of files and http headers, What i do append to http for accepting from squid? --mohsen signature.asc Description:

[squid-users] Using Squid as an apt cache

2011-08-09 Thread Emmanuel Seyman
Hello, all. I've setup a squid instance on site so that I can cache .deb files and speed up on updating our systems (we run a mostly-debian shop). I've configured Squid according to the instructions found here: http://itkia.com/using-squid-to-cache-apt-updates-for-debian-and-ubuntu/ and

Re: [squid-users] Using Squid as an apt cache

2011-08-09 Thread Tarek Kilani
Hi, as far as i can see it from here is that you need to change your sources.list file pointing to YOUR deb package mirror. On 09/08/2011 10:20, Emmanuel Seyman wrote: Hello, all. I've setup a squid instance on site so that I can cache .deb files and speed up on updating our systems (we run

Re: [squid-users] sending file

2011-08-09 Thread Amos Jeffries
On 09/08/11 18:54, Mohsen Pahlevanzadeh wrote: Dear all, Suppose i save as vi browser a web page such as google.com, yahoo.com and blah blah.So,I want to sending a web page to squid and squid cache it, but i don't know sequence of files and http headers, What i do append to http for accepting

[squid-users] How to set multiple WAN IP with squid ?

2011-08-09 Thread J. Bakshi
Hello, How can I set multiple WAN IP with squid server with different domains ? Say mydomain.de connect with squid server with WAN IP 203.XXX.XX.XX where mydomain.au connect with the same server with IP 205.XXX.XX.XX TIA

Re: [squid-users] download caching

2011-08-09 Thread Amos Jeffries
On 09/08/11 19:57, Tarek Kilani wrote: On 09/08/2011 07:46, Amos Jeffries wrote: On 08/08/11 21:03, Tarek Kilani wrote: Hi, I wanted to know if it is possible to cache downloads when several users in my network want to download the same software from the internet, avoiding to clog up the

Re: [squid-users] How to set multiple WAN IP with squid ?

2011-08-09 Thread Amos Jeffries
On 09/08/11 20:59, J. Bakshi wrote: Hello, How can I set multiple WAN IP with squid server with different domains ? Say mydomain.de connect with squid server with WAN IP 203.XXX.XX.XX where mydomain.au connect with the same server with IP 205.XXX.XX.XX TIA

Re: [squid-users] download caching

2011-08-09 Thread Tarek Kilani
Mit freundlichen Grüßen, Tarek Kilani On 09/08/2011 11:10, Amos Jeffries wrote: On 09/08/11 19:57, Tarek Kilani wrote: On 09/08/2011 07:46, Amos Jeffries wrote: On 08/08/11 21:03, Tarek Kilani wrote: Hi, I wanted to know if it is possible to cache downloads when several users in my

Re: [squid-users] How to set multiple WAN IP with squid ?

2011-08-09 Thread J. Bakshi
On Tue, 09 Aug 2011 21:12:58 +1200 Amos Jeffries squ...@treenet.co.nz wrote: On 09/08/11 20:59, J. Bakshi wrote: Hello, How can I set multiple WAN IP with squid server with different domains ? Say mydomain.de connect with squid server with WAN IP 203.XXX.XX.XX where mydomain.au

Re: [squid-users] How to set multiple WAN IP with squid ?

2011-08-09 Thread J. Bakshi
On Tue, 9 Aug 2011 14:57:58 +0530 J. Bakshi joyd...@infoservices.in wrote: On Tue, 09 Aug 2011 21:12:58 +1200 Amos Jeffries squ...@treenet.co.nz wrote: On 09/08/11 20:59, J. Bakshi wrote: Hello, How can I set multiple WAN IP with squid server with different domains ? Say

Re: [squid-users] How to set multiple WAN IP with squid ?

2011-08-09 Thread Amos Jeffries
On 09/08/11 21:51, J. Bakshi wrote: On Tue, 9 Aug 2011 14:57:58 +0530 J. Bakshijoyd...@infoservices.in wrote: On Tue, 09 Aug 2011 21:12:58 +1200 Amos Jeffriessqu...@treenet.co.nz wrote: On 09/08/11 20:59, J. Bakshi wrote: Hello, How can I set multiple WAN IP with squid server with

Re: [squid-users] Questions Cache-digest

2011-08-09 Thread igor rocha
Ok Amos . Thanks ! 2011/8/8 Amos Jeffries squ...@treenet.co.nz: On Mon, 8 Aug 2011 19:53:16 -0300, igor rocha wrote: ? No ideas. It looks like it should work to me. Amos 2011/8/4 igor rocha: Amos, I think  ve  done  the changes according to their observations. And for my studies no

[squid-users] invalid url in curl

2011-08-09 Thread Mohsen Pahlevanzadeh
Dear all, I recall when use squidclient url and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable: -- curl -H HTTP/1.1 200 OK -H Date: Tue, 09 Aug 2011 12:12:54 GMT -H Expires: Thu, 08 Sep 2011

[squid-users] Dropping client connections

2011-08-09 Thread a bv
Hi, On a proxy serving to many clients , how can we drop a clients connection ? especially to an url ? Im not talking about generally appliying an url filter, talking about a current -live connection. Regards

Re: [squid-users] invalid url in curl

2011-08-09 Thread Amos Jeffries
On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: Dear all, I recall when use squidclient url and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable: -- curl -H HTTP/1.1 200 OK -H Date: Tue, 09 Aug 2011

Re: [squid-users] Dropping client connections

2011-08-09 Thread Amos Jeffries
On 10/08/11 01:04, a bv wrote: Hi, On a proxy serving to many clients , how can we drop a clients connection ? especially to an url ? Im not talking about generally appliying an url filter, talking about a current -live connection. Regards Can't be done inside Squid (yet). You need to do it

Re: [squid-users] invalid url in curl

2011-08-09 Thread Mohsen Pahlevanzadeh
On Wed, 2011-08-10 at 01:20 +1200, Amos Jeffries wrote: On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: Dear all, I recall when use squidclient url and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable:

[squid-users] SQUID Multiple Instances not working on windows!

2011-08-09 Thread Ghassan Gharabli
Hello, I have looked and read this URL http://wiki.squid-cache.org/MultipleInstances but still not working . Only the first Instance is woking well but the second isnt working yet! .. theproblem is I cant see any logs .. usually the first instance I used to install it as : squid.exe -i -n

[squid-users] quick question about squid proxy

2011-08-09 Thread Nathan Rice
Hello all, I apologize if I missed this when I was perusing the squid documentation. I am looking for caching proxy with the ability to transparently authenticate at a remote site on behalf of users. For example, a user requests page X, which requires a password; the squid server fetches this

Re: [squid-users] quick question about squid proxy

2011-08-09 Thread Amos Jeffries
On Tue, 9 Aug 2011 17:45:10 -0400, Nathan Rice wrote: Hello all, I apologize if I missed this when I was perusing the squid documentation. I am looking for caching proxy with the ability to transparently authenticate at a remote site on behalf of users. For example, a user requests page X,

Re: [squid-users] SQUID Multiple Instances not working on windows!

2011-08-09 Thread Amos Jeffries
On Wed, 10 Aug 2011 00:10:51 +0300, Ghassan Gharabli wrote: Hello, I have looked and read this URL http://wiki.squid-cache.org/MultipleInstances but still not working . Only the first Instance is woking well but the second isnt working yet! .. theproblem is I cant see any logs .. usually the

[squid-users] TCP_MISS/200

2011-08-09 Thread alexus
how can I improve these: in particular TCP_MISS/200 as it seems like I have most of these and almost none TCP_HIT/200 -bash-3.2# cat access.log | awk '{print $4}' | sort | uniq -c | sort -rn 115522 TCP_MISS/200 87750 TCP_DENIED/407 8933 TCP_MISS/304 7646 TCP_MISS/302 6456 TCP_MEM_HIT/200 4183

[squid-users] RE: Too Many Open File Descriptors

2011-08-09 Thread Justin Lawler
Hi, We have two instances of squid (3.0.15) running on a solaris box. Every so often (like many once every month) we get a load of below errors: 2011/08/09 19:22:10| comm_open: socket failure: (24) Too many open files Sometimes it goes away of its own, sometimes squid crashes and restarts.

Re: [squid-users] RE: Too Many Open File Descriptors

2011-08-09 Thread Wilson Hernandez
That used to happen to us and had to write a script to start squid like this: #!/bin/sh -e # echo Starting squid... ulimit -HSn 65536 sleep 1 /usr/local/squid/sbin/squid echo Done.. On 8/9/2011 10:47 PM, Justin Lawler wrote: Hi, We have two instances of squid (3.0.15) running on a

Re: [squid-users] RE: Too Many Open File Descriptors

2011-08-09 Thread Amos Jeffries
On Tue, 09 Aug 2011 23:07:05 -0400, Wilson Hernandez wrote: That used to happen to us and had to write a script to start squid like this: #!/bin/sh -e # echo Starting squid... ulimit -HSn 65536 sleep 1 /usr/local/squid/sbin/squid echo Done.. Pretty much the only solution. ICAP

Re: [squid-users] TCP_MISS/200

2011-08-09 Thread Amos Jeffries
On Tue, 9 Aug 2011 21:48:15 -0400, alexus wrote: how can I improve these: in particular TCP_MISS/200 as it seems like I have most of these and almost none TCP_HIT/200 -bash-3.2# cat access.log | awk '{print $4}' | sort | uniq -c | sort -rn 115522 TCP_MISS/200 87750 TCP_DENIED/407 8933

Re: [squid-users] invalid url in curl

2011-08-09 Thread Amos Jeffries
On Tue, 09 Aug 2011 19:57:47 +0430, Mohsen Pahlevanzadeh wrote: On Wed, 2011-08-10 at 01:20 +1200, Amos Jeffries wrote: On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: Dear all, I recall when use squidclient url and our url is not valid, now i tested with telnet google, and save html file

RE: [squid-users] RE: Too Many Open File Descriptors

2011-08-09 Thread Justin Lawler
Hi, Thanks for this. Is this a known issue? Is there any bugs/articles on this? Just we would need something more concrete to go to the customer with on this issue - more of a background on this issue would be very helpful. Is 2048 FD's enough? Is there any connection leaks? Does squid ignore