35,898 karma · joined Oct 4, 2007 (19y ago) · 17,863 submissions
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.
comment 4y ago · link · parent
I wonder if taboos are actually part of the courtship process with humans. Part of the allure might be doing something forbidden. Humans are weird.
comment 4y ago · link · parent
The most likely to be targeted (and probably easiest to target) systems are probably cloud hosts. This might be an argument for disabling frequency scaling and fixing clock speed on cloud VM hosts or bare metal servers.
Less of a performance hit there too since those tend to run at a sustained max anyway, and turbo boost can be problematic in those environments due to heat. It can reduce overall throughput in a sustained load scenario.
comment 4y ago · link · parent
People hate manual IT and system administration. They will sacrifice money, freedom, privacy, control, even ownership of their own works to avoid having to futz around with that stuff. They hate it that much.
(There are a small number of people this doesn't apply to. These are called enthusiasts. There are also car enthusiasts who like to change their own oil or even rebuild their own engines. We are talking about 99% of the market here though. Enthusiasts are a small niche.)
It's easy to understand why if you count time as money. Lets say you value your time at $60/hour, which is probably on the low side for people here but lets be conservative. Now lets say you have to spend three hours a month messing with your servers. That means it's costing you $180/month or $2,160/year. That doesn't count the additional cognitive load of having to worry about it or the inconvenience of something going down and needing attention at an inopportune time.
If those issues were addressed, you would see more people running their own servers. Unfortunately the "ease of use is for stupid people" meme goes way back in tech culture:
http://catb.org/jargon/html/P/point-and-drool-interface.html
^^^ This is why FOSS has never crossed the chasm. It's a cultural problem.
Another contributing factor is the love that some developers have for complexity. They see complexity as a sign of intelligence. It's not. Simple systems are far more difficult and require much more intelligence than complex systems.
comment 4y ago · link · parent
I think a TL;DR on my reply above:
I think the difference in privacy between identity(ephemeral(x)) and ephemeral(identity(x)) is not significant. It's more honest to tell people that our product offers only content privacy not meta-data privacy unless we are truly implementing strong countermeasures against tracking by ISPs or others that can pervasively sniff the net. Just nixing the identity key visibility is not a strong countermeasure for the reasons I described.
comment 4y ago · link · parent
If FSD is anything like the many videos I’ve seen I don’t want it and don’t think it’s ready for general use.
FSD seems like one of those problems where getting 80% of the way there takes 20% of the effort and getting the remaining 20% takes 80% of the effort. There is a truly massive chasm between adaptive cruise with lane following and FSD.
comment 4y ago · link · parent
I have some thoughts about features to really defeat this. We've got an entry on our feature queue for guard nodes you can run in the cloud and have also researched implementing a form of "light" onion routing. It wouldn't be intended to be as strong (or as slow) as Tor, but sufficient to prevent passive dragnet surveillance.
In any case there is a conflict here between goals. So far the performance, rapid startup, and enterprise goals have won out over the small privacy benefit of the ephemeral-outer-key construction. It's a scope thing. So far we've never scoped ZeroTier as a meta-data-concealing protocol like Tor, just as a P2P mesh protocol for easy remote access between devices and locations.
Still... it's tempting to try to find something in the V2 design to at least mitigate this issue. It's something we're thinking about.
comment 4y ago · link · parent
This is a vulnerability that reduces the security of the Apple Silicon platform to being closer to on par with the immediate prior platform that Apple is actually still selling.
comment 4y ago · link · parent
comment 4y ago · link · parent
We are using Rust for the ZeroTier network hypervisor and core system service though because that's systems-level software that is performance-critical, needs to fit on small-ish devices, and needs deterministic performance among other things.
They're really different languages for different niches. Rust is C++ 2.0. Go is fast compiled Python with a cleaner design. (Python is the best niche comparison I've found for Go.)
comment 4y ago · link · parent
Also I need to edit the part about a BS in CS and add "or demonstrably equivalent skills and experience."
comment 4y ago · link · parent
(1) We use AES for performance and other reasons. ChaCha is much faster than AES in software but AES blows it away by 2-4X in hardware. We have customers using ZeroTier in an SD-WAN setting who are leveraging AES acceleration (with some of their own custom code) in network accelerators and other devices. We also think we can beat both in-kernel WG and ipsec in V2 on Linux using io_uring because the cryptographic part of ZeroTier is 2-4X faster than WG on "real hardware." My M1 Mac does 2GiB/sec/core and newer Intel/AMD chips with AVX VAES can do as much as 10GiB/sec/core.
(2) We have a bunch of customers who want FIPS. Yes, we know. We're not big fans either but they're large customers and whole industries. We also have a pretty good no-compromise plan for this that treats FIPS as a floor for cryptographic quality not a ceiling and doesn't add meaningful complexity. This is a V2 thing. (You can bootstrap WG with keys from a NIST ECC key exchange to get the asymmetric part of FIPS, but ChaCha is not FIPS.)
(3) We want to maintain backward compatibility with millions and millions of ZeroTier devices out there, at least as far back as we can.
(4) ZeroTier uses a construction where the identity is the outer envelope and then (in V2) the ephemeral forward secrecy keys are the inner envelope. Wireguard does it the other way around. Both are equivalent in terms of cryptographic strength (and I think in noise this is a choice, but it's been a while since I read through that). The advantage of the WG construction is that session participants can't be identified from packets. That's a disadvantage in enterprise though, because they want that. It lets us implement elegant solutions to making a mesh P2P network play nice with enterprise firewall and internal/DMZ isolation practices among other things. It also lets our roots/relays basically do something analogous to MPLS, pumping vast amounts of traffic with virtually no CPU overhead because they don't need to decrypt anything.
We toyed around with making an AES fork of Wireguard, basically use the exact same construction as WG with AES-GMAC-SIV instead of ChaChaPoly. Would be totally fine cryptographically but see #4.
We also support virtualization at layer 2 rather than just layer 3, which is important for a bunch of our industrial use cases. It would be possible though to stuff L2 into WG pretty easily, so that's not really a reason. WG is just a transport protocol so you could stuff anything into it. Fly.io used it as a light alternative to TLS I think. It's just normally used to carry L3 IP.
Edit: also in V2 we are modularizing things, separating the transport protocol from the rest of the code. It'll be in open source Rust and very portable. In our (currently private) Rust repo vl1/ is only about 5K lines of Rust including tons of comments and non-crypto stuff. We also have plans to document it a lot better.
comment 4y ago · link · parent
Not a day goes by that I don't dedicate some thought to better business models for software and services, especially for FOSS and otherwise pro-freedom pro-user software. It's hard for many reasons. User-hostile software (surveillance, loot box games, cryptocurrency scams) is easy to make money from, but that's not my thing.
comment 4y ago · link · parent
<rant>
... now if people would only pay for software without some lever like this we'd make SSO included.
I was just ranting on this topic earlier today:
https://news.ycombinator.com/item?id=31676011#31680304
SSO is a fairly decent "are you a business or an individual" lever, which is why the SSO tax exists. Otherwise businesses will not pay anything and then complain when you disappear.
As I always say: people will pay $10 every day for a latte and a donut at Starbucks but you have to twist their arms to get them to pay much less than that for software they get tons of value from.
</rant>
comment 4y ago · link · parent
You are 1000% right about UI/UX. It was good for networking software years ago but the ecosystem has generally improved since then.
If anyone who is reading wants to help:
https://jobs.lever.co/zerotier/90436aee-8e55-406d-9053-a0c26...
Location is set to Cincinnati because we want to nucleate more engineers in this region but the position is open to anyone in the USA. We'll hire anywhere if someone is really good. We're remote-first.
Edit:
> 7. Your language for network rules is too complicated.
It's too low-level. We are researching a higher-level way to edit rules in terms of intent rather than the current pf-esque rules language that requires you to deeply understand TCP/IP and such.
That being said it is very powerful and you can do extremely neat stuff with it. It's in some ways more powerful than what you get with enterprise data center SDN products.
comment 4y ago · link · parent
We've been hard at work on this for a very long time, and we're obviously quite happy today! This is a must-have or really-want for a huge number of business customers.
That being said, we don't and are not going to require SSO sign-in. You'll always be able to just authorize a device. (On SSO networks that's done by setting them to SSO-exempt.) You can also self-host network controllers like always, and we're planning on making that easier in the future not harder. We're all about not forcing you into ecosystems (SSO can do that) and about decentralization.
As for other stuff coming in the near-mid future: version 2.0 is not dead. We obviously got massively derailed (mostly good but very distracting things) and under-estimated the scope and time, but it's still moving forward. We have not announced this elsewhere yet, but it's a near-total port to Rust. This is to get into a more modern language but also to use a safe language for security reasons. This has added time to the job but we're of the opinion that security-related software not written in a safe language is going to be considered a bad thing in the near future (if not already).
V2 also has some significant cryptography improvements that bring us more to parity with more modern constructions like the noise framework. This part has been going slow too because we've been moving carefully and soliciting a lot of peer review both informal and formally hired. Cryptography isn't something you just toss out the door and YOLO. :)
Last but not least we are planning on some kind of transition from the BSL back to an OSI-compliant licensing scheme, but want to think this through rather than flail around.
People at this site have really been fans and have helped us a lot over the years, and we're grateful. Thanks!
comment 4y ago · link · parent
Edit: also this only tests 500, not 500000.
Also when doing threaded I/O as soon as you want to support bidirectional traffic you will have to implement select/poll/etc. since you can't do a blocking read and a blocking write at the same time on one thread. At that point you're already giving up a lot of the advantages of threads.
comment 4y ago · link · parent
Rust async code can be a bit challenging until you get it, but I can't think of a way to make it that much simpler without sacrificing the whole "systems programming language" concept or support for embedded. The only good alternative is Go-like fibers and that requires a fat runtime.
We use both Rust and Go at ZeroTier and find that they both have their own niches. (We are slowly moving ZeroTier from C++ to Rust to use a more modern and more importantly safe language.)
comment 4y ago · link · parent
"But that's silly! You can strip it off!"
Of course you can, and you can strip DRM off proprietary DRM schemes too. All of them are cracked. That's not the point. The point is that there's a way for someone to indicate their usage terms along with a piece of media. An OpenDRM would not even necessarily encrypt, or would do so only in a very trivial way. It would instead be a standard for indicating terms of use and automatically checking for licensing entitlements.
comment 4y ago · link · parent
comment 4y ago · link · parent
That is the core argument. It can be true, but it's not always true. The larger your cloud footprint gets, the less true it often becomes. It's also not true if you are doing something that really slams one of the cloud's high cost areas like outbound bandwidth or tons of sustained compute.
If you are running a business or department it's your job to run these numbers properly and not listen to mindless cloud salespeople or developers brainwashed by them.
The cloud is great for prototyping. As you scale there usually comes a point at which the cloud cost line crosses the "hire one or two people" line. If you think you have to hire five or ten people, your architecture is probably too complex.
Of course the cloud industry really pushes complex architectures hard because they know this. Complexity works in their favor on both ends. It makes it harder to get off managed services by adding labor costs and it also means you have to run more stuff in their cloud.
comment 4y ago · link · parent
I think these may already exist, though usually for very specific things like cryptocurrency mining. I could see this broadening. I could also see the government getting involved then and mandating it.
"We're sorry, our system detected that you are developing end-to-end encryption software without the proper safeguards in place. Your account has been locked..."
comment 4y ago · link · parent
SaaS, though often based on FOSS, is far more closed than closed-source commercial software ever was. I can run a closed-source DOS app from 1989 in DosBox today and if I had data in it I could still access it. Same with most commercial PC software for Windows and Mac.
Can't do that with SaaS. Even if I can run it the SaaS has my data. If I stop paying it's gone. If the company goes out of business it's gone. If they rev the software in a way that ruins it for me, I'm out of luck and I have to start over. (Sometimes they let you export your data, but never conveniently and never in a good format.)
Here's the thing. Software is not actually free. Easy to use mature software is hugely labor-intensive to produce.
If you don't design the economic model, the market will design one for you. Usually that model will be worse than what you would have done. The most popular creative way to monetize "free" software is surveillance capitalism followed by adware and cloud-as-DRM SaaS.
Oh, and a sure fire get rich quick scheme for quite some time has been to take a promising FOSS software or standard and slap up a SaaS around it. Something tells me none of these companies pay anything to the original creators.
TL;DR: FOSS lost the war because it confused free "as in beer" with free "as in freedom" and never figured out an economic model. As a result we got one, SaaS with the cloud as back-door DRM, that is worse in every way than the old closed source shrink wrap model.
But the fact that most people in this thread are bringing up DRM for media means that people may care more about free "as in beer" than freedom. Few people are bringing up what FOSS was supposed to be about: control of your own computing environment and ownership of your own stuff. It was never about getting other peoples' stuff for free or even about software not costing any money. It was about software not restricting you and honest freedom-respecting models.