Re: [squid-users] Squid conf for live video stream

2008-10-20 Thread Amos Jeffries
[EMAIL PROTECTED] wrote: Hi all, i configured squid transparent for caching live video stream. I need to cache the live video objects from my particular domain. But mostly url's vary from request to request.Because VOD service. So... you are running a service which has explicitly been

Re: [squid-users] Inelegant routing based on file size

2008-10-20 Thread Regardt van de Vyver
Vernon Kennedy-Van Dam wrote: Thanx very much Amos. Much appreciated with the feedback. Hi All I am looking to route download traffic based on file size of the download requests. If a user in our network was to download a 10mb file, he gets routed through link 1. If a user requests a

[squid-users] Strange entries in cache.log (3.0.STABLE10)

2008-10-20 Thread Malte Schröder
Hello, I am seeing entries like below quite frequently. It looks to me as if the Content-Language and Content-Location headers are not parsed correctly, since I cannot see this stuff in the traffic going to the squid. In this config Squid has a WebWasher installation as parent and has an

[squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Aviral Pandey
My server doesn't support gzip and hence serves content in unzipped/raw/deflate format. When my client asks for Accept-Encoding: gzip, deflate, squid is sending it raw content. Shouldn't it gzip and then send? Is there a way in which this can be achieved? Thanks, Avi

Re: [squid-users] Squid conf for live video stream

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 19:13 +1300, Amos Jeffries wrote: You need to fix the VOD implementation to use cacheable URI. Or scream at the vendors who wrote it so they fix it. And most won't fix it as they regard this cache unfriendlyness as one of the premium features of their system. Regards

Re: [squid-users] Squid conf for live video stream

2008-10-20 Thread viveksnv
Thanks Henrik, All the videos are cachable. Because the video's are maintained by us. But the origin server not near by us. So i try to cache and serve to customers quickly. And also the objects are cached by squid. But performance is very slow. so i need some tips to improve the

Re: [squid-users] Strange entries in cache.log (3.0.STABLE10)

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 11:01 +0200, Malte Schröder wrote: Hello, I am seeing entries like below quite frequently. It looks to me as if the Content-Language and Content-Location headers are not parsed correctly, since I cannot see this stuff in the traffic going to the squid. In this config

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 15:23 +0530, Aviral Pandey wrote: When my client asks for Accept-Encoding: gzip, deflate, squid is sending it raw content. Shouldn't it gzip and then send? No, Content-Encoding (just as Content-Languate) is a task of webservers, not semantically transparent proxies such

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Simon Waters
On Monday 20 October 2008 10:53:14 Aviral Pandey wrote: My server doesn't support gzip and hence serves content in unzipped/raw/deflate format. When my client asks for Accept-Encoding: gzip, deflate, squid is sending it raw content. Shouldn't it gzip and then send? No, it could (in theory)

Re: [squid-users] Squid conf for live video stream

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 06:20 -0400, [EMAIL PROTECTED] wrote: All the videos are cachable. Because the video's are maintained by us. But the origin server not near by us. So i try to cache and serve to customers quickly. So fix the origin. Alternatively you can play games with a url rewriter

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Aviral Pandey
Thanks Henrik...But I have seen vice-versa to be working i.e., server sending a gzipped response and squid serving deflated one when client asks for deflated content My squid is 2.6-16. Thanks, Avi http://aviral.piworx.com Henrik Nordstrom wrote: On mån, 2008-10-20 at 15:23 +0530,

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 16:08 +0530, Aviral Pandey wrote: Thanks Henrik...But I have seen vice-versa to be working i.e., server sending a gzipped response and squid serving deflated one when client asks for deflated content This is not available in any Squid version. But Squid do support

[squid-users] Re: acl deny in transparent cache

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 05:42 -0500, Jian Wang wrote: I'm not sure how to do this. Is it externally changing the configuration of the router? For example, in the Squid external_acl_helper code, telnet to the router and add an acl line to the configuration of router? Yes that's one way. Isn't

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 11:21 +0100, Simon Waters wrote: Apache will do this as a reverse proxy, but Apache as a reverse proxy is interesting - most places I've seen it done it is sitting on the webserver on port 80 forwarding to less capable webservers on another port. Although Apache can

[squid-users] Re: Unable to match empty user-agent strings?

2008-10-20 Thread James Cohen
After some further testing and looking closely at the request headers it turns out that this is failing because the User-Agent header field isn't present (rather than it being present but empty). Here's my workaround/solution which seems to work nicely. acl image_leechers browser ^$ acl

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Amos Jeffries
Aviral Pandey wrote: Thanks Henrik...But I have seen vice-versa to be working i.e., server sending a gzipped response and squid serving deflated one when client asks for deflated content Are you sure? squid does _transfer_ chunked decoding. But thats special compression only 'zipped'

Re: [squid-users] Unable to match empty user-agent strings?

2008-10-20 Thread Amos Jeffries
James Cohen wrote: Hi, I think I've found a bug but first wanted to double-check I wasn't doing anything dumb. In our reverse proxy setup we want to block people from leeching the images using Wget or similar applications. To do this we want to block user agents that match Wget and because

Re: [squid-users] Unable to match empty user-agent strings?

2008-10-20 Thread James Cohen
2008/10/20 Amos Jeffries [EMAIL PROTECTED]: It's not so much an empty string. As a completely missing header. Squid can only test what it has against what it checks. If you get my meaning. I haven't tested it, but you might have better luck if you invert the test to allow access to okay

Re: [squid-users] squid and accept-encoding gzip,deflate

2008-10-20 Thread Aviral Pandey
What webserver is it that doesn't support compression? Its a custom webserver, a very simple one which does file serving and has no application built upon it. I am using squid as a reverse proxy here.

[squid-users] Unable to match empty user-agent strings?

2008-10-20 Thread James Cohen
Hi, I think I've found a bug but first wanted to double-check I wasn't doing anything dumb. In our reverse proxy setup we want to block people from leeching the images using Wget or similar applications. To do this we want to block user agents that match Wget and because lots of people use CURL

Re: [squid-users] Strange entries in cache.log (3.0.STABLE10)

2008-10-20 Thread Malte Schröder
On Mon, 20 Oct 2008 12:17:12 +0200 Henrik Nordstrom [EMAIL PROTECTED] wrote: On mån, 2008-10-20 at 11:01 +0200, Malte Schröder wrote: Have you inspected the ICAP responses from imageFilter, and paired this with the error? I suspect the error may be from there. No I had not done that. But I

RE: [squid-users] Authentication Issue with Squid and mixed BASIC/NTLM auth

2008-10-20 Thread Chris Natter
This has all been on a test machine that has access to OWA and the internal network, nothing production was touched :) I work with a very large network so I have a lot of resources to at my disposal. The config (it's been sanitized for confidentiality reasons): https_port 10.212.134.117:443

[squid-users] Secondary Cache

2008-10-20 Thread Monah Baki
Hi All, Can I have my squid cache be a secondary cache to a bluecoat server? Thanks

Re: [squid-users] Secondary Cache

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 19:57 +0300, Monah Baki wrote: Can I have my squid cache be a secondary cache to a bluecoat server? Yes. Regards Henrik signature.asc Description: This is a digitally signed message part

[squid-users] Objects Release from Cache Earlier Than Expected

2008-10-20 Thread BUI18
Hi - I have been trying to track down an issue with Squid 2.6 STABLE18 and why users were getting TCP_REFRESH_MISS instead of TCP_REFRESH_HIT on files that were recently cached. We first noticed that users were getting misses when we expected them to receive hits. I have set the min and max

Re: [squid-users] Objects Release from Cache Earlier Than Expected

2008-10-20 Thread BUI18
Hi - Here's some additional info I noticed from the store.log. 1224524455.351 SWAPOUT 00 0003A6CB 7377CBD1A7584A5D7C7FD06B5B827595 200 1224524431 1224522501-1 video/jpeg 1337100/1337100 GET http://ftp.mydomain.com/myserver/websites/data/MyVideoFile1020130441180.vid 1224544851.517

Re: [squid-users] Objects Release from Cache Earlier Than Expected

2008-10-20 Thread Henrik Nordstrom
On mån, 2008-10-20 at 16:02 -0700, BUI18 wrote: Hi - I have been trying to track down an issue with Squid 2.6 STABLE18 and why users were getting TCP_REFRESH_MISS instead of TCP_REFRESH_HIT on files that were recently cached. We first noticed that users were getting misses when we expected

Re: [squid-users] Objects Release from Cache Earlier Than Expected

2008-10-20 Thread BUI18
I not sure what you mean by a newer copy of the same URL? Can you elaborate on that a bit? As far as I know, the aspx pages displays a list of buttons for each video file. When the user clicks on the button, it references the URL. I've seen it where the user click the link and gets a

RE: [squid-users] Authentication Issue with Squid and mixed BASIC/NTLM auth

2008-10-20 Thread Amos Jeffries
This has all been on a test machine that has access to OWA and the internal network, nothing production was touched :) I work with a very large network so I have a lot of resources to at my disposal. Doh, here I was still thinking along the lines of you doing auth in squid. Now I've got me

[squid-users] can I use Squid as a proxy of streaming protocol?

2008-10-20 Thread keisuke.hamanaka
Hello, I have a question. Can I use Squid as a proxy of Streaming protocol such as WMV,RealMedia and QuickTime? Can I use Squid as a proxy of Instant Messsage such as AOL,Yahoo and MSN? I'm very sorry that my English is so poor.

Re: [squid-users] can I use Squid as a proxy of streaming protocol?

2008-10-20 Thread Tim Bates
[EMAIL PROTECTED] wrote: Can I use Squid as a proxy of Streaming protocol such as WMV,RealMedia and QuickTime? Can I use Squid as a proxy of Instant Messsage such as AOL,Yahoo and MSN? Squid is an HTTP proxy, so anything that can use HTTP proxies can go through it. MSN Messenger and ICQ can