Better HN
topnewbestaskshowjobs
Log inSign up

api

35,891 karma · joined Oct 4, 2007 (19y ago) · 17,857 submissions

Founder of ZeroTier. Learned programming on a Commodore 64. Linux user since Slackware and kernel version 0.99.15. Been online too long and spent too long in front of a screen.

I live in Cincinnati, Ohio with my wife and two daughters. Ohio is terrible. Don't move here. (Locals still want to be able to afford housing.)

Opinions posted here are entirely my own personal views and not official positions of ZeroTier or any other company or group, unless I explicitly say otherwise.

Submissions

comment 12y ago · link · parent

Heh.

Actually, thank you to the previous poster. I didn't mind the criticism. His point -- "your existing site doesn't look good enough to convince my boss" -- is very valid. The new site looks a lot better and it's not done yet.

It does in fact scale pretty darn well, mostly due to the fact that it's connectionless, stateless, and opportunistic. If you're on a network with ten million people but are only talking to ten, you'll only be sending packets to/from ten.

The supernodes have to know about all ten million, but last I checked that wasn't very much memory... maybe a few gigs tops? So that's what, $20-$30/month per node? Or I could add the ability to put a real database under it and use SSD cloud nodes and handle billions of users with sub-10-ms lookup latency.

Of course if I get that many users that'll all be in the good problem to have category and I'll have plenty of money to scale out and if necessary improve the protocol/architecture. There are many directions I could explore: M:N supernodes with load balancing, various other sharding techniques, moving to beefier cloud providers, further decentralization in the protocol, all of the above, etc. I could set up big labs, run simulations, do all sorts of cool stuff. I've done enough so far to convince me that the problem of monstrously scaling this thing is very solvable. Just have to do the work.

I'm not making the crypto fungible. The protocol does have flags that could be used to indicate new algorithms if upgrading the crypto becomes necessary, but I have been an absolute simplicity nazi with this thing so far and will continue to be.

comment 12y ago · link · parent

It's all three of the things you mention: peer to peer, stateless, and on-demand. It also uses UDP, so it's not opening huge numbers of TCP connections. The only time it uses TCP is if you can't use UDP -- as a fallback mode.

I'm not sure why that wouldn't scale. Even if you had millions of users on a network you'd only be connecting to those with whom you're communicating.

It is also as you mention a star of stars network. The supernodes are at very high bandwidth sites and their number and size can be increased on short order. They only relay data if P2P/NAT-t fails, which only happens for about 1-2% of users. Otherwise they just shepherd NAT-t. They're geographically distributed for high performance: Singapore, Tokyo, San Francisco, New York, Amsterdam, and (soon) Sydney. If a supernode fails it takes 10-30 seconds to fail over.

I have plans to further decentralize and add automatic promotion of nodes at some point in the future, but that's a hard problem that requires more study.

Edit: this isn't just another VPN. This is the result of over four years of work, including a huge amount of research into networks and cryptography. It's a completely new system.

comment 12y ago · link · parent

I completely agree on the design. I'm working on a big web design rev right now that looks much better.

I'm not sure what you mean by diagrams though. This doesn't work that way. It creates virtual networks that look completely flat, as if you and every other peer were plugged into the same Ethernet switch.

One of my difficulties has been getting this across... you don't have to think about topology. It's easier than that. It's a virtual switch. Install, join network, done. Everything is automatic.

