Skip to content

Conversation

asmit27rai
Copy link

Fixes: #733

  • Implement DCUtR protocol for hole punching coordination
  • Add basic example demonstrating hole punching
  • Include initial test suite
  • Add documentation

- Implement DCUtR protocol for hole punching coordination
- Add basic example demonstrating hole punching
- Include initial test suite
- Add documentation
@seetadev
Copy link
Contributor

@asmit27rai : Hi Asmit. Hole punching is already there and well merged: #668

Your task was interop between py-libp2p and go-libp2p in reference to hole punching and not adding support for hole punching.

Please catch up with @acul71 (Luca) and @Winter-Soren (Soham) on this front. Appreciate it.

- Implement DCUtR (Direct Connection Upgrade through Relay) protocol
- Add hole punching examples and comprehensive tests
- Update imports to use existing dcutr_pb2 instead of duplicate protobuf
- Fix asyncio/trio compatibility issues in examples and tests
- Enable full parallel test execution (762 tests)
- Remove duplicate protobuf definitions to prevent symbol conflicts

All tests pass and hole punching functionality is fully integrated.
@acul71
Copy link
Contributor

acul71 commented Sep 15, 2025

@asmit27rai
I've been trying to resolve issues here: asmit27rai#1
Not perfect but you can review and merge if you like it.

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.

Hole Punching Interop Tests for py-libp2p with other libp2p modules
3 participants