Mauve 👁💜 on Nostr: Hot take, #P2P protocols shouldn't use MDNS for peer discovery if they don't plan to ...
Hot take, #P2P protocols shouldn't use MDNS for peer discovery if they don't plan to use the OS provided APIs for it. Only one process can reliably bind the UDP port necessary for it and it quickly leads to conflicts. At the very least you should use a custom port to avoid conflicting with the OS.
Published at
2024-11-20 21:06:20Event JSON
{
"id": "88bd1cdecd7dec5ceb35e5a4f93acd1b7eb79aeeef9a44e9345cfbd260fd679b",
"pubkey": "ca6770df24e21d6765c41a491f129fadc55ec34219c9ed90e5b18f7714bb0e70",
"created_at": 1732136780,
"kind": 1,
"tags": [
[
"t",
"p2p"
],
[
"proxy",
"https://mastodon.mauve.moe/users/mauve/statuses/113517316035771405",
"activitypub"
]
],
"content": "Hot take, #P2P protocols shouldn't use MDNS for peer discovery if they don't plan to use the OS provided APIs for it. Only one process can reliably bind the UDP port necessary for it and it quickly leads to conflicts. At the very least you should use a custom port to avoid conflicting with the OS.",
"sig": "b5e562e808eff98ae9256e7e7728d117117cee3d508c4eda20f98187fd42ce6c4c97411031f7c5ae12cb47faa59ff6994d7dae536ed15617a6bdbbebbaf36603"
}