Better HN
topnewbestaskshowjobs
Log inSign up

api

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

Not NAT. Firewalls. You don't need NAT to have a firewall.

comment 6y ago · link · parent

We are going backward. Newer 5G and fiber deployments where I live offer only IPv4 with carrier grade NAT. No IPv6, and no real IP unless you ask for one. (Not sure how long they will offer that to non-business subscribers.)

comment 6y ago · link · parent

It's 2020, and people are elated to discover that it is possible to transfer a file directly between two systems on the Internet.

True story: I was giving a guest lecture on network virtualization at UCI and demoing ZeroTier. One student came up afterwords and asked me how traffic could flow between systems without "a cloud." Evidently the idea that data could just go directly from point A to point B was utterly, completely foreign to the point that they weren't aware that the Internet could be used this way.

comment 6y ago · link · parent

My approach is and was always edge-first. Security begins at connected devices; everything else is an afterthought. The only time you try to secure something primarily at the network level rather than the device level is when it's legacy junk you can't secure otherwise and that you must use.

I am not opposed to network firewalls and such, but they're just defense in depth. If the whole network wouldn't remain secure if it were connected to the Internet with no firewall, it's not secure.

Given that these things are afterthoughts, I am not willing to prioritize them much over efficiency, complexity reduction, and user experience. Afterthoughts should be sacrificed to complexity reduction because complexity negatively impacts security a lot more. Inefficiency and poor UI/UX also have security implications. They increase the amount of "shadow IT" type activity and also seem to make phishing easier. If you secure something in ways that prevent people from getting their work done, they will get their work done insecurely.

Treating NAT as a must-have or should-have rather than the ugly hack you don't want to have increases complexity and negatively harms UI/UX by making P2P stuff not work and making people have to work harder to do simple things. If removing NAT makes you insecure, you were insecure to begin with.

Needless to say I am a fan of the BeyondCorp/deperimeterization approach. Ideally physical networks should be dumb pipes and everything should be virtual. The LAN itself is legacy baggage.

comment 6y ago · link · parent

I don't get this. IPv4's address space is so small I can trivially scan any internal network, and there are a ton of ways to gather that data covertly from behind the firewall via maliciously crafted web pages or apps, abuse of any number of P2P apps or protocols (VoIP, video chat, WebRTC, etc.), and so on. IPv6 actually makes scanning harder since the address space is massive. E.g. if I have a /64 routed internally I have to scan 2^64 addresses to find internal hosts!

If knowing internal IP addresses is a security risk, then IMHO you have serious security problems. I used to do netsec too and the cornerstone was internal scans for unpatched or rogue systems and services and keeping systems patched and locked down. A network is only as secure as what is connected to it! We also had smart switches and APs where you could lock port to MAC and IP and thus could prevent rogues.

My personal rule was: any system that would not be safe to directly connect to the Internet without a firewall is insecure and needs to be fixed. The only exception is backplanes for things like internal databases/services or testing/dev, and those were separate networks for that purpose only. Separation was either physical or virtual/cryptographic. Back then we didn't have stuff like ZeroTier so we did that with IPSec and it was ugly, but we did it. Those nets could sometimes access the Internet (with restrictions) but could not even see the controlled internal LAN. They accessed the net via a port to outside the DMZ.

Next up was auditing software installed on internal systems. Next up was monitoring network traffic to detect anomalous activity. Firewalls are always the last line of defense. NAT is not a security feature at all.

I never once worried about keeping internal IPs secret (why?) and we ran IPv6 internally without NAT because IPv6 NAT is dumb.

We had two incidents when I was there. Both were the result of phishing to get malware onto personal PCs or phones.

My very strong personal opinion is that security people worry about the wrong things. They worry about network security and firewalls when what should really terrify them is phishing, auto-updating software made by who-knows-who, popular apps and SaaS services that are invisible security dumpster fires (Zoom anyone?), and of course barbarous demonic evocations like "npm install ...". Your firewall will do very little to save you from any of that, and NAT won't do crap because once again NAT is not a security feature.

comment 6y ago · link · parent

> When you're using a private network v4 address exhaustion doesn't matter much

Until you start trying to connect to enterprise networks...

This is seriously ridiculous. It's 2020, and Google and now DO have no IPv6 in their cloud networks.

comment 6y ago · link · parent

This uses DHTs. How resilient is it against Sybil attacks? Also how does it work under global netsplit conditions, like if someone borks or attacks BGP in such a way that 1/3 of the world is not reachable?

My impression is that DHTs fall down pretty hard under the latter scenario and are also pretty vulnerable to the Sybil scenario if the attacker has enough resources to mount a really serious attack. They're okay for low-value simple stuff that doesn't have much of an intrinsic bounty attached to it (like BitTorrent magnets), but trying to put a "decentralized web" on top of a DHT seems like a scenario where the instant it becomes popular it will get completely shredded for profit (spam, stealing Bitcoin, etc.).

My rule of thumb is that anything designed for serious or large scale use (in other words that might get popular) needs to be built to withstand either a "nation state level attacker" threat model or a "Zerg rush of hundreds of thousands of profit motivated black hats" threat model. The Internet today is a war zone because today you can make money and gain power (e.g. by influencing elections) by messing with it.

comment 6y ago · link · parent

BFT, which stands for Big FXXking Telescope?

comment 6y ago · link · parent

Secure cryptography, paper trail, and 2FA would be a start. So far most US voting machines have been laughably pathetic, like security on par with a mom and pop store and their MS Access database.

comment 6y ago · link · parent

I am deeply concerned about the security of any online voting system for anyone. It can be done securely, but I have zero confidence in the IT ability of our government to actually achieve security. The past record of pathetic electronic voting machine security speaks to this.

comment 6y ago · link · parent

This expands into an infinite tree of maybes. My point is that its worth looking because a satellite with a fish eye IR camera wouldn't be that expensive and the benefit would be huge.

We know for a fact that such a satellite would have a good chance of spotting any star farers that are remotely like us, even if they are significantly more advanced but still "fast" in terms of their energy use and general way of doing things.

Space Ents belong to a long tail of other possibilities, but they also must obey the second law...

comment 6y ago · link · parent

Nope. If you are doing anything you are doing work and thus converting energy. The second law is inescapable, and it's one of the most solidly established of all physical laws. If we assume the same laws exist everywhere (quite reasonable) then ET must follow those same laws too.

First, you have to be generating the energy. No reactor or conversion process can be 100% efficient (second law), so you must reject some heat. If it's solar, you have big-ass solar panels that get hot because they are not 100% efficient. The ISS looks like an orbiting Christmas tree in the infrared.

Second, the "rocket" exhaust might be a directed particle beam but whatever is accelerating that exhaust cannot be 100% efficient (second law again). More rejected heat.

Then you have all the other stuff going on. If the inhabitants are biological, life support for a long-duration large scale space flight is going to be pretty energetically expensive. Think of growing crops, bulk biosynthesis of nutrients, and a whole lot of recycling which usually involves a lot of endothermic reactions to break down waste products. If the inhabitants are post-biological (IMHO more likely for star travelers) then you have a whole lot of computronium of some kind. That's a big flying data center in space, and everyone knows how much heat those put off.

... I could keep going forever.

You can reclaim a bit of heat like we do here on Earth with combined-cycle power plants, but there are absolute, hard, inescapable limits to how much. You also hit diminishing returns pretty fast, and keep in mind that a spacecraft has mass constraints it must work within due to delta-V budget and all that. At some point the graphs are gonna cross where it makes more sense just to reject heat, and any rational engineer will pick that point.

You're gonna need a radiator, and there is no way to make that not visible. If you want to hide from the crazy-ass monkeys on the third planet you could try flying with a reflector in the way to block your heat from the Earth-Moon system and reflect it elsewhere, but the problem is that now your reflector will reflect a bunch of incident solar radiation!

Last but not least: we are in theory talking about interstellar visitors here. Anything capable of interstellar travel is by definition capable of generating absolutely vast mind-boggling amounts of energy. The only physical power planets we know of that could theoretically propel you to the stars (at a reasonable enough speed) are some mix of fusion and matter-antimatter annihilation. Even turning that monster of a power plant on to "idle mode" is going to say "here I am!" in the infrared... if someone is actually looking. AFAIK we are not currently looking.

comment 6y ago · link · parent

It is one logical solution to the Fermi paradox: there is no Fermi paradox.

The problem with UFOs is that there is so much cultural and folklore baloney surrounding the topic. But ignore all that and look at actually reliable case data like this. This is not enough to prove anything but it's enough to suggest that we might want to look.

Personally I would not mind seeing an ultra-wide-field (fish eye?) infrared space telescope watching the solar system. Unless ET found a way around the second law of thermodynamics, anything using non-trivial amounts of energy is going to light up like a beacon in the sky in the infrared spectrum far beyond what can be accounted for by normal solar albedo. For example a large nuclear fusion reactor in space would require enormous heat sinks to not melt itself and the entire spacecraft, and any propulsion system capable of fast movement around the solar system or especially interstellar flight is going to be blindingly bright in the infrared when it executes a burn. Call it near field SETI.

comment 6y ago · link · parent

It could also be that electric utilities are incredibly heavily regulated government backed monopolies or even actual government agencies that are strictly regulated about what business they can and cannot do.

comment 6y ago · link · parent

Yes, but if they did it right they couldn't bill the government to fix it multiple times over.

comment 6y ago · link · parent

The best programmer analogy I can think of is: imagine a system where every instruction always runs concurrently and every output influences everything with varying probabilities.

comment 6y ago · link · parent

I'll take it instantly for 850 a month. I'd likely still take it for 2000 a month.

comment 6y ago · link · parent

