Re: [squid-users] Can a space after HTTP/1.1 be allowed?
Do name them please. Or at least the broken agent you uncovered. It's Afaria after a current hotfix -- which fixed it to actually use a proxy for all requests instead of just some. -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.hildebra...@charite.deCampus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
Re: [squid-users] Please help test a streaming problem through squid
On Thu, Nov 08, 2012 at 05:14:41PM +1300, Amos Jeffries wrote: On 8/11/2012 4:33 p.m., Peter Olsson wrote: Hello! We run squid as a caching proxy. No transparency or intercept in any form, and the only way out is through the squid proxy server. Web browsers use either wpad or hardcoded proxy configuration. Streams from www.dn.se/webbtv don't work. The commercial part first in every stream works fine, but when it's time to switch to the main stream it just stops and the screen goes black. Our production squid runs 3.1.21, and in a lab server I have tried with squid 2.7.STABLE9, 3.2.3 and 3.3.0.1-20121107-r12377. Same problem in all versions. The configuration in the lab server squids have been exactly as they were default installed, except that I enabled cache_dir ufs in all of them. Any ideas about this? Can you define stream in terms of the actual protocol taking place? There are many types of protocol involved with streaming. Squid only supports the HTTP and ICY streaming protocols. RTSP, RTMP, VoIP, VoD, SPDY and WebSockets streaming are not specifically supported by Squid (may require CONNECT tunnel access, but that is as close as it gets). and what agent is being used as a client? Sadly not all applets or embeded clients are capable of using an HTTP proxy. Amos I'm sorry, I don't know much about streaming, but their requirement for playing the streams is Adobe Flash. And the commercial part which works is played in the same plugin player as the main part which doesn't work. Maybe I'm using the word stream in the wrong way? Maybe video clip is a better phrase in this case? When I right click in the Flash plugin that is failing to play the video clip, it says Qbrick Professional: 3.8.1.211 and OSMF Version: 1.0, if that has any relevance. The Flash plugin in my web browser is version 11.3.300.270. These video clips are free to view so if you have a proxy squid available you could try them. I don't think they are limited to Swedish clients, at least I don't see anything about limitations on their web. http://www.dn.se/webbtv/ Thanks! -- Peter Olssonp...@leissner.se
Re: [squid-users] Please help test a streaming problem through squid
On 11/8/2012 1:40 PM, Peter Olsson wrote: I'm sorry, I don't know much about streaming, but their requirement for playing the streams is Adobe Flash. And the commercial part which works is played in the same plugin player as the main part which doesn't work. Maybe I'm using the word stream in the wrong way? Maybe video clip is a better phrase in this case? When I right click in the Flash plugin that is failing to play the video clip, it says Qbrick Professional: 3.8.1.211 and OSMF Version: 1.0, if that has any relevance. The Flash plugin in my web browser is version 11.3.300.270. These video clips are free to view so if you have a proxy squid available you could try them. I don't think they are limited to Swedish clients, at least I don't see anything about limitations on their web. http://www.dn.se/webbtv/ Thanks! It's most likely RTMP. If you can access the internet only using proxy you do have problem since flash dosnt really support proxy settings. There might be a way to create an rtmp proxy to use CONNECT for RTMP but it's a very big thing. Regards, Eliezer -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer at ngtech.co.il
Re: [squid-users] Please help test a streaming problem through squid
On Thu, Nov 08, 2012 at 02:06:46PM +0200, Eliezer Croitoru wrote: On 11/8/2012 1:40 PM, Peter Olsson wrote: I'm sorry, I don't know much about streaming, but their requirement for playing the streams is Adobe Flash. And the commercial part which works is played in the same plugin player as the main part which doesn't work. Maybe I'm using the word stream in the wrong way? Maybe video clip is a better phrase in this case? When I right click in the Flash plugin that is failing to play the video clip, it says Qbrick Professional: 3.8.1.211 and OSMF Version: 1.0, if that has any relevance. The Flash plugin in my web browser is version 11.3.300.270. These video clips are free to view so if you have a proxy squid available you could try them. I don't think they are limited to Swedish clients, at least I don't see anything about limitations on their web. http://www.dn.se/webbtv/ Thanks! It's most likely RTMP. If you can access the internet only using proxy you do have problem since flash dosnt really support proxy settings. There might be a way to create an rtmp proxy to use CONNECT for RTMP but it's a very big thing. Regards, Eliezer But why is the commercial part working in the same plugin? Flash web clips work fine behind proxy for these commercials, and also for complete video clips on other webs. -- Peter Olssonp...@leissner.se
Re: [squid-users] Radius Accounting!
On 11/7/2012 4:55 PM, Eliezer Croitoru wrote: On 11/7/2012 1:37 PM, Azfar Hashmi wrote: Hi all, I am using Squid 2.7 Stable9 (Debian Squeeze package) and i am using squid_radius_auth helper to perform authentication from radius (Freeradius 2.x) and this is working fine. Now the problem is that I want to do accounting in radius and for it I need squid to send accounting start / stop, interim updates etc to radius but it does not sending anything to radius except authentication requests. I want to confirm that is it even possible to do it with squid (log session time, bandwidth etc in radius)? is there any other radius plugin which can do it? or squid simply does not support these things? I can also try to hack squid_radius_auth helper code to add this functionality but first I need to confirm whether it will worth or squid simply do not support such things. I have also tried pam_auth helper with radius but it made no difference as well. Thanks in advance. Hey Azfar, As you may noticed this is auth helper and not related in any way to accounting. Squid dosnt have any accounting mechanism else then in delay pools as far as I can remember. This can be a nice feature. Radius accounting usually works on routing basis since it's based on IP level. I have been using a bit freebsd with MPD that can work with radius and accounting. if you are using sort of LNS you should do it there and not in the squid machine. Regards, Eliezer So there is no workground except manually parsing squid logs and feeding radius database? -- AzfarHashmi Cloudways Your Managed Cloud e: azfar.has...@cloudways.com w: www.cloudways.com http://www.cloudways.com PGP keyid: 0xF42034B0F915D729 http://keyserver.pgp.com
[squid-users] serveral workers and -N parameter possible ?
Hi, I want to run squid with several workers and when I start squid without -N option, then I see all the workers and it works as expected. But I use the daemontools from Danial Bernstein to start and monitor the proccesses. This tool requires, that the proccesses don't go in background. I think it must be possible to start the master proccess in foreground (-N option) and this master manages the workers in background. Squid does this allready with the auth and session helpers for years, so why does the -N option prevent squid from starting more workers ? -- Regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field.
Re: [squid-users] Radius Accounting!
On 11/8/2012 2:14 PM, Azfar Hashmi wrote: So there is no workground except manually parsing squid logs and feeding radius database? Not that I know of. I think that most of the needed code for the option is there and also can be fetched by SNMP. take a look at: http://wiki.squid-cache.org/Features/Snmp#Squid_OIDs at the part of Client Table. Regards, Eliezer -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer at ngtech.co.il
Re: [squid-users] Please help test a streaming problem through squid
On 11/8/2012 2:13 PM, Peter Olsson wrote: But why is the commercial part working in the same plugin? Flash web clips work fine behind proxy for these commercials, and also for complete video clips on other webs. Sorry I cant answer you yet since I dont have data on it. If you are willing to capture the sessions with WireShark or tcpdump (filtered) I will be happy to take a small look at it. Regards, Eliezer -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer at ngtech.co.il
Re: [squid-users] Please help test a streaming problem through squid
On Thu, Nov 08, 2012 at 02:44:17PM +0200, Eliezer Croitoru wrote: On 11/8/2012 2:13 PM, Peter Olsson wrote: But why is the commercial part working in the same plugin? Flash web clips work fine behind proxy for these commercials, and also for complete video clips on other webs. Sorry I cant answer you yet since I dont have data on it. If you are willing to capture the sessions with WireShark or tcpdump (filtered) I will be happy to take a small look at it. Regards, Eliezer Thanks, I will set this up later. I assume that the outside of the proxy is the most interesting to capture? Peter Olssonp...@leissner.se
Re: [squid-users] Please help test a streaming problem through squid
On 11/8/2012 2:53 PM, Peter Olsson wrote: Thanks, I will set this up later. I assume that the outside of the proxy is the most interesting to capture? From the client to the proxy\router. Regards, Eliezer -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer at ngtech.co.il
[squid-users] squid cache_dir COSS
Hi all, I compiled squid3 with support the coss cache_dir, but when start squid, display follow message: 2012/11/08 22:10:25| Max Swap size: 3072 KB 2012/11/08 22:10:25| /dev/sda8/swap.state: (20) Not a directory FATAL: storeCossDirOpenSwapLog: Failed to open swap log. Squid Cache (Version 3.2.3): Terminated abnormally. my settings squid.conf for cache_dir cache_dircoss /dev/sda8 3 max-size=100 block-size=2048 I'm confused I thought the method COSSI would deliver a raw device for the squid and he takes care to use the device as desired. Avoiding the overheadof filesystem. This is not how it should work? Any idea? Regards.
Re: [squid-users] serveral workers and -N parameter possible ?
On 9/11/2012 1:39 a.m., Dieter Bloms wrote: Hi, I want to run squid with several workers and when I start squid without -N option, then I see all the workers and it works as expected. But I use the daemontools from Danial Bernstein to start and monitor the proccesses. This tool requires, that the proccesses don't go in background. I think it must be possible to start the master proccess in foreground (-N option) and this master manages the workers in background. Squid does this allready with the auth and session helpers for years, so why does the -N option prevent squid from starting more workers ? Because -N means run in the foreground without daemons and workers are daemons. upstart, daemontools and other daemon-managers are not able to re-start workers when they are hidden away in the background and do not play nicely when there is another manager process than themselves. The auth helpers etc are sub-programs run as sub-processes nor forked like workers are so they do not clash with whatever service manager is in use. Amos
Re: [squid-users] squid cache_dir COSS
On 9/11/2012 1:20 p.m., spiderslack wrote: Hi all, I compiled squid3 with support the coss cache_dir, but when start squid, display follow message: 2012/11/08 22:10:25| Max Swap size: 3072 KB 2012/11/08 22:10:25| /dev/sda8/swap.state: (20) Not a directory FATAL: storeCossDirOpenSwapLog: Failed to open swap log. Squid Cache (Version 3.2.3): Terminated abnormally. my settings squid.conf for cache_dir cache_dircoss /dev/sda8 3 max-size=100 block-size=2048 I'm confused I thought the method COSSI would deliver a raw device for the squid and he takes care to use the device as desired. Avoiding the overheadof filesystem. This is not how it should work? It is not expected to work in squid 3.x. The original COSS implementation had a lot of bugs and the people who fixed it up for the squid-2.6+ fork did not assist with getting many of those fixes into the squid-3 branch. 3.2 provides rock store type instead which is an updated design similar to COSS but with SMP support and some other improvements. Amos