Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@libp2p/mdns): do not send TXT records that are too long #2014

Merged
merged 3 commits into from
Sep 1, 2023

Commits on Sep 1, 2023

  1. fix(@libp2p/mdns): do not send TXT records that are too long

    The data field of mDNS TXT records has a hard limit of 255 characters
    - some multiaddrs can be longer than this so filter them out before
    sending.
    
    We should also only be sending link-local, non-loopback addresses in
    mDNS responses so filter those out too.
    achingbrain committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    4d255c1 View commit details
    Browse the repository at this point in the history
  2. chore: fix deps

    achingbrain committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    9e7095a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    121d6d4 View commit details
    Browse the repository at this point in the history