"But zoning may be the real winner here. Japan’s zoning laws are national—so no local weirdness hampering construction and driving up prices. The system has 12 zones progressing from residential to commercial and industrial. Any buildings allowed in zone 1 are also allowed in the following zones. Basically: Housing can be built almost anywhere, even on extremely skinny or odd-sized parcels of land. This increases the amount of usable residential space and helps builders continue to meet demand, keeping housing costs under control. "

Fighting for something like this here will be one of the fights of the younger generations, otherwise they will be permanently locked out in any city with jobs. (There is plenty of housing where there are no jobs.)

Local NIMBY zoning must die. Its basically a cartel: collusion to restrict supply and drive prices artificially high.

comment 6y ago · link · parent

It must be nice to have a trust fund. /sarcasm

Seriously though... I more and more find these kinds of sentiments to be unintentional classism, not to mention being massively impractical. It's one thing to churn out a book in your spare time, and its quite another to make authorship your main focus. To do that requires a way to make a living off it unless you are already rich.

comment 6y ago · link · parent

From all that I've read, corruption is why Africa has been so poor and missed out on much of the development of the 20th century. Why bother investing in anything when it will just be stolen by the local strong man?

comment 6y ago · link · parent

The latter. Wealth is a verb, not a noun. It's measured in flow, not money in the bank. Idle wealth is not wealth.

comment 6y ago · link · parent

That was kinda my point. We had a brief period of a unipolar world with the US as the sole superpower. I don't think that's stable or likely to persist, and it looks like China is already filling the empty niche.

I think the 21st century will have China and the US as the two superpowers and the rivalry will be mostly economic and technological rather than military (via build up and proxy wars) and propagandistic.

I don't think it was the Great Recession that cut America down to size. I think it was the Iraq war. We "won" but it was a classic Pyrrhic victory that cost us both a ton of capital (I wonder if it caused the Great Recession) and our reputation on the world stage. We basically burned our Cold War victory on that. Bush II was the worst president of the last 100 years, in my opinion worse than Nixon and worse than Trump has been so far in terms of actual damage done. I don't think there would be a President Trump either were it not for that damage.

comment 6y ago · link · parent

Haven't there been nucleus swap experiments that showed transfer of major cell characteristics between species like e.g. different protists?

comment 6y ago · link · parent

Wasn't quite a lot of what you say about China true about the USA in the 19th century? Not saying the cases are the same and I am skeptical of grand historical theses, but I don't think you can glibly dismiss China either.

Personally I see China replacing a superpower, but the superpower being replaced is Russia. Russia is by nearly every metric declining and much faster than the USA.

The question is whether the USA will remain the dominant superpower or whether China will be a serious challenger by mid century. To really challenge the USA China would have to export more than just goods and services but also ideas and culture. I see a little bit of ideas being exported but very little cultural export happening.

comment 6y ago · link · parent

Yahoo in the mid to late 90s. I've wondered if there might not be a renewed niche for a curated site directory, preferably as a non profit and with no comments.

I miss the web then in general. It was full of basically honest information rich stuff.

comment 6y ago · link · parent

I really wish you well. Makes me consider actually trying Sia for our backups, which would make this the first time I or anyone else I know has actually used a block chain product in production... or for much of anything for that matter.

The block chain world is absolutely overrun with over-funded over-specced over-engineered boil the ocean projects that will never ship anything usable, solutions in search of problems, stuff that just plain doesn't work for fundamental math/algorithmic reasons, and of course a ton of outright scams. All of these are loud and lean heavy on the hype because they have nothing else. Just keep working and you will emerge once the dust settles. Not saying forget about marketing, but focus more on product.

comment 6y ago · link · parent

Being burned by an AirBnB stay generally at least leaves you with an entertaining tale of OMGWTF. A bad hotel experience usually just leaves you grossed out or with bedbug bites.

I have one of each: a funny AirBNB caper and a totally disgusting hotel story I wouldn't bother telling. The latter involves stains of the uhh... lonely masculine sort... on towels. Shudder.

comment 6y ago · link · parent

If they are going to lock down macOS totally they might as well kill it and exit the pro market entirely. If I can't run whatever I want on it, it is not a real computer.

I personally doubt they will do that. If anything I could see them making iPadOS more capable, moving more of the consumer market there, and making the Mac line even more suited to pro users with more compute power and more OS capability.

BTW the ARM move could fit into this. I wonder how a 32 or 64 core A series ARM64 chip in a laptop form factor would perform? Our company runs some infrastructure stuff on Cavium ThunderX chips with 96 ARM cores and the performance is comparable to high end Xeons for very parallelizable load. The Apple A series core is far superior. I'd take 64 of those in a laptop.

It would be so fast I'm sure it would have no issue running transpiled X64 code at perfectly adequate speeds. Could probably even run X64 VMs in emulation at speeds that were at least quite usable for testing and dev.

comment 6y ago · link · parent

Sia is one of the few ICO projects that seems to actually work, but it gets zero attention.

comment 6y ago · link · parent

Cost of living anywhere in the Bay Area is much higher than the national average due almost entirely to real estate.
1
312313314
596