Better HN
topnewbestaskshowjobs
Log inSign up

vlovich123

16,895 karma · joined Jan 16, 2018 (8y ago) · 7,415 submissions

vlovich @ whatever
Submissions

comment 28m ago · link · parent

> So? It is not like you need to reserve the entire initial receiver window worth of memory upfront. You can just allocate the amount of resources directly in proportion to the amount of data received.

It’s called a slow loris attack. I send you all but the last packet and then wait so you’re at your worst case, forcing you to keep the maximal amount of memory around. I can also send packets out of order intentionally so you’re stuck holding them in kernel buffers and can’t process.

comment 9h ago · link · parent

HRR is heloretryrequest - it tries to send a cheap ClientHello that fits in a single packet by either sending classical X25519 (uncommon) or the PQC share without the classical (what browsers do today). In the former, servers that prefer PQC require a new round trip. In the latter endpoints that only support classical require an extra round trip. Since PQC isn't deployed everywhere but the browsers have changed the default, the internet has actually gotten slower across the board.

I think you're overly optimistic in presuming a client knows the one-way latency to the endpoint or vice-versa. I don't know anyone doing that and whatever value you choose is going to be wrong unless you bring to bear additional side channel information to try to minimize the error rate.

> so all you are actually saying is that you previously sent M bytes in a connection, but now you send M + N bytes in a connection and that takes more time and incurs more potential for loss which is true, but not special

Actually, initial connection is more privileged. It reserves resources on the server that are needed to move forward with the connection. QUIC's normal data stream is very resilient to packet loss where unimpacted ordered streams can continue transmission. That isn't true for the connection establishment.

All your responses also completely disregard the memory impact which is the second half the size of the connection packet is relevant. You don't need any of the complexity you specified. You can just raise the IRW without any of what you just mentioned. The problem is that I can exhaust the RAM of your server with orders of magnitude fewer connections now.

comment 12h ago · link · parent

Lattice systems are for PQC not classical afaik.

comment 12h ago · link · parent

Mainly poorly implemented ones but yes. I doubt an attack has been discovered against proper implementations unless they’ve found that current implementations aren’t good enough in some way. Then that would be very bad but Aaronson suggested it’s not a world on fire moment.

comment 12h ago · link · parent

Extra round trips are a physics problem - you can’t fight physics and the speed of light.

1. The handshake doesn’t fit into a single IP packet always requiring fragmentation (even if you use jumbo frames middleware will fragment it).

2. Even with rfc6928, the handshake with a multi-cert PQC chain exceeds the initial window and requires an extra full RTT before it completes. The initial congestion window is existed and there’s nothing to do there aside from trying to increase it which is challenging for a lot of reasons. So TCP is negatively impacted by a lot and TCP is generally preferred within the cloud.

3. HRR which tries to bypass the size instead can fail resulting in an additional RTT (now we’re at 2)

4. QUIC isn’t immune to this and the size of PQC exceeds the amount of data it can use to establish the connection. Indeed in some ways it can be even more susceptible because now even clienthello doesn’t fit into a single packet meaning there’s a greater opportunity for issuer loss to hit the initial connection attempt.

So you’re incorrect this doesn’t impact QUIC and your indirect this is a result of an obsolete design - there are very very good reasons to want the initial connection to fit into a single packet. Indeed, even if you just increase the size of that initial window to try to keep everything into 1 RTT you’re now amplifying the memory requirement for a connection attempt by 10x. It’s nothing when you only handle a few connections, but that’s because you’re not considering what happens to a heavily loaded server or a server having to manage a DDOS attack.

My problem is that PQC is a non trivial negative impact on everyone if QCs aren’t ever going to be able to crack classical keys. Doubly so if PQC algorithms are just straight up weak to classical methods.

comment 13h ago · link · parent

It depends how you’re defining lower and higher level but I think we’re saving the same thing. In my terminology a lower level system is the lower level abstraction - it is something higher level abstractions are built on. Chemistry is above physics because physics can model chemistry but chemistry can’t model physics.

I think you’re defining it by the order of systems that can be represented by it which is a little different terminology than I’ve seen used, at least in common parlance.

comment 15h ago · link · parent

Sure, but “I don’t need it” isn’t the bar and features that aren’t paid for when not used are great since they stretch the language in an orthogonal direction that doesn’t represent any tradeoffs for anyone else

comment 1d ago · link · parent

What you’re describing if very different than adding latency to the literal connection establishment. The former is solvable through faster internet and goes away as a problem or you can compress or otherwise optimize the size. The latter is a physics light speed problem that’s not solvable other than removing round trips and happens on every connection so you can’t even parallelize your way out of trouble and compression isn’t relevant.

