News for hackers. Stuff that matters.
Re:Direct Sockets API in Chrome 131 by dboreham on Friday November 01, 2024 @11:54PM (#42023954)
WebRTC depends on some message transport (using http) existing first between peers before the data channel can be established . That's far from equivalent capability to direct sockets.
Re:Direct Sockets API in Chrome 131 by modeless on Saturday November 02, 2024 @12:09AM (#42024007)
Yes, you do need a connection establishment server, but in most cases traffic can flow directly between peers after connection establishment. The reality of the modern internet is even with native sockets many if not most peers will not be able to establish a direct peer-to-peer connection without the involvement of a connection establishment server anyway due to firewalls, NAT, etc. So it's not as big of a downgrade as you might think.
Re:Direct Sockets API in Chrome 131 by huggingmouth on Saturday November 02, 2024 @12:17AM (#42024038)
That changed (ahm.. will change) with ipv6. I was surprised to see that I can reach residential ipv6 lan hosts directly from the server. No firewalls, no nat. This remains true even with abusive isps that only give out /64 blocks.

That said, I agree that peer to peer will never be seemless thanks mostly to said abusive isps.

Re:Direct Sockets API in Chrome 131 by theamk on Saturday November 02, 2024 @01:11AM (#42024198)
I sure hope not, this will bring in a new era for internet worms.

If some ISPs are not currently firewalling all incoming IPv6 connections, it's a major security risk. I hope some security researcher raises boise about that soon, and the firewalls will go closed by default.

Re:Direct Sockets API in Chrome 131 by 1oooqooq on Saturday November 02, 2024 @01:59AM (#42024329)
it kinda of already begun
Re:Direct Sockets API in Chrome 131 by modeless on Saturday November 02, 2024 @02:19AM (#42024402)
Has there been a big ipv6 worm? I thought that the defense against worms was that scanning the address space was impractical due to the large size.
Re:Direct Sockets API in Chrome 131 by 1oooqooq on Saturday November 02, 2024 @08:41AM (#42026049)
i don't think they scan the entire space. but even before that there were ones abusing bonjour/upnp which is what chrome will bring back with this feature.
Re:Direct Sockets API in Chrome 131 by immibis on Saturday November 02, 2024 @05:47AM (#42025219)
My home router seems to have a stateful firewall and so does my cellphone in tethering mode - I don't know whether that one's implemented on the phone (under my control) or the network.

Firewalling goes back in the control of the user in most cases - the other day we on IRC told someone how to unblock port 80 on their home router.

Re:Direct Sockets API in Chrome 131 by kelnos on Saturday November 02, 2024 @02:01AM (#42024336)
> I was surprised to see that I can reach residential ipv6 lan hosts directly from the server. No firewalls, no nat

No NAT, sure, that's great. But no firewalls? That's not great. Lots of misconfigured networks waiting for the right malware to come by...

Re:Direct Sockets API in Chrome 131 by apitman on Saturday November 02, 2024 @01:19AM (#42024220)
IPv6 isn't going to happen. Most people's needs are met by NAT for clients and SNI routing for servers. We ran out of IPv4 addresses years ago. If it was actually a problem it would have happened then. It makes me said for the p2p internet but it's true.
Re:Direct Sockets API in Chrome 131 by justahuman74 on Saturday November 02, 2024 @01:27AM (#42024251)
> If it was actually a problem

It became a problem precisely the moment AWS starting charging for ipv4 addresses.

"IPv4 will cost our company X dollars in 2026, supporting IPv6 by 2026 will cost Y dollars, a Z% saving"

There's now a tangible motivator for various corporate systems to at least support ipv6 everywhere - which was the real ipv6 impediment.

Residential ISP appear to be very capable of moving to v6, there are lots of examples of that happening in their backends, and they've demonstrated already that they're plenty capable of giving end users boxes the just so happen to do ipv6.

Re:Direct Sockets API in Chrome 131 by apitman on Saturday November 02, 2024 @11:07AM (#42026810)
*

1 point by apitman 0 minutes ago | root | parent | next | edit | delete [–]

Yes and setting up a single IPv4 VPS as load balancer with SNI routing in front of IPv6-only instances solves that.

Most people are probably using ELB anyway

Re:Direct Sockets API in Chrome 131 by immibis on Saturday November 02, 2024 @05:43AM (#42025198)
What do you mean not going to happen? It's already happening. It's about 45% of internet packets.
Re:Direct Sockets API in Chrome 131 by paulddraper on Saturday November 02, 2024 @09:44AM (#42026348)
Not happening for 55%.

Try to connect to github.com over IPv6.

Re:Direct Sockets API in Chrome 131 by remram on Saturday November 02, 2024 @10:14AM (#42026512)
It doesn't work now so it's never going to work?
Re:Direct Sockets API in Chrome 131 by apitman on Saturday November 02, 2024 @11:11AM (#42026844)
GitHub might work someday. Wide enough adoption that you can host a service without an IPv4 address will never happen.
Re:Direct Sockets API in Chrome 131 by sroussey on Saturday November 02, 2024 @02:23PM (#42028156)
Honestly, it could be a feature rather than a bug…
Re:Direct Sockets API in Chrome 131 by paulddraper on Saturday November 02, 2024 @03:54PM (#42028812)
If it doesn't work for a website as large as technically forward as GitHub in 2024, the odds are not looking good.
Re:Direct Sockets API in Chrome 131 by immibis on Saturday November 02, 2024 @04:18PM (#42028968)
Yes, that's one of the rare exceptions of a company trying to obsolete itself. It's actually one reason a bunch of people are moving away from Github.
Re:Direct Sockets API in Chrome 131 by apitman on Saturday November 02, 2024 @11:09AM (#42026826)
The sun is about 45% of the way through its life.
Re:Direct Sockets API in Chrome 131 by ElijahLynn on Saturday November 02, 2024 @10:24AM (#42026567)
"We are introducing a new charge for public IPv4 addresses. Effective February 1, 2024 there will be a charge of $0.005 per IP per hour for all public IPv4 addresses"

https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address...

Re:Direct Sockets API in Chrome 131 by apitman on Saturday November 02, 2024 @11:05AM (#42026802)
Yes and setting up a single IPv4 VPS as load balancer with SNI routing in front of IPv6-only instances solves that.

Most people are probably using ELB anyway.

Re:Direct Sockets API in Chrome 131 by lifthrasiir on Saturday November 02, 2024 @12:08AM (#42024003)
Not only that, but DTLS is mandated for any UDP connections.
Re:Direct Sockets API in Chrome 131 by modeless on Saturday November 02, 2024 @01:04AM (#42024175)
Is that a problem? Again, I'm talking about the scenario where you control both sides of the connection, not where you're trying to use UDP to communicate with a third party service.
Re:Direct Sockets API in Chrome 131 by lifthrasiir on Saturday November 02, 2024 @01:47AM (#42024299)
I think all three comments including mine are essentially saying the same but in different viewpoints.