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
Right.
If UDP had been meant for ULPs then it too would have been blocked by middleboxes. It's only because UDP has port numbers that middleboxes don't just filter UDP out: the vendors all built filters the customer can set that filter on port number because DNS and such meant they couldn't just filter out UDP. Plus it was easy to build a filter for UDP and 'hard' to build a filter for an 8-bit ULP number in IP (smh).
Replies (1)
* The protocol can't easily be programmed from userland on mainstream operating systems.
* Most middleboxes (as opposed to "some" middleboxes, which is also a huge problem) will drop those packets.
In exchange, you win... nothing.
The engineering decision here seems straightforward. Like you could see this being a more spicy debate if SCTP had mainstream use cases? But it's nowhere; it's like frame relay, a cursed protocol you have to know about if you work in a cursed industry.
The comparison to QUIC is instructive.
Replies (1)
As to why not just give up and always use UDP, one reason is that the UDP port numbers complicate the picture, at least for ULPs that were designed to run over IP. Another is that UDP does add a bit of overhead, and, sure, as time passes the cost of that overhead gets smaller, so this one may be asymptotically irrelevant. A third reason is that IP was designed to have more ULPs, so let us have that, dammit :) Now, the matter of the difficulty of implementing ULPs-over-IP in user-land, that could be made a lot simpler if we had a shim ULP with a tiny header for the purpose of allowing a modicum of multiplexing, but even without that people do have user-space TCP and what not running over NICs that are delegated to user-spaces processes, and the difficulty of implementing such things is also asymptotically irrelevant in the age of AI.
Replies (1)
Replies (1)
If they can vary then discovery is made more complex. If you fix the port number then discovery is not made more complex, but you lose the multiplexing you advertised as a feature earlier.
We're broadly in agreement except that you don't care to tell middlebox engineers to cut the shit, and I do. That's basically the only daylight between us here, I think. Fighting every little point serves to obscure my message to middlebox engineers.
Replies (1)
That's what every protocol already does! That's what a URL is, or a channel identifier, or a path, or a session identifier. The worst protocols in the world are the ones that use UDP/TCP port numbers directly as a multi-application multiplexing ID.
Continue this thread (1 replies) →