Skip to content

feat: add a protocol to try connecting peers behind firewalls or NAT routers #4766

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

chaoticlonghair
Copy link
Contributor

What problem does this PR solve?

Add a protocol to try connecting peers behind firewalls or NAT routers.

What is changed and how it works?

To be continued ...

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Side effects

  • Performance regression
  • Breaking backward compatibility

Release note

Title Only: Include only the PR title in the release note.

@chaoticlonghair chaoticlonghair requested a review from a team as a code owner January 3, 2025 02:05
@chaoticlonghair chaoticlonghair requested review from quake and removed request for a team January 3, 2025 02:05
.support_protocols
.contains(&SupportProtocol::Penetration)
{
let feeler_meta = SupportProtocols::Penetration.build_meta_with_service_handle({
Copy link
Collaborator

Choose a reason for hiding this comment

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

  1. name typo, it should penetration_meta
  2. build_meta_with_service_handle is not set compress to protocol. does this protocol need to be compressed?

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.

3 participants