You can peek at the new design here (but don't try to use it): https://test.zerotier.com/

comment 12y ago · link · parent

This is stateless, nearly zero-configuration, and P2P, among other things. It also uses the same cryptographic primitives and composition as NaCl (purely coincidentally). It supports Mac, Windows, and Linux, and has a GUI control panel for Mac and Windows. There's a clean installer with baked-in auto-update functionality.

https://github.com/zerotier/ZeroTierOne

/full disclosure: I wrote this.

comment 12y ago · link · parent

We learned that in 2008 when the politically well connected were insulated from the effects of bad investment decisions at great cost to everyone else.

16476.

Chris Adami /r/science AMA (black holes, information theory, evolutionary AI)(reddit.com ↗)

1 points · by api · 12y ago · discuss

comment 12y ago · link · parent

I've scoffed at my share of really stupid ideas: Twitter, Snapchat, Pinterest (I still kinda do), ...

comment 12y ago · link · parent

We won't ever run out of oil. What will happen is that oil EROEI will drop and cost will increase until other sources of energy are more cost-competitive and oil becomes obsolete. (... OR if other sources cannot replace oil, economic collapse and demand destruction until demand equals supply.)

comment 12y ago · link · parent

Why the hell would Facebook be interested in a drone company? Google makes only slightly more sense.

comment 12y ago · link · parent

In the long run EVs have the potential to be radically cheaper than gasoline cars: fewer moving parts, etc.

comment 12y ago · link · parent

This is IMHO bigger than Apollo. The moon missions were an expensive one-shot, while this has the potential to truly open the frontier.

comment 12y ago · link · parent

I think the real problem is that Americans identify cars with freedom and rail with "socialism" or something. Throughout much of the U.S. there is a profound anti-public-transit sentiment. It's viewed as a waste of money, a boondoggle, etc.

comment 12y ago · link · parent

It's also thrown out as a red herring pretty often around here.

comment 12y ago · link · parent

The technology of cryptocurrency is cool, but Bitcoin has definitely been in a ridiculous bubble. Seems to be popping, but you can never be sure.

comment 12y ago · link · parent

I must confess to statically linking my Windows binaries. It's better than making the user click through extra installers-within-installers to install the right MSVC redistributable.

It also seems to paradoxically improve load times. Shrug.

comment 12y ago · link · parent

This is part of what's driving the rise of feudal app store models. Users like them too-- at least most users who aren't concerned with (or don't understand) things like openness and freedom. They prune the ecosystem of shitware to at least some extent.

Personally I think OSes need to evolve toward a model where apps are more strictly containerized, something like Docker (Linux) but for everything. The user should still be able to admin their own machine, but this permission should be forbidden to apps without explicit user approval (and a big red warning).

comment 12y ago · link · parent

Doesn't matter. If you have no leverage you don't capture any of the upside regardless of whether the overall system is growing.

comment 12y ago · link · parent

Capitalism is an adversarial system. People forget that.

comment 12y ago · link · parent

Then let's ban for-pay lobbying.

comment 12y ago · link · parent

IMHO actively helping launch an unnecessary war that killed tens of thousands (a very conservative estimate) of civilians while costing hundreds of billions of dollars that could have been spent in ways that benefit the American taxpayer is much worse than supporting PRISM or working for the NSA.

I'm kind of floored that anyone in our industry would appoint a former Bushevik at all.

comment 12y ago · link · parent

Funny the reaction of so many against this. If it's okay to vote by ballot, why is it not okay to vote by dollar? They're your dollars. It's perfectly fine to choose not to give them to companies that do things or whose leadership holds views you disagree with.

Dollars are far more powerful mechanisms of voting than ballots IMHO. Imagine if everyone investigated the leadership of companies they did business with and refused to buy from companies whose leadership supported unnecessary war, discrimination, etc.? If indeed it is corporate leadership that really leads the country, then corporate leadership might be a more important target for change than governmental leadership.

comment 12y ago · link · parent

Another factor is that if you do get into illegal hacking, you're jumping in a pool that now contains a lot less kids who are learning and explorers and a lot more real criminals. Hacking (sense 2, the illegal-stuff sense) is a lot darker and more money-driven these days.

comment 12y ago · link · parent

It strikes me as flagrantly lot of things. There's been a nice string of NYT articles in which people from planet trust fund try to comprehend disadvantage.

comment 12y ago · link · parent

I'll just leave this here: http://yarchive.net/physics/effete.html

comment 12y ago · link · parent

Only for Windows store? So who thinks walled gardens and feudalization are coming to all desktop OSes in the next 5 years?

In the future, a store / certificate authority will be able to arbitrarily revoke your right to run anything on your computer that isn't approved.

comment 12y ago · link · parent

This sort of thing underscores how economic interdependence promotes peace. It's bad business to declare war on your suppliers or customers.

comment 12y ago · link · parent

https://www.youtube.com/watch?v=Iu7vySQbgXI

comment 12y ago · link · parent

The whole idea of Bitcoin was that you wouldn't use banks, but as we can see convenience trumps that.

comment 12y ago · link · parent

The Go language certainly is, but with Node I can do things like "npm install passport-google" and have OAuth in 5 minutes. The Node ecosystem is full of incredibly useful components for getting up and running quickly.

Unfortunately computer language quality seems slightly inversely correlated with the vitality of its ecosystem.

comment 12y ago · link · parent

Libertarian != anarchist.

(I am not either of these, just pointing out that this is a straw man.)

1
549550551
596