Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 4y ago · link · parent

No

comment 4y ago · link · parent

The ISP could just block the IP address (they're an ISP, they can just figure it out), or inspect he presented certificate.

comment 4y ago · link · parent

If you were using Google DNS already this changes nothing. If you aren't using Google DNS, continue to do so.

comment 4y ago · link · parent

Yes, based on your other comment it sounds like you're concerned about "smart" devices like TVs that are on the internet. It's unfortunate that those devices lock you out but that's kinda on those devices.

comment 4y ago · link · parent

It doesn't make DNS based ad filtering impossible unless you're doing that at the router level. You can still do it locally (like via hosts file) or via the DNS resolver itself.

comment 4y ago · link · parent

Awesome. I actually started writing notes for something like this the other day. Will read asap :)

edit: Glad to see hashers at the top. This is one of the easiest wins you can get and it can be pretty significant.

I see some stuff that could be added. `dyn` vs static dispatch, for example. Do I just open an issue somewhere?

edit: Created issues.

comment 4y ago · link · parent

Weird point, I don't really get it.

comment 4y ago · link · parent

Not really sure what your point is. I did read the article. I didn't comment on TikTok, which would be legally required (and I am sure compliant, although they deny that in the article) to hand data over to the Chinese government. I commented on Twitter, which was hacked by amateurs, and absolutely could have been considerably harder as a target.

comment 4y ago · link · parent

> I don't think any brokers are selling "execute code on 10s of millions of US citizens' phones" t

comment 4y ago · link · parent

It's not irrelevant to the FCC, a United States federal organization. I don't think any brokers are selling "execute code on 10s of millions of US citizens' phones" to foreign entities, and if they were I suspect the FCC would have something to say about it.

comment 4y ago · link · parent

It doesn't have to be extremely easy, and it isn't extremely easy at every company. Twitter's security was bad, worse than it should have been for their size/ data footprint.

I do agree that data collection is at the core of the problem, but Twitter really should have done a better job.

comment 4y ago · link · parent

I've just never "gotten into" them. Like is there a site I can just use? I don't really like apps I guess, but I'm open to using one.

comment 4y ago · link · parent

It's been that way for years, as long as I can remember probably. But I still watch Youtube for probably ~50% of my content. I'd probably like podcasts but I never know how to play them. I just want educational content and, to my knowledge, Youtube has the best collection. I like hearing an expert in a field talk about a subject. Even Khan Academy has their content up on Youtube.

I signed up for Nebula and I barely use it. It's poorly curated, there's seemingly no recommendations so I'm just in a wash of content with no direction.

I think that it's probably worse the more you use it. The more I subscribe the more garbage I get recommended I think. I watched the raw footage of some of the Heard v Depp trial (as in - uncut, direct footage) and I don't know if my algorithmic output will ever recover - the shit I get recommended now is of zero interest to me. Similarly, I looked up a few 'how tos' for some games, and now I get tons of 'gamer' content. The other day Youtube recommended Ben Shapiro to me lol

But that's just the main page. If I'm already on a good video the sidebar recommendations are decent.

If there's something better please let me know, I hate Youtube as a construct and I think that the monetization of horribly low content is damaging in ways I can't even predict, but also I gotsta have my "expert on topic talks to me about interesting thing" content.

comment 4y ago · link · parent

Advocating for a VPN or not isn't relevant. ZeroTrust isn't "no vpns". You can do ZeroTrust and have a VPN. ZTN is more about what you do than what you don't do, despite the name.

1. Clients authenticate servers

2. Servers authenticate clients

3. Communications are encrypted and auditable

4. Fine grained authorization using available context like device health

You could have employees hold a client cert, connect to a VPN, have the VPN attest the employee's state, and then provide them access to a subnet. From that subnet they can continue talking to other services that also perform authn/authz. The VPN doesn't make it "less" zero trust, it's just that the traditional VPN model is one where it's the single point of auth.

comment 4y ago · link · parent

In theory you could maybe use this to kill some endpoint agent used for security monitoring in a way that, if someone were to go investigate the crash, maybe they wouldn't immediately think "oh shit, someone killed it".

Attackers do kill those agents, absolutely, but you'd have to be root to kill the agent with this method (and ideally any method), at which point endpoint instrumentation and forensic artifacts are unreliable anyway. Any logs that someone were looking at that said "attacker killed me" could just be deleted/ rewritten. The attacker could even rewrite them on the fly and ship them off the box so you're none the wiser :)

comment 4y ago · link · parent

I wouldn't call sshd a broker, at least, it's not exclusively one.

comment 4y ago · link · parent

The bypass is so significant that I kind of wouldn't bother. To me I think that it's probably best to just assume that this tpe of sandboxing is not capable of resisting an attacker with code execution, which is fine. It could instead be for things like path traversal attacks in web servers, or other design flaws that would allow "tricking" the application into performing actions you don't want.

I mean it's probably a good idea to close the trivial version of the bypass by disallowing setting exec on files (although you need to check the path because you may want to set it on a directory), but if you can execute `chmod`, write to the i-node directly, write to any other executable, write to your own executable, etc, that's just a full bypass.

comment 4y ago · link · parent

Some obvious context from an outsider:

1. It's designed to run on Fuschia, not Linux

2. Go FFI is very inefficient, you can't just "extend" a Go project with native bindings and get the same performance wins

3. Hopefully the gvisor team learned the obvious lesson that Go is not suitable for this kind of work

comment 4y ago · link · parent

Or they have context that helped them decide to do something this way?

comment 4y ago · link · parent

No, you get !Send futures.

comment 4y ago · link · parent

Rust does not require you to know how async works under the hood.

Javascript async doing things automatically has been infinitely more confusing for me, frankly. Async rust isn't hard, rust isn't hard - not for a lot of people at least.

I don't know what gritty details you're referring to, you need to know the same rules you always know - move semantics, some concept of lifetimes maybe. Move of the time it's "add a `move` and clone before the async block".

comment 4y ago · link · parent

You can have ZTN with a VPN and you can have a perimeter with ZTN. What you can't have is trust based on network position. So I think Zero Trust is fine.

It's a marketing term ultimately and any practitioner should be able to understand what it means. If they don't it's kinda on them.

comment 4y ago · link · parent

Or maybe not?

comment 4y ago · link · parent

Bummer

comment 4y ago · link · parent

https://gvisor.dev/docs/architecture_guide/performance/

https://gvisor.dev/docs/architecture_guide/performance/#netw...

Network performance in gvisor is awful and, by gvisor's own documentation, this is a matter of "implementation costs" ie: it is how gvisor is written, not gvisor's fundamental constructs, that makes it slow.

The rest of the benchmarks are notable as well, there are a few other places where the implementation is called out as being a problem.

comment 4y ago · link · parent

gvisor performance is terrible and rewriting it in Rust gives me hope that I can finally use it

comment 4y ago · link · parent

Even with Google Translate I can't read it because it's paywalled. But the first paragraph reads something like:

"The Data Protection Authority has banned the use of Workspace - the applications on the Chromebook - because students' data may be disclosed to US authorities"

Wouldn't that be the case with all US hosted services?

comment 4y ago · link · parent

You can package the broker yourself and launch it before you pledge.

Keep in mind that if you can:

1. write to a file 2. Make that file executable (or write to an already-executable file, or an executable that provides scripting/ code exec natively)

And you have the `exec` capability, the sandbox is trivial to bypass in the face of code execution in the pledge'd process.

comment 4y ago · link · parent

Of course, but if you've pledged away exec inheritance is obviously not a problem at all.

comment 4y ago · link · parent

All that's required to emulate "no inheritance" is a broker.
1
353637
164