News for hackers. Stuff that matters.
Re:“Two days ago the police came to me and wanted me to stop... by mcbridematt on Saturday August 22, 2015 @02:31AM (#10101740)
Pay one of the telcos (i.e China Unicom) for an MPLS circuit out of the country.

Also, international performance in general can be quite bad at peak times (i.e 30% packet loss), I suspect due to Comcast-style management of international transit. But if you buy a transit circuit from Unicom, no problem!

Edit: to add to the grand parent, I've actually found ssh -D/-w0 (for a TUN device) quite reliable from China. What I really want to do is run multiple connections from different end points with a routing protocol to do fast-failover.

Re:“Two days ago the police came to me and wanted me to stop... by badpenny on Saturday August 22, 2015 @06:44AM (#10102157)
> Pay one of the telcos (i.e China Unicom) for an MPLS circuit out of the country.

Don't suppose you could explain to us network plebs how that would bypass the Great Firewall?

Re:“Two days ago the police came to me and wanted me to stop... by eitally on Saturday August 22, 2015 @07:03AM (#10102184)
It's a private network/route with traffic containing nothing but corporate data. Most multinationals facing this situation route out through HK, with a secondary failover usually in Taiwan or Singapore. Works a treat, but is costly and latency can be subpar.

It also doesn't solve the problem of mobile access to Google Apps for Chinese workers (Google Play Store & apps are not bundled by many (any?) Chinese OEM handset makers or carriers. You can root & sideload, or you can purchase phones outside the country and ship them to your employees, but even if you do this, there is still no guarantee they'll be able to access Google's apps while on cellular networks.

Re:“Two days ago the police came to me and wanted me to stop... by gozo on Saturday August 22, 2015 @08:43AM (#10102341)
Google Apps will drain your battery when they can't access Google's servers. Roaming with a China Unicom Hong Kong sim card, like the cross border king, will give you gfw free access.
Re:“Two days ago the police came to me and wanted me to stop... by kuschku on Saturday August 22, 2015 @09:30AM (#10102443)
> Google Apps will drain your battery

Google Apps will also drain your battery if you are in a region where Google has no network-location data yet, because then Google will turn on your GPS, and send to their servers the pair of GPS-coords and strength of networks.

If you live in a suburb in Germany where almost no networks are known to Google, this means if you enable location services your GPS will try to get a fix 24/7, eating your battery in about 2 hours.

This is probably going to be an issue in China, too, considering that Google doesn’t have location data there.

Re:“Two days ago the police came to me and wanted me to stop... by rahimnathwani on Sunday August 23, 2015 @09:23AM (#10105428)
I think you can turn this off. My phone has a setting called 'Scanning always available', which says "Let Google's location service and other apps scan for networks, even when Wi-Fi is off.". If I turn off this setting, and turn off wi-fi, then the problem you point out should be avoided, right?
Re:“Two days ago the police came to me and wanted me to stop... by kuschku on Sunday August 23, 2015 @12:59PM (#10106002)
Yes.

But if you turn on WiFi and Location at the same time (which is not uncommon), then it will suck your battery dry in seconds. Turn any of those two off, and it works.

Re:“Two days ago the police came to me and wanted me to stop... by rahimnathwani on Wednesday August 26, 2015 @04:53AM (#10121830)
Oh. My phone has three options for 'Location mode':

- High accuracy (GPS, wi-fi, mobile)

- Battery saving (Wi-fi, mobile)

- Device only (GPS)

From what you say, it sounds like 'Device only' would save more battery than 'Battery saving'?

Re:“Two days ago the police came to me and wanted me to stop... by nxb on Saturday August 22, 2015 @06:51AM (#10102164)
How do you setup a routing protocol to do fast failover? Is it easy?
Re:“Two days ago the police came to me and wanted me to stop... by hhw on Sunday August 23, 2015 @03:52AM (#10104976)
For fast failover, you'd generally use BFD (bi-directional forwarding detection) in conjunction with a standard routing protocol like BGP, OSPF, or IS-IS. It's sufficiently complex to do on a proper networking platform, and even more difficult to do in a general purpose operating system. You can also just use aggressive timeout values with your routing protocol, but failover won't be quite as graceful.