A portable SCTP userland stack (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
It's such a fun/clever hack that you can run it over UDP as well. It felt the best case for both worlds.
I wrote a little bit about it here[0] I am still hoping to interview one of the protocol authors. It would be cool to hear the motivations, hopes and compromises it took to make it happen.
[0] https://webrtcforthecurious.com/docs/07-data-communication
Replies (2)
Replies (4)
IP is designed to handle more than two data transport protocols. It's such a weird decision that the power that be won't let us use the internet as intended.
Replies (1)
Replies (2)
And just to clarify a potential line of argument, arguing that we have ossification and thus running over UDP is the only practical solution for adoption, while correct, is not a benefit to disallowing other protocols to run directly on top of IP. It is a consequence.
Replies (1)
Arguably, TCP should have been built atop UDP.
The thing to notice is that, apart from the checksum field --- which SCTP has as well, albeit with a different checksum --- UDP doesn't do anything but multiplex. It has no practically no mechanism that IP itself lacks, and vice versa.
Continue this thread (2 replies) →
Replies (1)
You also have to double checksum, that can be disabled with SCTP selectively now!
----
I am just a hobbyist though. I would be curious to hear the take of a big network operator.
Replies (1)
Replies (1)
Replies (1)
Replies (1)
IP has an 8-bit next protocol field. UDP has things other potential ULPs may simply not care about (checksum, port numbers). What Reed wanted UDP for and what his contemporaries wanted it for, and why IP has an 8-bit next protocol number, need not all be in agreement. There have been a fair number of ULPs, including ICMP, TCP, UDP, ESP/AH, UDP-Lite, EGP, IGP, EIGRP, OSPF, DCCP, SCTP, RSVP, PIM, VRRP, HIP, IP-in-IP, etc.
Middleboxes should really stop filtering unknown ULPs. Such filtering is pointless. That UDP exists is not license to filter other ULPs.
Replies (1)
There is no reason for most of those protocols to run directly on top of IP. OSPF would work just as well as a UDP protocol. It's grotesque that PIM even occupies one of the ipproto numbers.
This has nothing to do with what middleboxes should or shouldn't do. I don't like middleboxes either. But that's not the only problem with riding directly on top of IP; it also makes programming much harder, because no mainstream operating system exposes direct-on-IP in a convenient way. Multiplexing turns out to be pretty useful!
Continue this thread (1 replies) →
I can't be the only one who knows it for this exact reason...