Skip to content

Conversation

@umgefahren
Copy link
Contributor

@umgefahren umgefahren commented Aug 4, 2024

Description

On Apple platforms the tests regarding IPv6 and mDNS always fail. This is because the system service mdnsresponder uses that port. To check that it's running run:

sudo lsof -i :5353

mDNSResponder is integral to the Apple platform since it powers services like AirPlay; disabling it will impact user experience.

For more information on mDNSResponder (it's Open Source): https://github.com/apple-oss-distributions/mDNSResponder

The PR ignores the tests on affected platforms and displays a more helpful error message on the same platforms.

Notes & open questions

The actual correct fix would be to use the designated Apple C APIs to register the services there. The entrypoint is CFNetService.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant