Mirror site for blocked site using Amazon

Hi

China's firewall have blocked some international websites, I wish to create a mirror site of these sites so that my friend in China can access.

Greatfire.org has managed to create a mirror site for Reuters China.

The website is at https://s3.amazonaws.com/cn.reuters/index.html

Anyone know what method did they used to create the website?

Full report at :
https://en.greatfire.org/blog/2013/nov/look-ma-i-can-see-through-great-firewall
Shirley80Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

skullnobrainsCommented:
no idea how they did, but you can simply proxy the site

in apache this would require to setup a site with something like
ProxyPass /site1 http://name.of.site/

note that the GFC will probably have some kind of analysis that will detect keywords in the page and still block them. also note that when the GFC detects it is circumvented, you usually end up in trouble

---

you can also setup a regular tcp proxy/forwarder, and possibly allow connections over SSL
use stunnel if you want SSL, and a basic NAT redirection (with source nat as well if you don't need)

---

you can also setup various other ways to circumvent

if it is for a single or a few friends, setting up an SSH server and instructing them too use the -D option which enables a socks proxy will let them browse the web from a remote location

it'd recommend the latter, and the use of client certificates. the GFC performs man-in-the middle attacks and real-time decoding of some of the SSL traffic. mim attacks on ssh are also a possibility, so be careful.

you can then encapsulate your SSH connection using something like tcp over dns or tcp over http (install httptunnel, htc on the client hts on the server) for much better security and less risk that the GFC will just block the connection without bothering to decode it

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RobOwner (Aidellio)Commented:
Skullnobrains,
You'd be able to comment on this more than I, but would VPN also work? I've heard that's how anyone in China (and Korea) get past the GFC...
And easier to use as a client
Rob
skullnobrainsCommented:
i probably don't know more than you do, but let's comment anyway ;)

i guess VPNs would work pretty much the same.

but then a VPN is more obviously used to circumvent the GFC so it probably will attract more attention (just my guessing, there)

i strongly disagree with the fact a VPN is easier to setup, and i'm unsure about setting up a VPN over something like httptunnel

there are also many tor-like networks that may or may not work. as far as i know tor does not or rather only for a few minutes

anyway, one specificity of the GFC is that it changes and is quickly adapted. another is that whatever may work in some locations will not in others (actually i'm pretty sure that you can't setup a VPN in some regions of china, and it is very likely the same would apply to ssh and most of the above mentioned)

maybe a distributed array of httptunnels would be a great bet as long as it is distributed on both sides ? but for now, i guess whatever works and is not too obvious is fine. there are implementations of tcp over about anything (smtp xmpp...). TCP over pigeon is probably the most efficient in order to bypass the GFC (by far) but it is not very suitable for everyday use
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

RobOwner (Aidellio)Commented:
Thanks for the details skullnobrains.

i strongly disagree with the fact a VPN is easier to setup
Server yes definitely, client I've never had much issue running a PPTP just using the Wizard (under windows)

The other reason I've mentioned it is I've travelled in both China and Korea that are firewalled and have been able to use my VPN, albeit at a very slow rate.  Given it's encrypted it's an all or nothing appraoch when it comes to blocking it.  Given everyday international businesses that work out of China have no issue with it , you would think that it woudl work in this case.

As for over a secure http tunnel i couldn't comment
skullnobrainsCommented:
Given it's encrypted it's an all or nothing appraoch when it comes to blocking it.  

not quite. decoding SSL on the fly is clearly feasible with hardware acceleration cards and man-in-the middle approaches, IPSEC is not that much more secure and possibly intentionally breached. as a general rule, breaching encrypted connections is resource-consuming but seldom impossible. certs exchange beforehand obviously makes it much more difficult since they render man in the middle approaches inoperant or much more complicated.

block and don't bother decode is apparently the approach the GFC has towards TOR (but they do read the certs information to identify tor-related operations)

i was pretty sure that in some parts of china (places with none to little commercial activity with foreign countries), there is no way you would make a VPN connection outborders, even now. i'm interested into places you may have been and confirm it was doable

it is said that slowing things down in order to make them unusable is part of their strategy and meant so people won't complain stuff is blocked ; it is also fairly possible that things are slowed down so the corresponding flow (or part of the corresponding flows) can be analysed

... like always, difficult to know.


As for over a secure http tunnel i couldn't comment

i was not suggesting an encrypted http tunnel. rather an encrypted ssh session over a non-encrypted http tunnel (consisting of many http queries transferring a few bytes each), ideally distributed over a great number of hosts on both sides
RobOwner (Aidellio)Commented:
Great stuff skullnobrains :)  My travels have only been in the major cities when I've been on VPN; Beijing, Shanghai and Hong Kong.  I was surprised that even HK is affected by the GFC.

I'll leave this one in your capable hands.
skullnobrainsCommented:
@rob : thanks for the info.

don't leave it to me : i have no more info than you have, and it is likely that the vpn is the most generic simple working solution around

anyway, we're drifting far from the "mirror site" requirement

@shirley80 : anything usable so far ?
RobOwner (Aidellio)Commented:
:) I'll still jump in when need be.  Certainly time for a comment from @shirley80.
Shirley80Author Commented:
Thanks for the great discussion.
I noob with these stuffs, I will pass this info to my friends and let them decide.
Appreciate all your time!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.