Live data from Hacker News

GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

github.com

11–20 of 82 posts

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#11

So basically it just does two things: carefully chunking HTTP header packets and encrypted DNS? Not sure this will work for very long.

>Not sure this will work for very long.

Maybe if it gets popular. Defeating chunking would require additional memory + compute power on the DPI boxes, which I suspect ISPs don't want to bear.

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#12
A simple countermeasure at the ISP level: a buffer to merge 'www.you' to 'tube.com'

A far greater danger is DPI that use statistical analysis to detect possible tunnels. You want your traffic to be as close as possible to normal traffic. There is no perfect solution there. The current best is generating valid images with a hidden data payload (to download), and generating pseudo text posted on public forums or email (to upload) while limiting the download/upload ratio, by downloading random content if necessary as most people download far more than they upload.

It works best when using "known" websites like gmail (draft folder) or facebook (messenger), as all the traffic goes to a whitelisted host and look like regular usage.

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#13
post #12

A simple countermeasure at the ISP level: a buffer to merge 'www.you' to 'tube.com' A far greater danger is DPI that use statistical analysis to detect possible tunnels. You want your traffic to be as close as possible to normal traffic. There is no perfect solution there. The current best is generating valid images with a hidden data payload (to download), and generating pseudo text posted on public forums or email…

>A simple countermeasure at the ISP level: a buffer to merge 'www.you' to 'tube.com'

addressed here: https://news.ycombinator.com/item?id=22656122

>A far greater danger is DPI that use statistical analysis to detect possible tunnels.

That's only an issue if there's a blanket ban on tunneling/proxies. While it's a problem in authoritarian regimes (eg. china, kazakhstan), it's not an issue in most western countries. I haven't heard of any western countries banning VPNs (yet).

>The current best is [...]

The timing information would still be suspicious. Most people aren't constantly checking their gmail/facebook multiple times a second, but normal browsing would generate packets with that frequency. It's really only undetectable if you're sending/receiving messages (eg. IM or email). A better candidate might be multiplayer game traffic. They provide a consistent stream of bits[1] to hide data in. If you're willing to set your tunnel's bandwidth to a few kilobytes a second (throttling if there's too much data, sending decoy packets if there's too little), it'd be very hard to detect any anomalies.

[1] random search: https://youtu.be/8Kvj5TZNNJ4?t=1080

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#14
post #13
post #12

A simple countermeasure at the ISP level: a buffer to merge 'www.you' to 'tube.com' A far greater danger is DPI that use statistical analysis to detect possible tunnels. You want your traffic to be as close as possible to normal traffic. There is no perfect solution there. The current best is generating valid images with a hidden data payload (to download), and generating pseudo text posted on public forums or email…

>A simple countermeasure at the ISP level: a buffer to merge 'www.you' to 'tube.com' addressed here: https://news.ycombinator.com/item?id=22656122 >A far greater danger is DPI that use statistical analysis to detect possible tunnels. That's only an issue if there's a blanket ban on tunneling/proxies. While it's a problem in authoritarian regimes (eg. china, kazakhstan), it's not an issue in most western countries. I…

> Defeating chunking would require additional memory + compute power on the DPI boxes, which I suspect ISPs don't want to bear.

It depends. ISP may be willing to spend more, if they gain more or are forced by governments to do that.

Even as is, the proposed method is still too easy to defeat, especially with IP bans: if the ISP really doesn't want to let youtube.com work, all the A and AAAA records will be blacklisted

> The timing information would still be suspicious. > It's really only undetectable if you're sending/receiving messages

Indeed, so the suggestion was to use the draft folder and FB messenger.

A better method would rotate the whitelisted websites- like using mostly gmail for 20 minutes, then facebook for 1h, etc. and of course only "on demand" so that traffic does not occur 24/7

For multiplayer game, the audio channel already provides a very simple method to stream more than a few kb per seconds.

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#15
This is a nice workaround for those stuck under censorship regimes such as the UK, South Korea, Turkey, India or China.

Now, Encrypted DNS (thanks to DNS over TLS/HTTPS) and HTTPS (thanks to Let's Encrypt and HSTS) are getting deployed somewhat widely.

The next step is encrypted SNI[0], and it'll get this much harder to do any meaningful DPI, for censorship or else.

[0]: https://en.wikipedia.org/wiki/Server_Name_Indication#Securit...

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#17
It's really good to see more tools in the privacy space, resulting in more options and fallbacks for the end-user.

I think the author should also try to market this as much as possible outside of the HN crowd, since this seems targeted at non-tech users — I could be wrong but my reasoning is that HN users who care about privacy would prefer a combination of a VPN and DoH to defend against traffic & DNS inspection, respectively.

Re: GreenTunnel: anti-censorship utility designed to bypass deep packet inspection

#20
post #19

This is great if there isn't a blanket ban on VPN's, but unfortunately, it won't work in China. I've had next to zero-luck keeping my own VPN tunnels open for more than a couple of days at a time when behind the great firewall.

This isn't a VPN though, you simply run it on your computer, and it does all the magic for you.
Post reply on HN