Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Alan Pope
2009/2/7 Guy Thouret :
> PS. I have a current UK TV Licence so I am entitled to watch BBC iPlayer
> even if my method of access is unconventional
>

PS. You don't need one for time-shifted stuff. You only need a TV
license if you're watching stuff as it's being broadcast.

Cheers,
Al.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Chris Rowson
>
>  Hi Chris,
>
> I connect through a proxy to watch iPlayer all the time (I'm currently
> living in the US temporarily and have a server in the UK).  I get this
> message quite a lot, mainly it's when trying to watch streams with the 'High
> Quality' setting.  Sometimes I need to refresh the page 2 or 3 times to get
> the stream to play, but I can always get it to play in 'Normal Quality'.
> Another trick I have found is starting off playing in normal quality, then
> switching to high quality after a minute or so.
>
> I connect through a squid proxy and the only setting I ever change is the
> http proxy setting in firefox.
>
> If you have SSH access to any servers, you could try using your SSH
> connection as a SOCKS proxy:
>
> ssh u...@host -D  (I normally use port 9000)
>
> Then clear any http proxy settings from firefox and put 127.0.0.1 and the
> port number into the 'SOCKS host' box and set the option to SOCKS 5.
>
> This trick is also good if you ever want to encrypt your web traffic from
> an unsecured wireless network.
>
> Guy.
>
> PS. I have a current UK TV Licence so I am entitled to watch BBC iPlayer
> even if my method of access is unconventional
>
>
>
Hiya Guy,

Now why didn't I think of that? I've done the whole SOCKS proxy thing before
whilst mucking about with Ubuntu but it didn't occur to me to use it to get
around this problem. Thanks mate!

Doh

Chris
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Guy Thouret
Hi Chris,

I connect through a proxy to watch iPlayer all the time (I'm currently
living in the US temporarily and have a server in the UK).  I get this
message quite a lot, mainly it's when trying to watch streams with the
'High Quality' setting.  Sometimes I need to refresh the page 2 or 3
times to get the stream to play, but I can always get it to play in
'Normal Quality'.  Another trick I have found is starting off playing in
normal quality, then switching to high quality after a minute or so.

I connect through a squid proxy and the only setting I ever change is
the http proxy setting in firefox.

If you have SSH access to any servers, you could try using your SSH
connection as a SOCKS proxy:

ssh u...@host -D  (I normally use port 9000)

Then clear any http proxy settings from firefox and put 127.0.0.1 and
the port number into the 'SOCKS host' box and set the option to SOCKS 5.

This trick is also good if you ever want to encrypt your web traffic
from an unsecured wireless network.

Guy.

PS. I have a current UK TV Licence so I am entitled to watch BBC iPlayer
even if my method of access is unconventional

On Sat, 2009-02-07 at 14:07 +, Chris Rowson wrote:

> 
> 
> 
> 
> 2009/2/7 Chris Rowson :
> 
> > Hi Harry, the only IP address on the network that can get
> out to the 'net is
> > that of the proxy. All traffic has to go through the proxy.
> >
> 
> 
> 
> Try installing the user agent switcher addon for firefox to
> make ff on
> ubuntu appear as if it is whatever browser works on windows.
> 
> I have seen poorly configured squid proxies which look for
> specific
> user agent strings from the client.
> 
> Cheers,
> Al.
> 

