Better HN
topnewbestaskshowjobs
Log inSign up

hacknat

3,103 karma · joined Jan 5, 2013 (13y ago) · 999 submissions

Submissions

comment 8y ago · link · parent

Wow, The most revealing thing, I think, is the lack of central server security. Sounds like it wouldn’t take almost any effor to MitM a Tesla car.

comment 8y ago · link · parent

>In the end, voters and lawmakers need real-world solutions for governing problems, and democratic socialists — with their frequent determination to let the great be the enemy of the good — have a poor record of providing them

What? So most of Western Europe is what, a myth?

I’m actually not a bleeding heart. I consider myself a conservative that votes Democrat right now. Hit pieces on the left like this are still revolting to me considering all the voter suppression tactics that have been employed by right leaning state legislatures over the past decade.

Also, this article doesn’t even attempt to prove the title, instead arguing that democratic socialists don’t believe in free markets (a defensible, albeit hyperbolic claim).

This op-ed is disgustingly poor.

comment 8y ago · link · parent

Everyone on the connection route would be “in the middle”. The actors to watch out for are ISPs and CDNs.

comment 8y ago · link · parent

Encrypted SNI probably can’t make this version, as it requires a fair bit of new protocol infrastructure to support. The handshake would have to start with a generalized untrusted assymetric exchange exchange to transfer the SNI field then “upgrade” the connection to be trusted and then retroactively tell the client what the initial “untrusted” key was so that the client can confirm it didn’t suffer a man in the middle attack during the SNI transfer phase.

All of this is possible and should be done, but I doubt it will make protocol 3.

comment 8y ago · link · parent

I think it's worth fighting hard still, because while we've definitely f&%$ed over the next few generations there is a strong possibility that we could keep the world habitable at least, but if we give up now then there is the distinct possibility we could hit 4C increase and dwindle the human population down to extremely dangerous levels (or even cause or own extinction).

comment 8y ago · link · parent

It depends on what your goals are. If it is human survival, then yes. If it is about maintaining the current global economy and modern civilization then absolutely not.

comment 8y ago · link · parent

Losing? We already lost.

It's probably too late to save modern civilization, the new war on climate change is about making sure we don't make the planet uninhabitable for almost ever land animal. But, our chances of accomplishing that are pretty good (of keeping the planet habitable, not failing to do so), especially as we lose billions of people that will die because of catastrophic climate change.

comment 8y ago · link · parent

Nah. 1 billion dollars is 1/13000th of the American economy.

comment 8y ago · link · parent

I don’t buy the hype of the blockchain as much as the average hacker news user, but this article lacks anything but anecdotal data.

A bubble needs two things:

1. Misallocated hype

2. Real money

As far as I can tell no one has done much digging on how much money blockchain ventures represent in terms of real world investment dollars. Can you call something a bubble if there isn’t much “real” money in it?

If all the blockchain related companies died tomorrow how many people would be out of a job, and how much money would be “lost”?

As far as I can tell most investors, even the ones bullish on the future of blockchain, are suspicious of new blockchain ventures.

This isn’t how bubbles work, unless I am massively misinformed about the amount of money in this area.

comment 8y ago · link · parent

I like this answer. I actually feel like a shorter work week is probably way less productive than just having more vacation time. When I have momentum on a project I love spending time killing it. When I’m wrapping up a project I would love to have the freedom to ramp the hours down (maybe 3 4 day weeks in a row) then take a 2 week vacation. If I could do that once a quarter I would be very happy.

comment 8y ago · link · parent

Most of the people on hacker news, myself included, aren’t skeptical of the technologicy of block chain. I grant Block Chain’s central technical premise, no other medium/platform/whatever can create decentralized trust wherein all you have to trust is the network. Where I think most of the criticism comes from is that many of us don’t see why this decentralization is actually all that valuable. Currency seems like the most likely candidate, but even it has proven finicky. What efficiencies are gained from decentralized trust. I’m skeptical that decentralized trust creates that much of an improvement.