It’s a take that suggests you don’t understand the shape of the problem and why people are concerned about it and conflating it with other concerns that aren’t as relevant.

comment 1d ago · link · parent

> You could also say it that is higher level, no? Mathematics is a subset of reality (physics). It’s physically possible that we have contrived mathematics as humans. Mathematics isn’t a truth of reality, it’s a set of observations + assumptions.

The comment below me got flagged for some reason but it seemed fine and I think worthy of a response. No, you can't claim mathematics is a superset of physics for a few reasons:

1. physics is literally defined by mathematical rules - there's no physics without math. Math without physics still exists. If something in the universe acted outside the rules of mathematics, physics would have to change what it looks like fundamentally and it's hard to think about what that means.

2. if #1 happens but we know math describes physics, then it would be an intersection where there are things that math can describe that can't happen in the universe and things that can happen in physics that math can't describe.

3. It's incorrect to state that math is a result of observations + assumptions. That's physics. Math is a set of axioms from which larger and larger rules of mathematics are defined. Physics happens to obey certain mathematical models.

So at best, math ends up intersecting reality but can't describe all reality but similarly reality probably can't hold all possible mathematical worlds.

The caveat is if everything that math represents ends up being a universe where there's an infinite number of universes - in that case it's possible math is a subset. But math is 100% not a subset of our universe.

comment 1d ago · link · parent

I think P=BQP is also a reach. There is evidence it's purely about lattice and less about classical crypto (Scott Aaronson's comments + the lattice workshop change).

comment 1d ago · link · parent

RSA2048 is 10^9 more bits. You should still be using ECC since it's much more efficient crypto per bit of key material, but I don't think we'll be seeing practical RSA1024 breaks let alone RSA2048 unless a hypothetical QC gets built (which I also am betting against).

comment 1d ago · link · parent

Sure, but you can also strongman my statement and assume that if I'm making a comment like this, I probably understand which part is contributing to the size.

comment 1d ago · link · parent

Math is a lower level discipline than physics. It can represent universes that are not physically possible but are mathematically consistent.

comment 1d ago · link · parent

Of course it would be nice to formally prove, but I think it’s also think it’s more likely P!=NP - it just feels like it would make sense for one-way functions to be possible to exist.

It’s also important to note that P=NP doesn’t imply the algorithm for doing it isn’t a galactic algorithm so crypto might still remain secure albeit on shakier footing where there will be a race to shrink that cost.

If P=BQP we still have a problem for asymmetric encryption (P=NP also breaks symmetric).

Scott Aaronson claims he has specific knowledge that it’s related to cryptanalysis and not an immediate threat. This means you don’t have to handwring.

comment 1d ago · link · parent

I thought that was your point. Apologies.

comment 1d ago · link · parent

You misunderstood my point. It wasn’t that we should keep just PQC but instead drop PQC and keep classical. If the announcement is as expected that PQC is fundamentally flawed, then it adds nothing while having a huge cost.

comment 1d ago · link · parent

Of course there is - you’re trading off efficiency, particularly at a very important part of the connection establishment. Hybrid PQC signatures are large and require extra packets to be sent - they don’t fit into the initial packet connection which is an important optimization that was worked on for a very long time (it requires extra round trips which means latency).

comment 1d ago · link · parent

Just so we understand the scale it’s ~5B to build a data center to host those GPUs + 10s of millions per day in opex. For 1024 which was deprecated in 2013. It seems like an insane amount of money for cracking key sizes that shouldn’t even be in use and aren’t protecting anything valuable. At this rate, 2048 is impossible to crack. The reason 2048 was recommended against is that crypto people are worried about advances in cryptanalysis attacks - those haven’t actually materialized. You should still use EC because it’s more efficient per bit but I doubt RSA4096 will ever fall.

comment 1d ago · link · parent

There’s follow up posts on twitter as well as https://news.ycombinator.com/item?id=50683945#50692995 which tracks that the discussion about Anthropic results was for a lattice discussion which is PQC not classical. The only ones claiming anything about RSA have not provided any evidence why it would be RSA and seems like people just getting excited without proof (or maybe hoping a proof of P=NP).

comment 1d ago · link · parent

It’s unlikely to be an RSA break but something to do with crypto

comment 1d ago · link · parent

People seem to fundamentally misunderstand what the number represents. RSA1024 despite only being 14% larger requires 30x the amount of compute. RSA2048 works require 10^9 more compute.

Without algorithmic breaks you’re not going to do anything interesting. The recommendation for a long time by the way is to use RSA4096.

To this day I don’t understand the hubbub about it except as h just another milestone to tell you not to use RSA1024. Even still you’d need >60k of cutting edge GPUs to do this or between 1.5-2.5B just to crack keys that haven’t been supposed to be in use since 2013.

