Re: [squid-users] Websites not loading correctly

2010-02-19 Thread Alex Marsal
Oh, I see. And there's no way to make squid display it correctly without contacting the website admin? I mean, why without squid it is displayed correctly? I have issues with other website, for example trying to make a flight booking from: http://www.brusselsairlines.com And I'm also

[squid-users] HTTP/1.0 417 Expectation failed

2010-02-19 Thread Riccardo Castellani
I'm using Squid 2.7 STABLE3 and I noted my software sends http Request = where there is written: POST http://www.inps.it/... ... Expect: 100-Continue Squid answers saying : HTTP/1.0 417 Expectation failed ... X-Squid-Error: ERR_INVALID_REQ 0 Squid uses Expect request ?! How Can I solve it ?

Re: [squid-users] captive portal with squid transparent

2010-02-19 Thread Matus UHLAR - fantomas
On 17.02.10 14:26, Mister Raven wrote: Has anyone had any success setting up a captive portal on squid 3.1.x in transparent proxy mode, and running dansguardian 2.2? portal with transparent proxy? Shouldn't that be reverse proxy mode? -- Matus UHLAR - fantomas, uh...@fantomas.sk ;

Re: [squid-users] Websites not loading correctly

2010-02-19 Thread Amos Jeffries
Alex Marsal wrote: Oh, I see. And there's no way to make squid display it correctly without contacting the website admin? I mean, why without squid it is displayed correctly? Because Squid is storing it in transit. You can acces sit through squid fine, but without working Vary: any stored

Re: [squid-users] regarding caching and replication

2010-02-19 Thread Amos Jeffries
senthil wrote: Thank you very much Hi henri, We need to make cached data in squid1 to be cached data in squid2 Is there any possibility . Note: Squid2 is started if request rate increases beyond certain rate Ah, that explains a lot about what you are thinking. In your place I would not

Re: [squid-users] captive portal with squid transparent

2010-02-19 Thread Amos Jeffries
Matus UHLAR - fantomas wrote: On 17.02.10 14:26, Mister Raven wrote: Has anyone had any success setting up a captive portal on squid 3.1.x in transparent proxy mode, and running dansguardian 2.2? portal with transparent proxy? Shouldn't that be reverse proxy mode? No necessarily.

Re: [squid-users] squidclient help

2010-02-19 Thread Amos Jeffries
Vivek wrote: Hi All, I am trying to get the URLs of cached objects in disk in via squidclient. #squidclient mgr:vm_objects Retrieves the list of objects in the memory cache. It contains the URL link ( GET http://127.0.0.1:3181/id=02591000260870/image.png ) --- KEY

Re: [squid-users] HTTP/1.0 417 Expectation failed

2010-02-19 Thread Amos Jeffries
Riccardo Castellani wrote: I'm using Squid 2.7 STABLE3 and I noted my software sends http Request = where there is written: POST http://www.inps.it/... ... Expect: 100-Continue Squid answers saying : HTTP/1.0 417 Expectation failed ... X-Squid-Error: ERR_INVALID_REQ 0 Squid uses Expect

Re: [squid-users] Livemeeting (audio and video) and squid

2010-02-19 Thread Amos Jeffries
P. H. wrote: Hi all, Has anybody expierence with livemeeting and squid? We have the problem that we can do livemeeting conferences with (or through) squid but audio and video is not possible. Even though microsoft docs state that when you have proxy configured I'm scratching my head about how

Re: [squid-users] Websites not loading correctly

2010-02-19 Thread Alex Marsal
Hi Amos, One of the sites give me: * The Etag header's syntax isn't valid. * The Location header contains a relative URI. * The Content-Length header is correct. * The server's clock is 7 sec ahead. The question is why the websites are displayed correctly without proxy and with squid

[squid-users] One instance as both, proxy and reverse proxy

2010-02-19 Thread Bastian Spanneberg
Hi all I'm trying to find out if the following scenario is possible with Squid: I want to run 1 instance of Squid, which acts as both, a proxy with proxy authentication and as a reverse proxy for different web/app servers in the back. Is there a way for squid to distinguish between standard

[squid-users] Active Directory based URL control

2010-02-19 Thread Fabio Almeida
Hi all, Can I use Active Directory to store URLs, Words, etc with external_acl statement? I've sucessfully configured squid to authenticate users and groups against Active Directory. I'm wondering if I can use AD to store words, phrases and URLs instead of a plain file. Is it possible, practical

Re: [squid-users] squidclient help

2010-02-19 Thread Vivek
Hi Amos, Thanks for your reply. i tired with purge tool. But works for localhost well. How do we use purge toll for remote squid ? Any possibilities ?... Thanks in advance. Thanks, Vivek -Original Message- From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org

[squid-users] R: [squid-users] HTTP/1.0 417 Expectation failed

2010-02-19 Thread Riccardo Castellani
I ask if Squid previous versions ignored Expect header forwarding request to server. But now why Squid code (2.7 version) detects this header and it handles it as error ? Why has this Squid behaviour been modified ? -Messaggio originale- Da: Amos Jeffries [mailto:squ...@treenet.co.nz]

Re: [squid-users] why three connection attemps to the same IP ?

2010-02-19 Thread Adrian Buciuman
On 2/6/10, Amos Jeffries squ...@treenet.co.nz wrote: Adrian Buciuman wrote: Hi, Running squid 2.6 STABLE 21 from Centos 5. I've seen a issue with a site. The problem is that the browser locks for some time, and only afterwards the user is able to interact with the site. (The site

Re: [squid-users] NTLM pass-through breaking uploads to Flickr, etc.

2010-02-19 Thread Mike Ely
On 2/17/10 4:10 PM, Mike Ely mike...@amyskitchen.net wrote: Hi there, We've got 2.6 stable running as logging only server, no caching going on. Users are authenticated via NTLM if they're on Windows, works fine in FF and IE with one exception. Uploading a file prompts a second auth

[squid-users] Squid 3.0 and Linux 2.6 kernel tweaks

2010-02-19 Thread Andy Litzinger
Hi All, I searched through the mail archives and squid-cache site, but I’ve been unable to find anything that mentions any kernel tweaks that may or may not be necessary with a 2.6 kernel. I am mostly concerned with running high volume reverse proxy setups. For example, back in the Squid v

Re: [squid-users] peer selection with weight=N

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 03:08 -0200 skrev H: Thing is, all three as parent with no-query round-robin get equal load as supposed, but, giving one (any) of them weight=2 makes no difference, still gets the same load. How much traffic do you have? So I thought doing this cache_peer

Re: [squid-users] Websites not loading correctly

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 12:58 +0100 skrev Alex Marsal: The question is why the websites are displayed correctly without proxy and with squid are not working. And the most important thing is if there's something to setup in squid to fix those kind of issues. If using msie then a common

Re: [squid-users] One instance as both, proxy and reverse proxy

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 14:17 +0100 skrev Bastian Spanneberg: I want to run 1 instance of Squid, which acts as both, a proxy with proxy authentication and as a reverse proxy for different web/app servers in the back. Ok. Just keep in mind that you need never_direct rules for the reverse

Re: [squid-users] Active Directory based URL control

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 11:27 -0200 skrev Fabio Almeida: I'm wondering if I can use AD to store words, phrases and URLs instead of a plain file. Theoretically yes, but will need both the AD schema to be extended and a new helper to be written using the data. Is it possible, practical and as

Re: [squid-users] squidclient help

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 08:55 -0500 skrev Vivek: i tired with purge tool. But works for localhost well. How do we use purge toll for remote squid ? Any possibilities ?... You can't. The purge tool works by reading the on-disk cache bypassing Squid. Regards Henrik

Re: [squid-users] R: [squid-users] HTTP/1.0 417 Expectation failed

2010-02-19 Thread Chris Robertson
Riccardo Castellani wrote: I ask if Squid previous versions ignored Expect header forwarding request to server. But now why Squid code (2.7 version) detects this header and it handles it as error ? Why has this Squid behaviour been modified ? Given the following scenario... Some random

Re: [squid-users] One instance as both, proxy and reverse proxy

2010-02-19 Thread Chris Robertson
Bastian Spanneberg wrote: Hi all I'm trying to find out if the following scenario is possible with Squid: I want to run 1 instance of Squid, which acts as both, a proxy with proxy authentication and as a reverse proxy for different web/app servers in the back. Is there a way for squid to

Re: [squid-users] Active Directory based URL control

2010-02-19 Thread Chris Robertson
Fabio Almeida wrote: Hi all, Can I use Active Directory to store URLs, Words, etc with external_acl statement? As long as you can craft an external_acl script to query it, yes. I've sucessfully configured squid to authenticate users and groups against Active Directory. I'm wondering if I

Re: [squid-users] R: [squid-users] HTTP/1.0 417 Expectation failed

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 14:57 +0100 skrev Riccardo Castellani: I ask if Squid previous versions ignored Expect header forwarding request to server. But now why Squid code (2.7 version) detects this header and it handles it as error ? Why has this Squid behaviour been modified ? Because more

Re: [squid-users] Squid 3.0 and Linux 2.6 kernel tweaks

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 10:10 -0800 skrev Andy Litzinger: For example, back in the Squid v 2.6 days with 2.2 or 2.4 linux kernels I see lots of recommendations for raising the file descriptor limits to 8192 or 16384. With the 2.6 kernel it seems the default kernel params (at least in

[squid-users] Re: HTTP/1.0 417 Expectation failed

2010-02-19 Thread M A Young
On Fri, 19 Feb 2010, Riccardo Castellani wrote: I'm using Squid 2.7 STABLE3 and I noted my software sends http Request = where there is written: POST http://www.inps.it/... ... Expect: 100-Continue Squid answers saying : HTTP/1.0 417 Expectation failed ... X-Squid-Error: ERR_INVALID_REQ 0

[squid-users] Cache Videos Youtube

2010-02-19 Thread Ariel
Hello list, I have squid version 2.7.STABLE3, debian lenny and wanted to know if I have way to cache the videos from youtube?

RE: [squid-users] Squid 3.0 and Linux 2.6 kernel tweaks

2010-02-19 Thread Andy Litzinger
fre 2010-02-19 klockan 10:10 -0800 skrev Andy Litzinger: For example, back in the Squid v 2.6 days with 2.2 or 2.4 linux kernels I see lots of recommendations for raising the file descriptor limits to 8192 or 16384. With the 2.6 kernel it seems the default kernel params (at least in

Re: [squid-users] Active Directory based URL control

2010-02-19 Thread Mike Ely
Here¹s an example from our config that works fine. We have a (largish) group of users we don¹t want surfing the web but they do need access to the fedex website for shipping - you can obviously configure it to suit your own needs. I created the OU containers in the root of the domain tree and

[squid-users] Automated configuration of the Machines browser clients

2010-02-19 Thread Oscar Renato Gonzalez
English Version I configured squid 2.7 on debian to authenticate users against Microsoft Active Directory which is running under a Windows 2003 server. So far everything is working well. The problem I am trying to solve, for automating the configuration of client machines. For example a machine

RE: [squid-users] Squid 3.0 and Linux 2.6 kernel tweaks

2010-02-19 Thread Henrik Nordström
fre 2010-02-19 klockan 12:54 -0800 skrev Andy Litzinger: We run with stock kernels from CentOS/RHEL so I guess I meant in those the kernel and shell fd limits are way higher. Are you sure they are by default? It's easy to configure anyhow. On must systems the default is whatever the

Re: [squid-users] Cache Videos Youtube

2010-02-19 Thread Tim Bates
On 20/02/2010 7:36 AM, Ariel wrote: Hello list, I have squid version 2.7.STABLE3, debian lenny and wanted to know if I have way to cache the videos from youtube? Yes, though I've not tried it. See http://cachevideos.com/ TB

Re: [squid-users] Cache Videos Youtube

2010-02-19 Thread adi
Ariel wrote: Hello list, I have squid version 2.7.STABLE3, debian lenny and wanted to know if I have way to cache the videos from youtube? Hi, if you only want to cache youtube, maybe you can use this link, and fokus on kutukupret comment, this script still can be use. use squid 2.7

Re: [squid-users] NTLM pass-through breaking uploads to Flickr, etc.

2010-02-19 Thread Amos Jeffries
Mike Ely wrote: On 2/17/10 4:10 PM, Mike Ely mike...@amyskitchen.net wrote: Hi there, We've got 2.6 stable running as logging only server, no caching going on. Users are authenticated via NTLM if they're on Windows, works fine in FF and IE with one exception. Uploading a file prompts a

Re: [squid-users] Automated configuration of the Machines browser clients

2010-02-19 Thread Amos Jeffries
Oscar Renato Gonzalez wrote: English Version I configured squid 2.7 on debian to authenticate users against Microsoft Active Directory which is running under a Windows 2003 server. So far everything is working well. The problem I am trying to solve, for automating the configuration of client

[squid-users] very slow and poor cache hits using ntlm

2010-02-19 Thread Guido Marino Lorenzutti
Hi people: I have a squid using ntlm to authenticate the users. I also use a external acl but im running out of ideas to make it run faster. If I disable the ntlm everything works very well, and the cache hits increses a lot. I found that the squids asks a lot for username and passwords to

Re: [squid-users] very slow and poor cache hits using ntlm

2010-02-19 Thread Amos Jeffries
Guido Marino Lorenzutti wrote: Hi people: I have a squid using ntlm to authenticate the users. I also use a external acl but im running out of ideas to make it run faster. If I disable the ntlm everything works very well, and the cache hits increses a lot. I found that the squids asks a lot

Re: [squid-users] very slow and poor cache hits using ntlm

2010-02-19 Thread Guido Marino Lorenzutti
Amos: Thanks... this helps a lot. I just have one question regarding... this: client_persistent_connections off server_persistent_connections off If I enable this, my webservers starts having high load. The httpds in them never closes any connection, and soon I run out of childs in the

Re: [squid-users] peer selection with weight=N

2010-02-19 Thread H
fre 2010-02-19 klockan 03:08 -0200 skrev H: Thing is, all three as parent with no-query round-robin get equal load as supposed, but, giving one (any) of them weight=2 makes no difference, still gets the same load. How much traffic do you have? 10Mbit/s plus 8Mbit/s on each parent cache