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

[trel] require link-local for peer discovered by mDNS #2709

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

jwhui
Copy link
Member

@jwhui jwhui commented Feb 12, 2025

No description provided.

@jwhui jwhui requested a review from abtink February 12, 2025 18:50
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 43.75%. Comparing base (2b41187) to head (09ea22c).
Report is 974 commits behind head on main.

Files with missing lines Patch % Lines
src/trel_dnssd/trel_dnssd.cpp 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2709       +/-   ##
===========================================
- Coverage   55.77%   43.75%   -12.03%     
===========================================
  Files          87      110       +23     
  Lines        6890    13426     +6536     
  Branches        0      957      +957     
===========================================
+ Hits         3843     5874     +2031     
- Misses       3047     7242     +4195     
- Partials        0      310      +310     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@abtink abtink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. 👍

Copy link
Member

@abtink abtink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jwhui jwhui marked this pull request as ready for review February 12, 2025 19:36
@jwhui jwhui closed this Feb 12, 2025
@jwhui jwhui reopened this Feb 12, 2025
@jwhui jwhui marked this pull request as draft February 12, 2025 21:12
@jwhui jwhui marked this pull request as ready for review February 25, 2025 16:12
@EskoDijk
Copy link

EskoDijk commented Mar 3, 2025

@jwhui There could be a TREL peer using a (legacy?) mDNS stack that doesn't include any link-local address in host records if a non-LL address is available, such as Avahi.

Wouldn't this change break TREL with all such "legacy" peers?

@abtink
Copy link
Member

abtink commented Mar 3, 2025

@jwhui There could be a TREL peer using a (legacy?) mDNS stack that doesn't include any link-local address in host records if a non-LL address is available, such as Avahi.

Wouldn't this change break TREL with all such "legacy" peers?

@EskoDijk please check these PRs and issues related to this (which are similar to what you mention above):

I think we should prefer link-local but if there is none then use other addresses.

@jwhui
Copy link
Member Author

jwhui commented Mar 4, 2025

Wouldn't this change break TREL with all such "legacy" peers?

@EskoDijk , given the reported issues with existing "legacy" peers, maybe it is good to avoid connecting to such "legacy" peers.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@jwhui jwhui merged commit b852388 into openthread:main Mar 10, 2025
31 checks passed
@jwhui jwhui deleted the trel branch March 10, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants