How to break china gfw with ruby?

in chian many webs are banned ,such as titter,google code ,google
video,
i can’t open http://video.google.com ,can i write a program to get what
i want?
i use proxy sever ,but it is still problem i can’t solved.
p1 can run ,
p1
require ‘rubygems’
require ‘net/http’
require ‘open-uri’
$proxy_addr = ‘212.170.251.27’
$proxy_port = ‘8080’
open(‘/home/pt/sina’,‘w’){|wfile|
Net::HTTP::Proxy($proxy_addr,
$proxy_port).start(‘http://www.sina.com.cn’) {|http|
wfile.write(Net::HTTP.get(URI.parse(‘http://www.sina.com.cn’)))
}}
http://www.sina.com.cn is not banned.
p2 can not run,http://video.google.com is banned in china now ,the
proxy sever can not work,can i write program with ruby to solve it?
people use some soft to break gfw , it is interested for me to write a
program to do this.
p2
require ‘rubygems’
require ‘net/http’
require ‘open-uri’
$proxy_addr = ‘212.170.251.27’
$proxy_port = ‘8080’
open(‘/home/pt/wfi’,‘w’){|wfile|
Net::HTTP::Proxy($proxy_addr,
$proxy_port).start(‘http://video.google.com’) {|http|
wfile.write(Net::HTTP.get(URI.parse(‘http://video.google.com’)))
}}

any advice aprriciated.

On Wed, Sep 1, 2010 at 9:53 PM, Pen T. [email protected] wrote:

$proxy_addr = ‘212.170.251.27’
program to do this.
}}

Try IP Addresses rather than Domain Names?
You might be better off getting a server/hosting in a different country
and
route through that.
I don’t know if that’s allowed. I am not very aware of your countries
policies and procedures.

any advice aprriciated.

Move to a freer country like Japan? :slight_smile: