-
Notifications
You must be signed in to change notification settings - Fork 505
Closed
Labels
kind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Description
mDNS peer discovery works by making a broadcast query for _p2p._udp.local services. Peers respond with their multiaddrs.
The number of multiaddrs a peer has affects the size of the UDP message being sent as the mDNS response.
Once this message hits a certain size the multicast-dns module fails to decode the message. The message size this occurs at is well under the maximum size for a mDNS response message - turns out there's a hard length limit for mDNS TXT answers and certain addresses such as circuit relay over WebTransport can exceed this limit and cause parsing failures.
Metadata
Metadata
Assignees
Labels
kind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)need/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization