Geeks In Asia Use Clever Hacks To Get Slashdot
Daedius writes "My comrade Hugh Perkins is living in Asia and he has been without reliable internet connectivity for many days. He uses l33t hacks to get his daily dose of Slashdot in desperate times." From the posting: "The Taiwan earthquake has brought telecommunications in the Taiwan/Hong Kong region to a standstill. I am living in Shenzhen and am unable to read Slashdot directly for several days. Gmail and Google have privileged bandwidth and local servers and both continue to work perfectly from the region. Could there be some way to use Google or Gmail to read Slashdot? A solution was to upload an executable to my web hosting in America that would receive zipped executables by email, execute them, then email me the results."
Résumé of TFA:
Promiscuity and Windows must go hand in hand (bad joke there, anyone?); why the hell wouldn't he set up a dæmon that received URLs by email instead of arbitrary binaries?!
Elegance may well be a UNIX thing.
I'm sure all the people and companies that pay for that privileged bandwidth are very happy that it is being used for something as important as /.
"The Glorius Workers Communist Website of Slashdot", That should get it past the censors.
Select a bogus source language and it makes a good proxy for reading blocked sites, unless they block that too.
If this was the old internet, he could have used one of those 'Web to Email' services that *used to operate* till a few years back (remember Agora servers and stuff ??)... Too bad for the new Internet!! ;-)
Are doomed to repeat it.
http://www.expita.com/howto1.html
You are in a twisty maze of processor lines, all alike.
There is a lot of hype here.
I'm more of a UNIX newbie, so I'd have thought he could simply telnet to his American machine and run Lynx.
Instead of writing an executeable that reads another executable which fetches the page, why not just write the one executable that responds to plain mail with URLs in the body in the first place?
Your hair look like poop, Bob! - Wanker.
I live in Taiwan, but I haven't noticed even the slightest disruption in Internet service (Hinet) whatsoever - either in terms of speed or connectivity to the outside world. Am I just lucky or has Taiwan escaped the "standstill" reported in other places in the region?
He could have just run web proxy on his remote server instead of being a complete moron and doing this "clever" hack. Sheesh.
I'm in an area affected by the connection issues as well (Malaysia), but I took a more polished, simple solution. In a word, TOR. Not only have I set up my own network to use a squid-privoxy-tor system to provide relatively fast internet to sites I couldn't access at all before (slashdot for one), but I've been recommending and teaching others how to use Torpark so that they can still get their slashdot, youtube, etc, fixes.
Isn't that an overly complicated solution? I haven't checked if this will work fully as I don't have access to working sendmail, but basically this Python script cronjobbed would do the same...
msg = header+slashdot
#!/usr/bin/env python
import os, urllib
MAIL = "/usr/bin/sendmail"
header = """To: user@china.com
From: server@usa.com
Subject: Slashdot
"""
slashdot = urllib.urlopen("http://www.slashdot.org").read()
p = os.popen("%s -t" % MAIL, 'w')
p.write(msg)
p.close()
Sendmail code referenced from Sending email in Python
I live in Hong Kong, and indeed it was a huge disaster. I run an online flower shop myself, so we see our daily traffic went flat for the last couple of days. And I can't even ssh into our colo in USA.
:)
Recape of the situation: 6 underground fiber lines were cut. "Foreign" sites like Slashdot, Google, EBay and Yahoo! were dead. Hong Kong based sites, Australia sites and a few European sites like BBC does work, so that give us hope. So...
On day 1 ( 12/28 ): we found out Google Hong Kong still works, and Australia sites work... so we search "australia proxy server" and funny that a few ISPs have open proxies open at 3128 (Looks like Squid Cache to me!). Since we must be an early batch, we feel wonderful to be "the only one" in town to go online, beat the odds and get all the pussies...
One day 2 (12/29): news of the proxies must have gotten out. Yahoo! Answers are full of such foreign proxies lists, and some entrepreneur hackers must have wonderful day, building their own proxies and lured people into using it. Of course your average surfers wouldn't know normal http is unencrypted... Meanwhile our "free proxy" running by that friendly Australia ISP finally adds ACL to block us out... We try installing Google Web Accelerator, and it did no good, and accessing local sites are even slower...
On day 3 (12/30): we start looking for Australia colocation / dedicated server plans to run our own proxy server. Their prices are at least 2 times more expensive than US hosting companies, so we start pinging popular hosting in USA.... ev1servers.net? down. Rackspace? up (but too pricey). Godaddy? up, and lo and behold, they have a cheap $29.99 USD virtual linux plan.
So, we setup our own Squid cache and it finally keeps us reading Slashdot until this day
People who forget history are bound to repeat it goes the saying. At the very begining of the WWW, not everyone had access to web browsers so various systems were developped, including web to mail portals. You would sent an email to a specific address with a GET request, and you'd get the page in return. Some of those servers are still in use to get around censorship or very limited conectivity, which was my case last year in Antarctica. I read slashdot thanks to a daily email connection, text only, and the agora web-to-mail portal.
Non-Linux Penguins ?
"Good luck sending .exes in zipfiles via GMail ... unless you rename them to something other than .exe. GMail is a monstrous pain in the ass in this respect. It will not let .exes through even in a .zip or .rar file."
.ZIP and .RAR file and they came through successfully. I imagine Google got sick of complaints aobut it. I've been sending ZIP file backups to myself for several months now.
This used to be true, but it has been a while. I just sent myself both a
"I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)
A solution was to upload an executable to my web hosting in America that would receive zipped executables by email, execute them, then email me the results.
./ then why not just setup a proxy on that machine? Installing and running tinyproxy on a Linux machine is mind numbingly easy.
If he can communicate with his web host in America and that host can communicate with
It seemed that the ISP cut access to the outside on purpose for a while, I presume to lower traffic and let big institutions get better bandwidths.
Day by day the situation is getting better, but when teh ISP allowed outside access again, you could see the packet loss as you got further from Asia: some hops had more than 90% packet loss making connections very unreliable.
For access, the best thing I found was using proxies. I used findnot.com as they have nearly 30 SSH proxy servers around the world, some of them in Malaysia which were accessible.
From these servers you could have better connectivity to the rest of the world, although overall is was not very fast and connections would often time-out.
We're still suffering from spotty connections here but it's getting better day by day. What I find a bit scarry is how easy a local event like the quake could affect such a large area and bring it to its knees for days. I'm pretty sure there are good reasons for having all these sea cbales connect in souther taiwan but it strikes me of odd that an area prone to so many earthquakes be chosen as a major connection point.
If Japan, Hong Kong, Taiwan and most of China had been disconnected for longer over a non-holiday period I'm pretty sure the consequences for all major financial institutions and local economies would have been major, not just for Asia but the world at large.