Case-in-point: Block chain for supply chain problems was touted and hyped a few years ago, only to fall flat on its face. Why? For most companies decentralized trust in their supply chain didn’t provide that much of a benefit. I know a bit about supply chains, and from what I have heard from most supply chain experts (yes I know a fair number of supply chain experts) centrally managed trust works fine for them.

That’s the extrapolated crux of the issue. I am open to being proven wrong, but so far no one has ever been able to calmly explain to me what fields would see a 10x improvement from decentralized trust.

We’ve been dealing with centrally authenticated trust and decentralized unauthenticated trust for 100k+ years as a species. Block chain promises decentralized authenticated trust and it delivers, but why should I care? Is it actually going to be beneficial. No one can argue that the jury is still out.

comment 8y ago · link · parent

The more I think about this issue the less interested I am in the extreme of either side. The government shouldn’t have unfettered access to our devices, but I can’t think of any other product in the history of the planet that gave people the ability to hide information so completely that the government could never look at it. To those that argue that our phones are an extension of our minds, that is both a bad thing and fetishizing our phones. Finally, couldn’t I argue that my diary or journal is an extension of my mind (certainly more so than a phone)? Yet diaries and journals can and have been subpoenaed.

comment 8y ago · link · parent

Also, very few people are only kernel devs. Usually you can be an advanced systems programmer and ease your way into creating kernel features or fixing bugs as you need. The market for people who can do that is large and desperate.

comment 8y ago · link · parent

I don’t disagree, but is the economist libertarian anymore?

comment 8y ago · link · parent

So before anyone gets excited about using this, XDP has to be enabled at the driver level to work, because basically is allows you to write your own program to handle incoming packets from the driver, taking the kernel out as the middle man. The list of supported drivers is small:

http://prototype-kernel.readthedocs.io/en/latest/networking/...

I’m actually working on porting XDP into the Xen net front end driver to see if I can’t get something like this working in AWS. If I do it, I’ll likely post an example about it here:

https://github.com/newtools/ebpf

As an aside cloudflare is using that repo for an XDP load balancer as well.

comment 8y ago · link · parent

IPVS cannot be dynamic like XDP can, which can be powered by a reactive bpf program. XDP bypasses every kernel function and basically takes over packet processing at the driver level, so the performance tends to be pretty good. Julia Evans wrote a blog post and has some performance numbers at the bottom of her post: https://jvns.ca/blog/2017/04/07/xdp-bpf-tutorial/

comment 8y ago · link · parent

The real reason there is drift in Linux tooling is because there are two communities making tools for Linux (GNU and Linux Foundation associated projects) and the two groups seem to find new reasons to hate each other every year. It’s a dumb reason for tooling to drift, but an understandable reason. I have a feeling that ifconfig and netstat will keep up fine, but that the party line will be that they are deprecated.

comment 8y ago · link · parent

It wasn’t a hard rule. It depend on the app and the use case, but probably just docker on all the machines with some static cloud loadbalancers in between everything. Or just straight config management.

comment 8y ago · link · parent

Right tool for the right job. Is K8s too complicated? For some use cases it is.

They probably should do a better job of discouraging certain use cases, but calling their elevator pitch “bullshit” is hyperbolic.

There are exceptions to every rule, but a good rule of thumb is cluster size. If you’re managing less than 25 servers than K8s is probably over kill. As you start to creep north of 40 servers K8s really starts to shine. The other place K8s really shines is dynamic load. I manage anywhere from 600-1000 16Gb VMs, I can’t imagine doing it without K8s.

If cluster size isn’t a good rule of thumb then application architectur probably is. If no one person in you company has a complete mental model of the application architecture or it is impossible because it is so complex, again container orchestration might be a good way to go.

Final point: If you’re struggling with K8s swallow your pride and buy a managed solution, then learn as you go.

comment 8y ago · link · parent

They should. Glibc breaks its interface every few years. I’d love to see all the GNU tools migrate over to the Linux foundation, where they would be stable, safe, and free from autocracy.