> 
> 
> 
> Thanks for the suggestion Al but unfortunately that didn't work (tried
> Windows + IE7 settings and confirmed it was sending that user agent
> out). For anyone interested, heres what the full header sent by the
> browser normally contains (according to whatsmyuseragent.com)
> 
> I do manage the proxy so if it's mis-configured then it's my fault
> lol ;-)
> 
> HTTP_CACHE_CONTROL:max-age=0
> HTTP_CONNECTION:keep-alive
> HTTP_KEEP_ALIVE:300
> HTTP_VIA:1.1 InternalProxy:3128 (squid/2.5.STABLE12)
> HTTP_ACCEPT:text/html,application/xhtml
> +xml,application/xml;q=0.9,*/*;q=0.8
> HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
> HTTP_ACCEPT_ENCODING:gzip,deflate
> HTTP_ACCEPT_LANGUAGE:en-gb,en;q=0.5
> HTTP_COOKIE:ASPSESSIONIDQQRDRARC=LACGFILCKFHKBKIGFEODJOBC
> HTTP_HOST:whatsmyuseragent.com
> HTTP_REFERER:http://www.google.co.uk/search?q=what+is+my+user
> +agent&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-GB:unofficial&client=firefox-a
> HTTP_USER_AGENT:Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.5)
> Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5
> HTTP_X_FORWARDED_FOR:192.168.0.127
> 
> 
> 
> 
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Chris Rowson
2009/2/7 Chris Rowson :
> > Hi Harry, the only IP address on the network that can get out to the 'net
> is
> > that of the proxy. All traffic has to go through the proxy.
> >
>
> Try installing the user agent switcher addon for firefox to make ff on
> ubuntu appear as if it is whatever browser works on windows.
>
> I have seen poorly configured squid proxies which look for specific
> user agent strings from the client.
>
> Cheers,
> Al.
>
>
Thanks for the suggestion Al but unfortunately that didn't work (tried
Windows + IE7 settings and confirmed it was sending that user agent out).
For anyone interested, heres what the full header sent by the browser
normally contains (according to whatsmyuseragent.com)

I do manage the proxy so if it's mis-configured then it's my fault lol ;-)

HTTP_CACHE_CONTROL:max-age=0
HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_VIA:1.1 InternalProxy:3128 (squid/2.5.STABLE12)
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:en-gb,en;q=0.5
HTTP_COOKIE:ASPSESSIONIDQQRDRARC=LACGFILCKFHKBKIGFEODJOBC
HTTP_HOST:whatsmyuseragent.com
HTTP_REFERER:
http://www.google.co.uk/search?q=what+is+my+user+agent&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-GB:unofficial&client=firefox-a
HTTP_USER_AGENT:Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.5)
Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5
HTTP_X_FORWARDED_FOR:192.168.0.127
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Alan Pope
2009/2/7 Chris Rowson :
> Hi Harry, the only IP address on the network that can get out to the 'net is
> that of the proxy. All traffic has to go through the proxy.
>

Try installing the user agent switcher addon for firefox to make ff on
ubuntu appear as if it is whatever browser works on windows.

I have seen poorly configured squid proxies which look for specific
user agent strings from the client.

Cheers,
Al.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Chris Rowson
> >> > 2009/2/7 Chris Rowson :
> >> >> Hi there,
> >> >>
> >> >> I don't know if anyone else has come across this, but I'll ask
> anyway.
> >> >>
> >> >> I'm trying to visit iPlayer on my Ubuntu laptop using Firefox, but I
> >> keep
> >> >> getting the message 'content unavailable, please try again later' (or
> >> >> along
> >> >> those lines). If I visit iPlayer using a Windows PC with Firefox I
> >> >> don't
> >> >> receive the message.
> >> >>
> >> >> I'm pretty sure that it must have something to do with the proxy I
> >> >> have
> >> >> to
> >> >> go out through when I'm at this location. It's a Squid proxy (running
> >> >> on
> >> >> Ubuntu Dapper) and I can only think that there must be some kind of
> >> >> incompatibility somewhere. If I don't go through the proxy (for
> >> >> instance
> >> >> if
> >> >> I'm at home) then iPlayer works fine.
> >> >>
> >> >> Has anyone seen anything like this before, does anyone have any
> >> >> suggestions?
> >> >
> >> > Could the squid be blocking the port the media from iPlayer streams
> on?
> >> >
> >> >
> >> > --
> >> > Kris Douglas
> >> >   Softdel Limited Hosting Services
> >> >   Web: www.softdel.co.uk
> >> >   Mastil: k...@softdel.co.uk
> >> >
> >> > Company No. 6135915
> >> > Registered in England and Wales
> >>
> >>
> >> Have you setup the proxy for Firefox, or for the whole system? If just
> >> for
> >> Firefox, Flash may not be using the proxy, thus the error.
> >>
> >
> > I've set it up for just Firefox. I'm using CrunchBang at the moment and
> it
> > doesn't have a general system proxy option like Ubuntu Gnome (as far as I
> > can see). Sites like youtube work though.
> >
> > Chris
>
>
> Can you access Youtube without the proxy though, as it may be that Firefox
> is using the proxy whilst Flash is just using a direct connection?
>

Hi Harry, the only IP address on the network that can get out to the 'net is
that of the proxy. All traffic has to go through the proxy.

Chris
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Chris Rowson
>
> > 2009/2/7 Chris Rowson :
> >> Hi there,
> >>
> >> I don't know if anyone else has come across this, but I'll ask anyway.
> >>
> >> I'm trying to visit iPlayer on my Ubuntu laptop using Firefox, but I
> keep
> >> getting the message 'content unavailable, please try again later' (or
> >> along
> >> those lines). If I visit iPlayer using a Windows PC with Firefox I don't
> >> receive the message.
> >>
> >> I'm pretty sure that it must have something to do with the proxy I have
> >> to
> >> go out through when I'm at this location. It's a Squid proxy (running on
> >> Ubuntu Dapper) and I can only think that there must be some kind of
> >> incompatibility somewhere. If I don't go through the proxy (for instance
> >> if
> >> I'm at home) then iPlayer works fine.
> >>
> >> Has anyone seen anything like this before, does anyone have any
> >> suggestions?
> >
> > Could the squid be blocking the port the media from iPlayer streams on?
> >
> >
> > --
> > Kris Douglas
> >   Softdel Limited Hosting Services
> >   Web: www.softdel.co.uk
> >   Mastil: k...@softdel.co.uk
> >
> > Company No. 6135915
> > Registered in England and Wales
>
>
> Have you setup the proxy for Firefox, or for the whole system? If just for
> Firefox, Flash may not be using the proxy, thus the error.
>

I've set it up for just Firefox. I'm using CrunchBang at the moment and it
doesn't have a general system proxy option like Ubuntu Gnome (as far as I
can see). Sites like youtube work though.

Chris
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Chris Rowson
On Sat, Feb 7, 2009 at 12:54 PM, Kris Douglas  wrote:

> 2009/2/7 Chris Rowson :
> > Hi there,
> >
> > I don't know if anyone else has come across this, but I'll ask anyway.
> >
> > I'm trying to visit iPlayer on my Ubuntu laptop using Firefox, but I keep
> > getting the message 'content unavailable, please try again later' (or
> along
> > those lines). If I visit iPlayer using a Windows PC with Firefox I don't
> > receive the message.
> >
> > I'm pretty sure that it must have something to do with the proxy I have
> to
> > go out through when I'm at this location. It's a Squid proxy (running on
> > Ubuntu Dapper) and I can only think that there must be some kind of
> > incompatibility somewhere. If I don't go through the proxy (for instance
> if
> > I'm at home) then iPlayer works fine.
> >
> > Has anyone seen anything like this before, does anyone have any
> suggestions?
>
> Could the squid be blocking the port the media from iPlayer streams on?
>
>
> --
> Kris Douglas
>


I don't think so Kris because Windows + Firefox works through the same proxy
and Ubuntu + Firefox doesn't. Wierd eh?

Chris
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] iPlayer + Ubuntu + Firefox + Squid = Broken

2009-02-07 Thread Kris Douglas
2009/2/7 Chris Rowson :
> Hi there,
>
> I don't know if anyone else has come across this, but I'll ask anyway.
>
> I'm trying to visit iPlayer on my Ubuntu laptop using Firefox, but I keep
> getting the message 'content unavailable, please try again later' (or along
> those lines). If I visit iPlayer using a Windows PC with Firefox I don't
> receive the message.
>
> I'm pretty sure that it must have something to do with the proxy I have to
> go out through when I'm at this location. It's a Squid proxy (running on
> Ubuntu Dapper) and I can only think that there must be some kind of
> incompatibility somewhere. If I don't go through the proxy (for instance if
> I'm at home) then iPlayer works fine.
>
> Has anyone seen anything like this before, does anyone have any suggestions?

Could the squid be blocking the port the media from iPlayer streams on?


-- 
Kris Douglas
  Softdel Limited Hosting Services
  Web: www.softdel.co.uk
  Mail: k...@softdel.co.uk

Company No. 6135915
Registered in England and Wales

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/