Cognition and Anthropic’s record results for largest key cracked aren’t a serious attack on RSA.

comment 1d ago · link · parent

I’m not a crypto expert but the math behind conventional crypto is unlikely to be overturned just because “AI”. To do that you’d have to either invent a new classical break or completely upend mathematics. Both are rather unlikely. Quantum cryptography (which is what the rumor is) is comparatively much newer and more complicated. Thankfully no one has been silly enough to roll it out to replace classical but instead require both. However, if that is the case we’re all paying meaningful performance penalties for algorithms that might be fundamentally flawed.

comment 1d ago · link · parent

If I'm understanding the thread, the problems are in the quantum cryptography algorithms, not in the classical cryptography. That is a much milder problem IMHO - I remain convinced quantum breaking of classical cryptography is very very far away if it'll ever be possible and have maintained the position for a while that quantum cryptography is too new and unproven to be relied upon.

comment 2d ago · link · parent

The problem with your reasoning is that my usage is billed against the model I select. So not only is a worse model being used, it’s also intentionally charging me tokens for work it never intends to complete successfully. That sounds like fraud

comment 2d ago · link · parent

I suspect the issue is less support and more that people could use an emulated version of Gmail workspaces by combining with cloudflare’s email service.

comment 2d ago · link · parent

That’s a property AI does too so I’m not sure that’s a valid counter. You lose this property in practice due to batching but that’s also true with a real postgres database under concurrent load where you can’t control the ordering of reading from the prng.

comment 2d ago · link · parent

I think the position you’ve taken isn’t one you’re genuinely willing to reconsider but I’ll entertain it anyway:

First this comment:

> but this blast radius is still sanboxed to the networked computers it has access too..

So literally every computer connected to the Internet. Often even those behind private networks since people like to use LLMs to automate their menial tasks under their own credentials.

I suspect you’ll follow up with “but who cares computers aren’t important - people can survive without them just fine”. The problem is everything is digitized - the entire financial industry is computerized and networked. Is crashing the stock market or moving digital money around inconsequential? What if AI creates a digital persona and pays a hitman to kill someone inconvenient? Does that start to “become real” for you?

Can AI do this today? No it generally doesn’t have sufficient agency to try this yet. But four years ago people were laughing at arithmetic challenges and now it’s cracking math problems humans haven’t been able to in decades and centuries. It seems myopic here to underestimate how quickly capabilities can advance.

The people taking in 10s of millions a year are a) getting it in stock grants b) putting in the work over many years to actually work on these systems. It sounds more like you’re probably not taking the capabilities of the system seriously enough. There was a news report how major US networks are under attack by tooling that’s AI enhanced that can execute attacks drastically faster than humans did conventionally. To me that sounds like a real world impact.

That the LLM is just predicting tokens as the last step in the layer doesn’t mean the internal state isn’t some form of thought - it’s complex multidimensional matrices so reducing it to token prediction is a lame take that’s stale at this point.

comment 2d ago · link · parent

Why would it result in a DMCA?

comment 2d ago · link · parent

Public knowledge is not a defense against fraud. I think this conceivably could spiral into a class action at some point and it’ll be precedent setting I suspect.

comment 2d ago · link · parent

You’re incorrect, that isn’t our only option. It was the cheapest and fastest option that NASA chose because that was its criteria. It’s fully capable of adding explosives and using nuclear bombs but it’s probably wiser to make sure your math is correct on a simpler case first. It’s also capable of building a giant mirror to ablate the surface of an asteroid. This is a more expensive option but still feasible. Solar sails and solar electric motors are trickier as we haven’t done remote “heavy” industry before in space, but technically it’s not a huge sci fi leap - just expensive engineering.

> since we still now so little about the composition of them and how they react to things being thrown at them

Correct. But better information and prediction isn’t sci fi improvements. Just normal engineering progress.

> In DART alone, the jet of dust from the impact contributed like 3-4 times to changing Dimorphos' speed than if there had been no such thing.

This was actually expected ahead of time. Not sure what your point here is.

> It is another thing to maneuver a solid object weighting a few hundred kilograms at most and another to maneuver a rubble pile weighing millions of tons.

Yes it is, but it’s still not sci fi advancement. Just iteration and practice. The targeting IMO is much harder but with sustained propulsion doing this it’s probably easier than trying to do it via impulse bursts.

You’re arguing it’s difficult and I agree. Where I disagree is that I don’t see the “sci fi” here. It’s just expensive and requires us doing this repeatedly. The latter will get solved by the former getting cheaper and it’s projected that launch costs are already going to drop by a few orders of magnitude by 2030.

12345
248