comment 8y ago · link · parent

The question is, why choose this over Kata...I guess. The post didn’t really do a good job of telling me why.

comment 8y ago · link · parent

Well, I wasn’t arguing for a VM being a panacea, but in the context of not being satisfied with the Linux primitives for sandboxing, I think it is the next logical step up in security.

From my perspective this project seems like an intermediate jump from Linux containerization primitives and a full blown VM, and I was wondering out loud who fits that use case?

Finally, I didn’t mention KVM, but my understanding of KVM is that it’s isolation primitive was the hardware virtualization instructions (or at least could be, I’m not sure if it has a PV mode or not).

I guess my question for you would be:

In what context would I want to use this over something like Kata containers?

comment 8y ago · link · parent

I hate to rain on this interesting project’s parade, but if you need full sandbox isolation then you should probably look to full VM isolation (ala Kata containers, formerly Clear containers). User namespace-ing, SecComp, and Selinux/apparmor buy you about as much of a sandbox as you’ll need, with the one caveat that a kernel exploit could still take you down (all other exoits are rendered sandboxed).

If you need that final kernel sandboxing, then a full VM is your only guarantee. UML still sits on top of an exploitable kernel, and presumably this project itself can be hacked. While it certainly is better than nothing the only thing it seems to be buying you above Kata containers is a faster spin up time and the ability to dynamically resize the container. Maybe that trade off is worth it to someone, but the added performance overhead and the demi-kernel isolation seem like a high price to for those features.

comment 8y ago · link · parent

It’s likely that web apps and servers will be least affected, I cannot imagine the performance on databases being good.

comment 8y ago · link · parent

User namespaces can already get you this, but this is an added layer of defence in case their are exploitable kernel vulnerabilities that could allow an attacker to break out of a container. With this runtime if you break out of the container you are in an isolated kernel. As others have pointed out though this is basically just a stripped down UML, so the performance is likely not great. Though in contexts where security is at a premium (compliance contexts for the healthcare and finance industries) it might be worth the cost.

comment 8y ago · link · parent

With about the same cost of living. I don’t think he was referencing those cities when he said “Nowhereville”.

comment 8y ago · link · parent

I disagree. First of all I don’t think any organization, including the Census Bereau, Pew, Gallup, et al have some kind of official definition of what “middle class” is. Second, by and large most Americans seem to identify themselves as being Middle class+. I think Middle Class is strongly associated with the American dream, and typically benefits like a vacation once a year, retirement, a home, and sending your kids to College are all mentioned as being a package deal of being Middle class.

I think the biggest 2 things that have happened that requires people to have a lot more money to be part of this “dream” is the complete dissapearance of the Pension and the dramatic increase in the cost of College tuition (in the 60s-90s, sending your kid to College meant supporting them a few more years, tuition wasn’t even really a factor). The Pension being lost is a double hit, because you lost the guaranteed retirement safety net, and you have to now save a huge portion of your own paycheck to make up the difference.

+http://news.gallup.com/poll/212660/middle-class-identificati...

comment 8y ago · link · parent

I think all the hype around block chain is hilarious for the very simple reason that block chain can’t actually solve any business problem that a centrally managed service couldn’t solve (with less effort likely).

The only thing block chain adds to any problem is when you don’t want a managed good or service to be under central authority or if it can’t be under a central authority (the later situation is probably more interesting). Crypto currencies make some sense (though I like my currency backed by the full faith and credit of a government, personally). However every other situation I hear of I wonder why someone couldn’t just manage a central service. Chain of trust on crates of produce? Supply chain professionals have solved the problem of authenticating sourcing of goods quite a long time ago (especially when laws required them too). Personally I think the one benefit that people don’t talk enough about is cases where the block chain can provide its users perfect forward secrecy on their transactions against the ledger, though again you don’t really need the block chain to do that.

comment 8y ago · link · parent

Anyone who responds to this article by saying their particular house was a good investment didn’t read the article.
1
111213
34