News for hackers. Stuff that matters.
Re:Show HN: Easily connect to a VPN in a country of your choice by kobayashi on Thursday January 26, 2017 @03:31PM (#13495002)
It's bad enough of an idea to connect to an open/untrusted WiFi network - now we're showing HN how to connect to random VPNs all over the world? My cursory opinion of this is that it's the worst idea ever I've ever seen make HN's front page.
Re:Show HN: Easily connect to a VPN in a country of your choice by koolba on Thursday January 26, 2017 @04:28PM (#13495395)
> My cursory opinion of this is that it's the worst idea ever I've ever seen make HN's front page.

Not disputing that it's the worst but it could be even more worse.

It's missing the key component: a curl | bash install and upgrade script running over HTTP (not HTTPS). In this case it'd be extra hilarious as upgrades would presumably go over your existing VPN connection which could then hijack the script and run arbitrary code on your machine.

Re:Show HN: Easily connect to a VPN in a country of your choice by hrrsn on Thursday January 26, 2017 @04:57PM (#13495613)
Re:Show HN: Easily connect to a VPN in a country of your choice by stevekemp on Friday January 27, 2017 @01:01AM (#13498068)
This looks like a node version of the previously submitted go tool `autovpn`, which I commented on previously:

https://news.ycombinator.com/item?id=13454960

This code also writes remote-content to a file, and then passes that to openvpn. Scary stuff.

Re:Show HN: Easily connect to a VPN in a country of your choice by mrmondo on Thursday January 26, 2017 @08:17PM (#13496958)
I couldn't agree more, and in JavaScript to top it off!

Seriously people - don't just randomly connect to VPNs: you're essentially bridging your computer / network to a completely untrusted network that's more than likely to have all manor of people doing nefarious / dangerous things on it - do you really want to put yourself at risk as well as be associated with them?

Re:Show HN: Easily connect to a VPN in a country of your choice by drvdevd on Thursday January 26, 2017 @10:02PM (#13497371)
I haven't actually looked at the code yet, but to be fair, if your connection through any VPN is completely encrypted (e.g. HTTPS only), then it's not much different to most ISPs...

They can grab metadeta but this is already being done with all the traffic we generate anyway, one should assume.

Re:Show HN: Easily connect to a VPN in a country of your choice by neurostimulant on Friday January 27, 2017 @12:27AM (#13497955)
Aren't VPN networks can specify DNS server the client should use after the connection established? That would allows DNS spoofing and MITM attacks.
Re:Show HN: Easily connect to a VPN in a country of your choice by kijin on Friday January 27, 2017 @12:42AM (#13498001)
Even with DNS spoofing, you can't MITM an encrypted connection with pinned public keys. That includes Google, GitHub, most social networks, and any SSH host to which you have previously connected.

Almost everything I do while on the move falls into this tamper-proof category. It's been a while since I stopped caring which Wi-Fi I connect to. I just borrow anyone's connection and tunnel right through.

Re:Show HN: Easily connect to a VPN in a country of your choice by noja on Friday January 27, 2017 @02:46AM (#13498356)
> That includes Google, GitHub, most social networks, that includes Google, GitHub, most social networks,

Nearly all websites do not using pinning.

Re:Show HN: Easily connect to a VPN in a country of your choice by drvdevd on Friday January 27, 2017 @04:50AM (#13498776)
So you would still need a trusted cert though right for the TLS MITM? And presumably SSH is not affected any more than on the open internet?

Anyway, while these may be valid attack vectors, since I started getting traffic injected by my ISP a few years ago, and DNS hijacked for advertising, my level of trust has dropped to the same as that of some $VPN, wherever, or $WIFI.

But that's just my opinion.

Re:Show HN: Easily connect to a VPN in a country of your choice by dgfgfdagasdfgfa on Thursday January 26, 2017 @04:50PM (#13495557)
It's only bad if you think it's secure. It's not like a secured wifi is likely to be secure, either.
Re:Show HN: Easily connect to a VPN in a country of your choice by mrmondo on Thursday January 26, 2017 @08:19PM (#13496967)
Most people don't understand whys secure and what's not, remember we live in a society where people generally don't know that connecting to a 'free' wireless network without a password means that all your traffic is completely unencrypted.
Re:Show HN: Easily connect to a VPN in a country of your choice by dsmithatx on Thursday January 26, 2017 @08:34PM (#13497038)
I can't count how many times I've made a point on HN and someone has replied about how most people are so ignorant. If secure matters then you better read and educate yourself. Ignorance of the law is no excuse and ignorance in general is no excuse. It's not tech savy people's problem if most people refuse to exercise their brain.

Sorry if I sound like a jerk but, I get tired of this dismissive as if it's excusable. I feel like people think tech savy people should hold everyone's hand and help them figure out how to use technology. No one is forcing them to use technology as far as I can tell.

Re:Show HN: Easily connect to a VPN in a country of your choice by rodrigogs on Thursday January 26, 2017 @09:13PM (#13497193)
That's not of my business, I cant protect people from themselves, and even if I could, I think it's wrong to protect somebody by restricting the options. Anyway... those arguments will never make a point against sharing an open tool.
Re:Show HN: Easily connect to a VPN in a country of your choice by matthewaveryusa on Friday January 27, 2017 @12:15AM (#13497905)
Not if you have a VPN, and not https websites. Only unencrypted traffic is unencrypted.
Re:Show HN: Easily connect to a VPN in a country of your choice by dgfgfdagasdfgfa on Friday January 27, 2017 @03:33PM (#13502408)
Perhaps we should simply encourage people to view their internet as public unless they see that green lock in the URL.
Re:Show HN: Easily connect to a VPN in a country of your choice by rodrigogs on Thursday January 26, 2017 @04:36PM (#13495451)
Then make it better. It's opensource ;)
Re:Show HN: Easily connect to a VPN in a country of your choice by dguido on Thursday January 26, 2017 @05:17PM (#13495778)
I already did. Here is how to createa a self-hosted VPN server at a cloud provider of your choice. Don't trust your network traffic to anyone but yourself:

https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-th...

https://github.com/trailofbits/algo

Re:Show HN: Easily connect to a VPN in a country of your choice by mschuster91 on Thursday January 26, 2017 @06:02PM (#13496186)
> Don't trust your network traffic to anyone but yourself

You still trust the cloud providers' upstream. In case of UK providers, the GCHQ sniffs upstream and ingress, so they can correlate traffic. Same for DE (BND, MAD) and basically all countries.

Re:Show HN: Easily connect to a VPN in a country of your choice by dguido on Friday January 27, 2017 @03:11PM (#13502241)
Yes, and you also have to trust your home ISPs upstream, and the routers upstream from that, and so on and so forth. Are you trying to say that using a VPN is useless?
Re:Show HN: Easily connect to a VPN in a country of your choice by mschuster91 on Friday January 27, 2017 @03:49PM (#13502541)
> Are you trying to say that using a VPN is useless?

No, but you're making your traffic stick out and yourself a target for dragnet surveillance. The constant flow "packet in, other packet out" is easy to pick up for snoops, compared to "just packets out" from your home ISP.

Re:Show HN: Easily connect to a VPN in a country of your choice by rahimnathwani on Thursday January 26, 2017 @07:58PM (#13496872)
Do you have users in China? I'm curious whether IKEv2 works well through GFW. I use Shadowsocks (on my Asus router, and on my Android/iOS devices), and it works well.

What would I gain in ease-of-use, performance, or security by switching to Algo?

Re:Show HN: Easily connect to a VPN in a country of your choice by dguido on Friday January 27, 2017 @03:08PM (#13502216)
It won't work. Algo is not for censorship avoidance. It's right up top in the readme. Sorry!
Re:Show HN: Easily connect to a VPN in a country of your choice by kobayashi on Thursday January 26, 2017 @05:06PM (#13495689)
That's a common refrain. It's just that I don't think there's a good idea on which to build/improve. I commend you for putting (presumably) your work out here for all to see, and good on you for making your project FOSS, but this is not a project I will support.