[squid-users] Please help test a streaming problem through squid

2012-11-07 Thread Peter Olsson
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?
(I will ask their support what the difference is in
the streaming methods of the commercial part and the
main part.)

Thanks!

-- 
Peter Olssonp...@leissner.se


Re: [squid-users] Please help test a streaming problem through squid

2012-11-07 Thread Amos Jeffries

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


Re: [squid-users] Please help test a streaming problem through squid

2012-11-08 Thread Peter Olsson
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

2012-11-08 Thread Eliezer Croitoru

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  ngtech.co.il


Re: [squid-users] Please help test a streaming problem through squid

2012-11-08 Thread Peter Olsson
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] Please help test a streaming problem through squid

2012-11-08 Thread Eliezer Croitoru

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  ngtech.co.il


Re: [squid-users] Please help test a streaming problem through squid

2012-11-08 Thread Peter Olsson
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

2012-11-08 Thread Eliezer Croitoru

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  ngtech.co.il