Not in my tests with the correct patterns to route RTMP. You need to provide the URL to something that isn't working if you hope for me to try to fix it.
the connection to rtmp://cp39465.hulu.com (in this case) does not go thru the proxy - nor does it when i use the original firefox proxy function. somehow flash bypasses the firefox settings and makes the connection directy.
It would seem that Flash has the option to make its connections using the browser's proxy settings or DIRECT (i.e., ignore browser proxy settings). Some Flash videos choose to ignore browser proxy settings while others respect them. It is up to the site hosting the Flash video, and there's nothing I can really do about it... that I know of.
Flash is an application installed on the host that plugs in to Firefox. It's able to create its own network connections which is why foxyproxy can't always control it's data flow.
The only way to ensure all flash traffic is routed through a third party is to create a system-wide proxy or use a VPN. Unfortunately most proxies don't recognize RTMP as a separate protocol as they do with SSL, FTP & Gopher so this means it'll have to catch all your traffic (email, IM etc.) and send it through the proxy/VPN which is a privacy and speed issue.
Depending on the proxy/VPN solution you choose, it may be possible to proxify only connections bound for RTMP ports. This is the best solution since most RTMP servers will be listening on the same ports. Otherwise you might also be able to add new routes in the routing table so that all packets bound for a specific destination IP go through the VPN interface. In the latter case you'd have to add a route for every streaming server you wish to use (not fun).
I wish to add here that your issue could be your patterns, (I use hulu all the time & I have only run it in the states but I test it all the time with foreign & stateside proxies so this has been working.)
I Have yet to need more than this one pattern, http://releasegeo.hulu.com/geoCheck (yes there are no wildcards but I modify it to *://releasegeo.hulu.com/geoCheck in case they ever start pointing to it with a different protocol. it may also be even better using
*://releasegeo.hulu.com/* since this server is the one checking your ip for it's country over & over.)
but here are some other patterns that may help
*://*.hulu.com/player.swf*
For the flash player located at http://www.hulu.com/player.swf (all the videos get routed through it at the moment,
*://*hulu.com/watch/
is the path for all the videos being played, for example, http://www.hulu.com/watch/57887/24-400-pm---500-pm
where as http://www.hulu.com/24 is where the shows homepage is. it is not going through the proxy
The idea is to play around with the patterns till it suits your needs. since your worried about protocols
using *:// instead of http:// or https:// or rtmp:// will lessen the pain of which pattern did I miss.
I believe that flash can run through the OS itself as metioned above, but I have yet to see that from hulu cbs BBC iplayer or pandora. (one network I've tested on is a forced proxy & only Pidgin, Firefox & thunderbird were configured. the OS was not, Which was a dumb idea since Windows Update would to work & I told them that, but It made an excellent testbed for this problem.)
Noticed above A rather specific example, I named what should work with hulu, the very top pattern only focus on the ip checker not flash. but the other patterns take over, I'll have to run wireshark on it & double-check my results then, I'll meddle with Sci-Fi channel too, see what I can figure out.
(Again flash could be ignoring firefox & reading from the OS. so even then I might not be able to help.)
I also ran into a subdomain worth adding to any sort of patterns list,
*://ads.hulu.com/*
Esp. if ip's are meant to be private. (may be useful if they have started blocking at rtmp level again.)
@Tue, 02/17/2009 - 13:53 — 1nf0c0p411
The patterns do not work. I get the standard "sorry we are unable to stream your video etc" error. The RTMP connections outsmarts foxyproxy ;).
I did mention that the way I have to test may Skew the Results. If someone could find patterns that do work you can add them to this Thread. I have found one reason for this problem, the independence of Flash from firefox (& thus foxyproxy) settings.
& due to the fact that I will be state side for the near future. (to my own disappointment.) My tests have come up with working solutions sometimes they don't. also Hulu can change functions of it's site at a whim. So If this fix really worked outside the US. (People calmed it did.)
It could stop working in five Minutes.
I will be looking into this, However I do this in my spare time & also have to post some new Patterns up so I may not get to it until later this week.
(Even then if Flash is Bypassing Firefox in any way, It may cause any pattern to be useless.)
one last pattern worth trying at the moment. it might not help but It's worth a shot, I it works I can fine tune it further.
The above suggestions all don't work with Hulu. Even when I turn on Foxyproxy for all traffic, Hulu gives me the error message "sorry we are unable to stream your video". When I turn it off, it tells me that I live outside of the U.S. -- so there's definitely a difference in the message that I'm getting, but Hulu is smarter than that. Just as an FYI, Pandora works just fine with FoxyProxy and my Socks proxy in the U.S.
I guess the same patterns posted in hulu at the Share your patterns section
If not, could they be posted to that section so others may enjoy.
(Sometimes it takes 24 hours or more for people to reply, we are all volunteering our time here.)
Not in my tests with the
Not in my tests with the correct patterns to route RTMP. You need to provide the URL to something that isn't working if you hope for me to try to fix it.
http://www.hulu.com/ for
http://www.hulu.com/ for example uses RTMP to stream video.
http://releasegeo.hulu.com/content.select?pid=WOroUCN_W1eQRubGvWuotzvPqj...
response: http://pastebin.ca/1070875
the connection to rtmp://cp39465.hulu.com (in this case) does not go thru the proxy - nor does it when i use the original firefox proxy function. somehow flash bypasses the firefox settings and makes the connection directy.
I can second this
I can second this behaviour...
Me too
Following doesn't work
http://www.scifi.com/rewind/?sid=870861
The flash video is bypassing the proxy somehow. Same thing happens with www.hulu.com.
Any ideas?
Hi, It would seem that Flash
Hi,
It would seem that Flash has the option to make its connections using the browser's proxy settings or DIRECT (i.e., ignore browser proxy settings). Some Flash videos choose to ignore browser proxy settings while others respect them. It is up to the site hosting the Flash video, and there's nothing I can really do about it... that I know of.
Eric
Solution: system wide proxy or VPN
Flash is an application installed on the host that plugs in to Firefox. It's able to create its own network connections which is why foxyproxy can't always control it's data flow.
The only way to ensure all flash traffic is routed through a third party is to create a system-wide proxy or use a VPN. Unfortunately most proxies don't recognize RTMP as a separate protocol as they do with SSL, FTP & Gopher so this means it'll have to catch all your traffic (email, IM etc.) and send it through the proxy/VPN which is a privacy and speed issue.
Depending on the proxy/VPN solution you choose, it may be possible to proxify only connections bound for RTMP ports. This is the best solution since most RTMP servers will be listening on the same ports. Otherwise you might also be able to add new routes in the routing table so that all packets bound for a specific destination IP go through the VPN interface. In the latter case you'd have to add a route for every streaming server you wish to use (not fun).
I wish to add here..,
I wish to add here that your issue could be your patterns, (I use hulu all the time & I have only run it in the states but I test it all the time with foreign & stateside proxies so this has been working.)
I Have yet to need more than this one pattern,
http://releasegeo.hulu.com/geoCheck (yes there are no wildcards but I modify it to *://releasegeo.hulu.com/geoCheck in case they ever start pointing to it with a different protocol. it may also be even better using
*://releasegeo.hulu.com/* since this server is the one checking your ip for it's country over & over.)
but here are some other patterns that may help
*://*.hulu.com/player.swf*
For the flash player located at http://www.hulu.com/player.swf (all the videos get routed through it at the moment,
*://*hulu.com/watch/
is the path for all the videos being played, for example,
http://www.hulu.com/watch/57887/24-400-pm---500-pm
where as http://www.hulu.com/24 is where the shows homepage is. it is not going through the proxy
The idea is to play around with the patterns till it suits your needs. since your worried about protocols
using *:// instead of http:// or https:// or rtmp:// will lessen the pain of which pattern did I miss.
I believe that flash can run through the OS itself as metioned above, but I have yet to see that from hulu cbs BBC iplayer or pandora. (one network I've tested on is a forced proxy & only Pidgin, Firefox & thunderbird were configured. the OS was not, Which was a dumb idea since Windows Update would to work & I told them that, but It made an excellent testbed for this problem.)
Excellent post, 1nf0c0p411.
Excellent post, 1nf0c0p411. I'll add your patterns and info to the FAQ section on video/tv.
Thanks,
Eric
Noticed above A rather specific example...
Noticed above A rather specific example, I named what should work with hulu, the very top pattern only focus on the ip checker not flash. but the other patterns take over, I'll have to run wireshark on it & double-check my results then, I'll meddle with Sci-Fi channel too, see what I can figure out.
(Again flash could be ignoring firefox & reading from the OS. so even then I might not be able to help.)
I also ran into a subdomain worth adding to any sort of patterns list,
*://ads.hulu.com/*
Esp. if ip's are meant to be private. (may be useful if they have started blocking at rtmp level again.)
See also
See also http://foxyproxy.mozdev.org/drupal/content/hulu
Not working...
@Tue, 02/17/2009 - 13:53 — 1nf0c0p411
The patterns do not work. I get the standard "sorry we are unable to stream your video etc" error. The RTMP connections outsmarts foxyproxy ;).
I did mention that the way I have to test may Skew the Results.
I did mention that the way I have to test may Skew the Results. If someone could find patterns that do work you can add them to this Thread. I have found one reason for this problem, the independence of Flash from firefox (& thus foxyproxy) settings.
& due to the fact that I will be state side for the near future. (to my own disappointment.) My tests have come up with working solutions sometimes they don't. also Hulu can change functions of it's site at a whim. So If this fix really worked outside the US. (People calmed it did.)
It could stop working in five Minutes.
I will be looking into this, However I do this in my spare time & also have to post some new Patterns up so I may not get to it until later this week.
(Even then if Flash is Bypassing Firefox in any way, It may cause any pattern to be useless.)
one last pattern worth trying at the moment. it might not help but It's worth a shot, I it works I can fine tune it further.
*://*.hulu.com/*swf*
*://*.hulu.com/*flv*
The above suggestions all
The above suggestions all don't work with Hulu. Even when I turn on Foxyproxy for all traffic, Hulu gives me the error message "sorry we are unable to stream your video". When I turn it off, it tells me that I live outside of the U.S. -- so there's definitely a difference in the message that I'm getting, but Hulu is smarter than that. Just as an FYI, Pandora works just fine with FoxyProxy and my Socks proxy in the U.S.
I think it must depend on
I think it must depend on the phase of the moon.. hulu works for me.
Phase of the moon
eric can you right a definitive list of the patterns you are using to get Hulu to work
Thanks
I guess the same patterns
I guess the same patterns posted in hulu at the Share your patterns section
If not, could they be posted to that section so others may enjoy.
(Sometimes it takes 24 hours or more for people to reply, we are all volunteering our time here.)
If you're still having
If you're still having problems with Hulu or any other streaming video/audio, please read this.