Live data from Hacker News

Ask HN: If the Internet were redesigned today, what changes would you make?

news.ycombinator.com

291–300 of 327 posts

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#291
post #128

The "browser" is a blank execution sandbox with a rendering context. The remote server sends programs (using something like WASM) with a standardized ABI. The program can use the rendering context to put stuff on the screen or receive user input. Indexing and page interoperability is done by exposing standard functions which yield the necessary metadata. For example, if you want your site to be indexable by a search…

There are just so many ways that this won't work or will make things so much worse and nothing interoperable, I can't even begin to.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#292

Earlier quoted context omitted.

The router on the OP's network was probably just being a router. No fancy NAT junk, and probably no ACLs / fireballing. It was pretty common to have something like a T1 circuit, a CSU/DSU that connected to the T1 and presented a serial connection, and a PPP or SDLC connection to your upstream ISP over that serial connection. The router's Ethernet interface is connected to your switch (or hub) and all the hosts have I…

I see. An ISP subnet isn't really the same as a public IP though?

Back in the 90s your ISP would have given you a subnet of public IPs to use. I have a Customer w/ a T1 that they've had since the late 90s with the same /26 of public addresses on it the whole time.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#293

DNS itself is certainly problematic. Incorporating a time dimension to domains, such that it's explicitly recognised, and greatly restricting transfers, would be one element. Ownership of domains should sit with the registrant, not the registrar. Characterspace should be explicitly restricted to 7-byte ASCII to avoid homoglyph attacks. It's not a shrine to cultural affirmation, it's a globally-utilised indexing syste…

OLpC kind of dream?

Sorry?

(One Laptop Per Child I underststand. Not its relationship to my comments.)

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#294
post #24

identity as a core layer. having been in the wrong end of a large service that was relentlessly attacked and spam. i understand the value of anonymity but it probably should not have been the default.

While I deeply disagree (go look at Facebook and tell me with a straight face that a real name policy fixes spam), I truly appreciate you actually saying that under your real name; the number of times I've seen anonymous posters arguing against anonymity...

i guess what i really want is idempotency of identity. i don’t need people’s real identities, i just need them to not make millions of accounts and spam with them.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#295

Earlier quoted context omitted.

That's sort of how Resource Public Key Infrastructure works for bgp. The big question is - do you trust your isp for that. Of potential attackers who can eavesdrop on my connection, isp (or someone at isp or gov giving isp a warrant) seems pretty high on the list.

It isn't end-to-end encryption if you have to trust someone in the middle. Right?

Well usually the term end-end means from you directly to the user you are talking to (if its in a chat context for example). TLS (in its normal usage) isn't end to end, putting encryption in a lower layer makes it even less likely to be end to end.

In end to end encryption, preventing mitm attacks is the hardest part and often is glossed over. How many people actually verify the "safety number" when using signal? Probably most do not.

So i would say common definitions of end to end allows for trusting someone in the middle to not perform active attacks (after all, you also have to trust them not to provide malicious binaries with keyloggers) but should prevent passive attacks by someone in middle.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#296

I would switch DNS to a pure tree and add discoverability as also locality-aspects. By which I mean, put the TLD at the front, not xyz.com, but /com/xyz. And in the first levels you would automatically get a listing of all valid entries back. Similar I would add local entries, like postal codes and states. So people could do something like /usa/texas/ and get a list of all cities, or /usa/postalcode/90210/ and you wo…

> So people could do something like /usa/texas/ and get a list of all cities, or /usa/postalcode/90210/ and you would get a list of all companies and websites in the area.

This could be done for those specific examples with cTLDs, since sites can be hosted on root domains. So your example would be us/texas/ and us/postalcode/90210/.

I've thought about this too and with the increasing digitization of governments and government services this would be a nice way to add a discoverability.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#297

Earlier quoted context omitted.

Technically there's no reason that there couldn't be an automatic PKI over the entire IP space, in which routers and ISPs are CAs. It never happened because the IP world sees crypto as an app-layer problem, but it doesn't have to be that way. The protocols could be encrypted by default - all that's needed are protocols to let a device communicate to the router what its chosen public key is, and for that to communicat…

That's sort of how Resource Public Key Infrastructure works for bgp. The big question is - do you trust your isp for that. Of potential attackers who can eavesdrop on my connection, isp (or someone at isp or gov giving isp a warrant) seems pretty high on the list.

The ISP would still be untrusted. They're just running a database/discovery service for your public key.

Now you might say, what stops them announcing the wrong public key to the world, and then decrypting/re-encrypting a connection when it flows inbound to that IP across its wires. And the answer is the same as with TLS/SSL: not much, so you have to do lots of double checking and pinning.

