Slashdot Mirror


China Cracks Down On International VPN Usage (thestack.com)

An anonymous reader writes: China's government has announced a 14-month crackdown on the use of unauthorised Virtual Private Networks (VPNs), commonly used by visitors and native activists, amongst others, to communicate with the world beyond the Great Firewall of China. Sunday's announcement [Chinese] from the Ministry of Industry and Information Technology reiterated regulations first outlined in 2002, but which have since been subject to sparse, selective or lenient enforcement. The new announcement promises a 'clean up' regarding the VPN situation in China, beginning immediately and running until March of 2018.

37 of 68 comments (clear)

  1. So... SSH and HTTPS tunnels then? by Anonymous Coward · · Score: 2, Interesting

    Guess we'll have to switch to SSH and HTTPS tunnels instead of brazenly using IPSec and OpenVPN. Got the message loud and clear. :D

  2. OpenVPN port tcp/443 by jawtheshark · · Score: 2

    OpenVPN port tcp/443. How are you going to stop that? I have one of those for... reasons, I keep bandwidth usage low to avoid volume based detectors.

    --
    Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    1. Re:OpenVPN port tcp/443 by MightyMartian · · Score: 1

      My understanding is that some deep packet inspection methods can determine if potentially encrypted data is being passed through a filter. Obviously it's going to be error prone, but what does that matter when the general plan is to sufficiently inconvenience people so they don't even try. I doubt the PRC cares that maybe the odd innocent bystander's data gets hit as a false positive.

      As a counter to that, I have read of encryption schemes that will bypass this kind of filtering, but it's going to be a lot slower as a lot more junk data has to be thrown in to fool detection. Good for low-bandwidth needs like passing text-based emails and the like, but not much good for anything high bandwidth like voice communications.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    2. Re:OpenVPN port tcp/443 by v1 · · Score: 3, Informative

      It's actually not all that difficult to spot vpn traffic. Run some DPI and just simply look at the size of the packets being exchanged. L2TP/IPSEC/etc will all have very regular size exchanges that virtually uniquely identify them. Doesn't matter how you encrypt or tunnel it if you don't change the payload sizes.

      It's like saying "You can't block my bittorrent client if I just change my port!" Actually, yes we can. And we do. Quiet easily actually.

      I haven't looked closely into TOR to see if it pads with random size data, (betting they DO) but that's what they need to do with vpn to seriously defend against traffic analysis.

      Even with that, it's still not bulletproof, but it dramatically increases the work and false positives on the detection side of the fence.

      --
      I work for the Department of Redundancy Department.
    3. Re:OpenVPN port tcp/443 by Princeofcups · · Score: 1

      It's actually not all that difficult to spot vpn traffic. Run some DPI and just simply look at the size of the packets being exchanged.

      You are talking simple in THEORY, but not in practice. We're talking about sniffing the traffic of a COUNTRY, not a small office. That takes serious hardware and serious money if they don't want to crawl. Sounds like they are ready to turn on some system. But like all things internet, it will only take a short time for people to learn how to get around it.

      --
      The only thing worse than a Democrat is a Republican.
    4. Re:OpenVPN port tcp/443 by Anonymous Coward · · Score: 1

      How are you going to stop that?

      Trivially? That is actually dead simple to detect and block, genius. Your DPI just has to presumes that the only thing on 443 should be SSL.

      You would have to obfuscate your packets in some way (e.g. padding/splitting them prior to encryption, and then embedding them in SSL traffic). Vanilla OpenVPN does not do this. OpenVPN over stunnel gets you a little closer, but not all the way, IMHO. Even once you do that, statistical analysis of sources and destinations alone (e.g. normal users don't have a ton of "valid" SSL to a single endpoint) will still betray the likelihood that you are using a VPN (which is fine in a western democracy, but really bad juju in a place like China during a crackdown)

    5. Re:OpenVPN port tcp/443 by Anonymous Coward · · Score: 1

      It's worse than that; last I checked OpenVPN doesn't even try to hide the nature of its traffic. There are some alternatives and projects in development that attempt to find a solution to this, but most of them seem to rely on TOR; missing the point that where VPN connections are being filtered so will TOR.

    6. Re:OpenVPN port tcp/443 by MightyMartian · · Score: 2

      To be fair, OpenVPN isn't really designed to obfuscate the nature of the traffic any more than IPSec does. Both are about creating secure tunnels, with OpenVPN being very easy to configure and maintain as opposed to the pain that is IPSec. I use OpenVPN a lot, both for our road warriors, and to create the secure tunnels between our locations. In that role it really is an incredibly nice piece of software. But if I were looking at making something whose intent was to disguise that I was encrypting traffic at all, it's not the tool to use. Now as I understand it OpenVPN is pretty modular, so I would imagine if someone were to come up with some other encryption mechanism meant more to get around deep pack inspection, that would probably work, but as I said, such methods will inevitably make for a slower tunnel, and as OpenVPN is more of an infrastructure VPN, I'm not sure it's quite the right tool for that job.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    7. Re:OpenVPN port tcp/443 by Anonymous Coward · · Score: 1

      No need for that mental masturbation, just google great firewall probing, the system just stores the host and attempts to connect later, if the Tor connection succeeds the host is blocked.

      http://www.cs.kau.se/philwint/static/gfc/

      https://idea.popcount.org/2013-07-11-fun-with-the-great-firewall/

    8. Re:OpenVPN port tcp/443 by aliquis · · Score: 1

      Of course they can simply demand that whomever provides access / if they do it themselves have to filter it?

    9. Re:OpenVPN port tcp/443 by myowntrueself · · Score: 1

      My understanding is that some deep packet inspection methods can determine if potentially encrypted data is being passed through a filter. Obviously it's going to be error prone, but what does that matter when the general plan is to sufficiently inconvenience people so they don't even try. I doubt the PRC cares that maybe the odd innocent bystander's data gets hit as a false positive.

      As a counter to that, I have read of encryption schemes that will bypass this kind of filtering, but it's going to be a lot slower as a lot more junk data has to be thrown in to fool detection. Good for low-bandwidth needs like passing text-based emails and the like, but not much good for anything high bandwidth like voice communications.

      IIRC there is a patch for OpenVPN to make a tcp:443 based VPN appear to be a genuine https connection, even to DPI

      --
      In the free world the media isn't government run; the government is media run.
    10. Re:OpenVPN port tcp/443 by kangsterizer · · Score: 1

      timing and sizes are different so they can in fact catch it :(

    11. Re:OpenVPN port tcp/443 by dbIII · · Score: 1

      That takes serious hardware and serious money

      The sort a country has.

  3. Another reason to avoid business trips to China by Ritz_Just_Ritz · · Score: 4, Insightful

    When I used to go to China, I often found that access to sites I need to use to do my work were blocked in whole or in part. Without setting up a vpn, I can't do my work. And even then, it was always a cat and mouse game as the connections were randomly terminated.

    So now I just avoid going there at all if I can help it.

     

    1. Re:Another reason to avoid business trips to China by sims+2 · · Score: 2

      What you mean like this guy?
      https://yro.slashdot.org/story...

      --
      Minimum threshold fixed. Thanks!
    2. Re:Another reason to avoid business trips to China by K.+S.+Kyosuke · · Score: 1

      Countries shotting themselves in the foot is a global competition these days, it seems...

      --
      Ezekiel 23:20
    3. Re:Another reason to avoid business trips to China by Mashiki · · Score: 1

      A lot of people are, this policy is going to be something that will start to draw companies back out of China on top. It's easy to see the reasoning as to why they're implementing this policy though. It's Trump.(or if you're not a FT sub you can read the synopsis here.) Not him, in itself, but the idea that a populist can rise through the ranks and throw the entire establishment on end. Hell China has banned anything to do with the US election, is requiring heavy censorship on all CN sites that have comments over the election as well. They absolutely don't want people in their own country getting any ideas that even in democracies that someone can seriously upset the power balance and doing the same there.

      --
      Om, nomnomnom...
  4. Wonder if this applies to TMobile by magarity · · Score: 2

    A couple of years ago visiting China my TMobile phone's plan included unlimited data at 2G speeds. I got sites that were normally banned to Chinese users as if I were in the US, so I suspect it routed straight to TMobile somehow but never got the details. I wonder if this crackdown will stop that access?

    1. Re:Wonder if this applies to TMobile by Xrikcus · · Score: 1

      At the moment roaming data seems to be unfiltered as far as I can tell. I assume they are working on the basis that they know that these people are foreign, so there is no benefit to filtering the traffic. VPNs have been hit and miss enough recently that I have been suspecting they have been experimenting with blocking them, although as that includes our corporate VPNs it may be coincidence.

    2. Re:Wonder if this applies to TMobile by tlhIngan · · Score: 1

      A couple of years ago visiting China my TMobile phone's plan included unlimited data at 2G speeds. I got sites that were normally banned to Chinese users as if I were in the US, so I suspect it routed straight to TMobile somehow but never got the details. I wonder if this crackdown will stop that access?

      2G access used something called Mobile IP. What happens is that your phone establishes a tunnel to your home provider and gets the IP from your home provider that way. The phone uses the tunnel to send data to the home provider who then carries it through its network as normal.

      This is the way you can ensure that you have a "stable" IP connection no matter where you roam or travel - when you go home, the tunnel isn't used, but the IP is kept so all traffic continues as usual.

    3. Re:Wonder if this applies to TMobile by bernywork · · Score: 1

      All IP traffic is still brought across the network back to your home carrier (Usually in a VPN funnily enough). Local Break Out, or "LBO" is there in 3G/4G land, and while supported in software the mobile network as it was written when the EU wanted to get rid of the roaming charges nobody has ever picked it up. As the business model of a break out gateway (Also requiring a new APN) was limited to before roaming charges were scrapped, nobody bothered setting up a provider for it.

      So in your instance as a US customer, yes, your traffic will go back across the carrier's network, either over a VPN as it's cheaper, or over a dedicated line if they've enough traffic back to your home network.

      --
      Curiosity was framed; ignorance killed the cat. -- Author unknown
  5. Re:I wonder if the realize... by bmo · · Score: 1

    Politicians in the West are also typically as dumb and just as threatened by technology.

    By and large, politicians still don't like the Internet, regardless of location and political ideology. They think it takes power away from them. It's a generational issue - most politicians, when they reach national power, are my age, at least, and probably never actually touched a general-purpose computer themselves.

    The quicker my generation dies, the better.

    I'm OK with that.

    --
    BMO

  6. Re: Another reason to avoid business trips to Chin by Anonymous Coward · · Score: 1

    I agree. It's almost as bad as going to the US.

  7. Re:So... SSH and HTTPS tunnels then? by Anonymous Coward · · Score: 5, Insightful

    Guess we'll have to switch to SSH and HTTPS tunnels

    Yes, but you can't win that game.

    If that would ever become popular, it too can be blocked. Also that is beyond the ability of the average person to do. If they "solve" the problem for 99.9% of the population, that's what matters.

    The end game is bigger and bigger swaths of the open internet being blocked, until what's left is a white list of approved web destinations, with maybe some special exceptions being made for companies, exceptions not available to the average person.

    The internet once held the promise of freedom for all. Now it holds the chains of oppression for all. With each passing year we have seen more and more control, monitoring, and lockdown, not just in China, but all over the world. Some of that was imposed externally, like from the Chinese government, and some we freely signed up for by re-centralizing the decentralized network handed to us by its creators. It is simply too succulent a target for those who would be your masters to ignore.

    Governments want it for power over the population. Corporations want it so you are locked into their portals. People want it because in mass they are stupid and cheerfully walk into their own cages.

    We are not winning the war on internet freedom. We are losing it, badly. It is more heavily censored, controlled, and monitored than at any time in its history, and that shows no signs of slowing down.

    Captcha: prevails.

  8. Re:I wonder if the realize... by Anonymous Coward · · Score: 5, Insightful

    The quicker my generation dies, the better.

    Dunno how you are, but I may be similar (late 57 here).

    So yeah, most of our gen are technical ignoramuses, I'll agree with that. But I disagree it's any better among the younger folks, and in fact in some ways it's worse. Our generation built a free and open internet, on open standards and open protocols. You wanted to run your own IRC or XMPP server, go ahead. It was not a locked down internet. It took the younger set like Zuckerberg to destroy that ethos. And not just him, but masses of people have eschewed those open standards in favor of golden jails like Instagram and Facebook that facilitate centralized censorship and control.

    In our generation there were two categories: technically literate people, and people who were not using technology so were not having adverse impact upon its evolution. In the current generation there are two categories: technically literate people, and people who are technically clueless but ARE having an adverse impact on its evolution. Sadly, in both generations the technically clueless outnumber the technically aware by magnitudes, but in our generation the clueless weren't changing the direction with their choices, since they weren't involved at all.

  9. Re:Thanks for the heads up by Anonymice · · Score: 1

    in southern south America, insulated from the troubles of the northern hemisphere

    Hah! You're either ignorant or naive. Wait until your traveller's honeymoon period fades away & then your eyes'll be opened. Despite all of the problems in the West (TM), they ain't nothin' compared to the political & financial instability of the developing South American economies.

  10. Others? by jbmartin6 · · Score: 1

    I my experience, it is everyone under 30 using a VPN, at least in the cities.

    --
    This posting is provided 'AS IS' without warranty of any kind, implied or otherwise.
  11. Re:So... SSH and HTTPS tunnels then? by Anonymous Coward · · Score: 1

    Dear fellow netizen. This is one of the greatest posts I have seen in these pages in a long time. It sums up the essence of everything that is at stake. Kudos.

  12. Re:I wonder if the realize... by Anonymous Coward · · Score: 1

    40s here. I may have been late to the party, but I came to an Internet run by open protocols, IRC, telnet NNTP, SMTP. Want to run NFS across the Net? You could mount wuarchive.wustl.edu/archive read-only (make sure to do a soft mount.)

    What have the people like Zuc brought to the ecosystem? Spying, logging, telemetry, centralization. The hacker ethos was replaced by the ka-ching sound of anything goes if you get money for it. There has been nothing brought new by the post-2000 commercial dot-coms that wasn't usable beforehand, with the exception of the BitTorrent protocol. Everything else? just trying to capitalize for the short term, focusing on sucking data and slinging ads, above actual infrastructure building.

  13. Re:So... SSH and HTTPS tunnels then? by Anonymous Coward · · Score: 2, Interesting

    Yep, get used to it. Because there isn't anything you can do about it. Sure the 0.0001% may be free to use what they want, (That 0.0001% being the people who can mess with ASM, and do hardware glitching to meet their own ends.) but the vast 99.9998% of people just made a new master for them to bow down to. Even better is what happens when we get hard AI that will ensure continuous monitoring and oppression.

    So why the grim future? Well because as history shows, people don't give a fuck about something until it bites them hard enough in the ass, and by then it takes a monumental effort to even try to correct the problem. Sadly, that "we don't give a fuck" attitude may very well usher in a new dark ages this time.

    You won't get people to care before then. They want it to be cheap, easy to use and forget about, and not to need to use that 10lbs of dead weight that they keep in their skulls while messing with it. That combination (Ignorance, Arrogance, and Apthy) will always result in being taken advantage of, being coerced, and being used. People just don't look out for their own safety when using the damn things. So they are blind and death to attempts to protect them as well as attempts to do them harm.

    We have no-one to blame but ourselves. We allowed them to use the things without a care in the world. We allowed them to goof off and not learn how to do basic maintenance, or even basic concepts. We gave them the fish instead of teaching them how to fish. Now we have no choice. Now we must bear the consequences of our actions and our inaction.

  14. Find a better VPN by AHuxley · · Score: 2

    A few of the better VPN providers might not have as many issues.
    Due to skill and cash flow they can try to avoid deep packet inspection.
    The deep packet inspection is looking for any use of an encrypted VPN protocol.
    Deep packet inspection is the result of a few vendors that sell into China. Deep packet inspection can be understood.
    Any quality VPN provider could look at what deep packet inspection is sold to China and then protect its VPN users.

    --
    Domestic spying is now "Benign Information Gathering"
    1. Re:Find a better VPN by AHuxley · · Score: 1

      Yes AC, people now know what China is all about. Control, censorship. Anything to keep the Communist party in control.
      Don't look for or mention any terms surrounding Tiananmen Square, 1989, tank man, martial law.
      The final way out was a VPN. Now thanks to global vendors been allowed to export fast deep packet inspection to China even the VPN issue is now public.

      --
      Domestic spying is now "Benign Information Gathering"
    2. Re:Find a better VPN by sc0rpi0n · · Score: 1

      Any quality VPN provider could look at what deep packet inspection is sold to China and then protect its VPN users.

      Do you really think that any of the infrastructure for the GFW runs on imported foreign hardware? Many western telcos have been switching to products from ZTE and Huawei because of lower prices and products that match their requirements. China has regulation in place that forbids use of imported networking equipment for 'sensitive sectors' and actively favours local companies in many industries.

  15. Thanks for raising public awareness by Nocturrne · · Score: 1

    This is great. Many more people in China are now aware of the problem, due to the public announcement. So many more people are questioning "why?" and signing up for overseas VPN services. In any case, we have adapted technology already to avoid their DPI and more countermeasures are ready for the next escalation. The more you tighten your grip, the more star systems will slip through ..

  16. Re: So... SSH and HTTPS tunnels then? by Anonymous Coward · · Score: 1

    Are you sure? I am Chinese and lived in Shenzhen for the last few months. I can tell that you are wrong on so many counts.

    1. VPN has become inaccessible 90% of the time. No hope there.

    2. Most Chinese do not know what's outside. They only read Chinese.

    3. There is now a sufficient amount of nationalism among the Chinese, since Huawei phones are kicking asses everywhere, and China has many things that the others don't, such as ubiquitous micro-payments with WeChat and Alipay.

    4. The remaining freedom-loving Chinese are hoping that America would invade and free them from this mess (one of the reasons that they supported Trump). But they won't tell you.

  17. Re: So... SSH and HTTPS tunnels then? by denis.goddard · · Score: 1

    This us why thousands of us have moved to New Hampshire with the Free State Project

  18. Re:So... SSH and HTTPS tunnels then? by sc0rpi0n · · Score: 1

    Guess we'll have to switch to SSH and HTTPS tunnels instead of brazenly using IPSec and OpenVPN. Got the message loud and clear. :D

    ISPs appear to throttle TCP connections to outside the GFW to 50kB/s. Since SSH runs over a single TCP connection, you will be accessing the internet at 0.4MBit. SSH connections are also long lived and easy to identify.

    Shadowsocks to a server in Hong Kong with good peering (say Microsoft Azure East Asia datacenter) works well. Cheap VPS providers in HK have lousy connections to China with significant package loss.