Better HN
topnewbestaskshowjobs
Log inSign up

api

35,898 karma · joined Oct 4, 2007 (19y ago) · 17,863 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 4y ago · link · parent

I really hate how cryptocurrency has sucked all the air out of the room with decentralization. The two are only somewhat related.

comment 4y ago · link · parent

Porn is nothing like actual sex. Even fetish stuff depicted in porn is usually nothing like actual fetish stuff in actual sex (among people into that). I do worry about easy access to porn and young people growing up thinking it even slightly represents reality.

comment 4y ago · link · parent

IPv6 adoption continues to rise. It just takes absolutely forever to shift the fundamental protocols of something as big as the Internet. The time required for the transition was vastly underestimated.

comment 4y ago · link · parent

There's been a decline in youth sexuality in the USA at the same time as our sexual liberalization, especially in the last 10-15 years.

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

> What can you do about it? Nerf your CPU performance by disabling "turbo boost" or equivalent. Should you do it? Probably not unless you're particularly vulnerable (journalist, human rights activist, etc.)

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

A prolonged environment of virtually zero to even negative interest rates inflating speculative bubbles all over the place.

comment 4y ago · link · parent

"Not wanting to run your own server" is not the primary issue. People might run their own servers if it was as easy as running a Mac or a smart phone.

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

Yeah.

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

I have a Nissan Leaf with lane following and adaptive cruise. It’s nice on road trips but it’s not something you can set and ignore. It’s just better cruise control that lets you relax a bit more.

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

Yes, and that's a downside. My opinion though is that unless you are tunneling every single bit of your network traffic through something that is concealing your identity, fingerprinting the vast majority of devices and users is trivially easy. There is just an amazing amount of surface area: browser fingerprinting, protocol version fingerprinting, network access pattern fingerprinting, DNS snooping, TCP fingerprinting, and so on. Since ZT (and Tailscale and Nebula and other similar things) are all P2P it's trivial to fingerprint someone by just collecting the IP endpoints they routinely communicate with. Anyone who belongs to a private net with a few fixed points can be easily identified over time by the fact that they talk to those things in a certain pattern.

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 correct, but at the same time it's important to not overhype every single vulnerability as the end of the world. Unfortunately some security people seem incentivized to do that, and it causes a "crying wolf" problem. Serious end of the world announcements should be reserved for serious end of the world vulnerabilities.

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

Seems like if this were successful it would weaken the extra security provided by pointer authentication, at worse weakening it to the level of a CPU without pointer authentication like the x86_64 chips they used to use. So not great but not catastrophic. Or am I missing something?

comment 4y ago · link · parent

That's in the queue. Will probably start by making it a turn-key marketplace "appliance" in AWS, Azure, GCP, etc. marketplaces, then release for on-prem.

comment 4y ago · link · parent

Go is great for backend stuff like that. If we rewrote it from scratch today we might consider Rust though just to have only one language in the house... but Go is really good for that case.

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

We were planning on separating those, but haven't edited the description yet. There are some unicorns who can do both but not many. Anyway if someone is interested just apply. We're not a huge company and we just use the job reqs to get applications and then decide.

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

Interesting... this is also a defect in ZeroTier but thanks for the idea. :)

comment 4y ago · link · parent

Wireguard is a really nice clean transport protocol, but there are a few:

(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

Good defense and I agree, but I also agree that the SSO tax sucks.

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

I agree. We do have plans to support free "social SSO" in the future with certain providers.

<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

The SSO release today adds a concept of users. That's what it's all about.

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

ZeroTier founder here --

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

Backend to my.zerotier.com and internal analytics code.

comment 4y ago · link · parent

Interesting, but there are other issues. A big one is resource exhaustion attacks. A thread per connection means that someone can trivially exhaust system memory, while async pseudo-threads (tiny bits of state) take up virtually no space.

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

Great to hear! That's really the solution.

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

I thought about creating "OpenDRM" once, an open source DRM library. It was with another job in the past.

"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

Async has really taken over anything networking-related because, well, it offers much better scaling and performance. If you're a package author you're going to get more people asking for async than people that don't want it. There is no sane way to make async optional in a library and reuse code.

comment 4y ago · link · parent

"Dev or IT admin time costs more."

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

Even worse, I foresee a future where there are bots in the cloud that interrupt the development or execution of software that violates the ToS.

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

> Streaming services wouldn't exist without DRM.

Legally I'm sure that's true since content creators wouldn't agree to it, but in practice that's probably wrong. People would pay for the convenience of a it-just-works streaming service.

comment 4y ago · link · parent

The elephant in the room is SaaS. With SaaS it is possible to use 100% free software and even release all your code as FOSS as well and it's meaningless. The service has your data and it's the hub. Even if you can self-host few people do and it's time consuming and hard.

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.

1
204205206
596