Recall that nothing in today's internet really rigorously stops an ISP obtaining a certificate for a website it hosts, or even one that it doesn't! A CA like LetsEncrypt will automatically probe an IP from several vantage points as part of validating a domain->IP mapping but that process can be triggered at any point, and the vantage points can be easily discovered. So an ISP that can 'catch' all the vantage points, can just redirect IP traffic from the CA to its own server to obtain a cert, and then MITM traffic heading towards a website. It's the same problem when doing it at the IP level.

However, there is still a lot of value because you can get public keys in a variety of ways. For instance you could try to connect to yourself back via Tor, or a variety of other services, to verify that your public key the rest of the internet sees is what you think it is.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#298

Earlier quoted context omitted.

That's sort of how Resource Public Key Infrastructure works for bgp. The big question is - do you trust your isp for that. Of potential attackers who can eavesdrop on my connection, isp (or someone at isp or gov giving isp a warrant) seems pretty high on the list.

The ISP would still be untrusted. They're just running a database/discovery service for your public key. Now you might say, what stops them announcing the wrong public key to the world, and then decrypting/re-encrypting a connection when it flows inbound to that IP across its wires. And the answer is the same as with TLS/SSL: not much, so you have to do lots of double checking and pinning. Recall that nothing in toda…

I disagree, incentives would be very different imo.

> Now you might say, what stops them announcing the wrong public key to the world, and then decrypting/re-encrypting a connection when it flows inbound to that IP across its wires. And the answer is the same as with TLS/SSL: not much, so you have to do lots of double checking and pinning.

in WebPKI:

- CA's have struct rules (CAB and individual browser vendors) and have to go through audits to verify they follow them (how much an audit is worth is debatable)

- certificate transparency ensures that CA's can't misbehave without being detected, which if they do, they get kicked out as a CA.

If an isp misbehaves in this scenario, how do we punish them? Can we kick them out of the internet? Seems unlikely. If a CA refues to do something, we can kick them out.

> and pinning

I personally think pinning is generally a bad solution to pki problems, but for the sake of argument: how do you do pinning (or even something simpler like TOFU) with only a transient identifier like a dynamic IP address? What do you pin to?

Its even worse if you still want to support NAT.

> A CA like LetsEncrypt will automatically probe an IP from several vantage points as part of validating a domain->IP mapping but that process can be triggered at any point, and the vantage points can be easily discovered. So an ISP that can 'catch' all the vantage points, can just redirect IP traffic from the CA to its own server to obtain a cert, and then MITM traffic heading towards a website. It's the same problem when doing it at the IP level.

Which can be immediately noticeable via certificate transparency. More to the point, there is no single attacker who is on path for all of lets encrypt's vantage points (and you don't have a relationship with any of lets encrypt's isps so they are less likely to care about you), which wouldn't be true for this new scheme. I guess you could argue that the web host in the webpki case (when not using dns validation) is the most likely point of attack, but they could just attack directly since they own the hardware.

> However, there is still a lot of value because you can get public keys in a variety of ways. For instance you could try to connect to yourself back via Tor, or a variety of other services, to verify that your public key the rest of the internet sees is what you think it is.

Its easy to come by lists of public proxies. Tor itself publishes a list of all ips participating in the tor network.

Ultimately the biggest problem is enforcement incentives. Much of the security of web pki relies on being able to detect and punish misbehaving CA's (of which there are only a small number of). I don't see a politically viable way of doing that for ISPs.

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#299

Earlier quoted context omitted.

> You can host more than one domain per ip. Yes, but some things become tricky: - SMTP reputation is related with reverse DNS of your public IP - reverse-proxying TLS-encrypted trafic relies on SNI headers, which not all protocols implement - some protocols entirely don't have a virtualhost (domain) notion, like gopher or SSH Overall, it's not so easy and simple. Sure i don't care that IoT devices don't have public a…

I was doing public, student radio in the 1980s. Cost nothing but time and effort to do the work. We had a huge audience without advertising or gov't interference. The yearly fund raiser and student union sufficed. Community.

That's cool! How did you get a license to use a specific bandwidth though? Was it easier back then?

Re: Ask HN: If the Internet were redesigned today, what changes would you make?

#300

Earlier quoted context omitted.

> You can host more than one domain per ip. Yes, but some things become tricky: - SMTP reputation is related with reverse DNS of your public IP - reverse-proxying TLS-encrypted trafic relies on SNI headers, which not all protocols implement - some protocols entirely don't have a virtualhost (domain) notion, like gopher or SSH Overall, it's not so easy and simple. Sure i don't care that IoT devices don't have public a…

You are right that anyone having its own IP address would mean less censorship. But also those IPs should be available without an entity having to assign. And not only that but we would also need a free DNS system so you can't be denied host resolving. And the domain names shouldn't be controlled by someone entity because you can be denied having one or the issuer can withdraw you domain. Most censorship I've seen wa…

You may be interested to check out the GNU Name System. It seems to address the points you mention here, because delegation is ensured via public key (not IP).
Post reply on HN