Hi DC,
Youtube is blocked in China, but there's a walkaround, set browser's Auto Proxy Config like this:
You can view the youtube pages, but no videos. because the border firewall will RST every TCP port 80 request which contains the string ".googlevideo.com" (If you visit mit.edu/?.googlevideo.com, mit.edu will get blocked for couple of minutes), and it will spoof every DNS request of *.googlevideo.com to some non-exist IP address.
Now if there's a local URL rewrite change could change
it will work.
SO what I need is a tiny, local URL rewrite proxy engine that could do the job above, and using PAC like following
Everyone can view youtube.
There's another usage, for every Google.com search result, the cached function won't work, but if you change the URL
The page will load, because GFW only blocks URL contains the keyword "search?q=cache:"
I hope the program is compiled standalone, has a tray icon, scans a regex config file (live update running config everytime the file changes), then 302 redirect match HTTP request.
Youtube is blocked in China, but there's a walkaround, set browser's Auto Proxy Config like this:
Code
if (shExpMatch(host, "*.youtube.com"))
{
return "PROXY www.google.cn:80;";
}You can view the youtube pages, but no videos. because the border firewall will RST every TCP port 80 request which contains the string ".googlevideo.com" (If you visit mit.edu/?.googlevideo.com, mit.edu will get blocked for couple of minutes), and it will spoof every DNS request of *.googlevideo.com to some non-exist IP address.
Now if there's a local URL rewrite change could change
Code
http://v3.lscache7.googlevideo.com/videoplayback?xxxxxxtoCode
http://74.125.170.150/videoplayback?xxxxxxit will work.
SO what I need is a tiny, local URL rewrite proxy engine that could do the job above, and using PAC like following
Code
if (shExpMatch(host, "*.youtube.com"))
{
return "PROXY www.google.cn:80;";
}
if (shExpMatch(host, "*.googlevideo.com"))
{
return "PROXY localhost:3333;";
}Everyone can view youtube.
There's another usage, for every Google.com search result, the cached function won't work, but if you change the URL
Code
http://74.125.155.132/search?q=cache:ucajK2mTlHwJ:www.xxx.comto Code
http://74.125.155.132/search?by=DonationCoder&q=cache:ucajK2mTlHwJ:www.xxx.comThe page will load, because GFW only blocks URL contains the keyword "search?q=cache:"
I hope the program is compiled standalone, has a tray icon, scans a regex config file (live update running config everytime the file changes), then 302 redirect match HTTP request.

