Skip to content

v7.1.5

Choose a tag to compare

@OSXBasedAnon OSXBasedAnon released this 18 Jan 18:25
· 634 commits to main since this release
3e928ba

Enhanced Peer Discovery with STUN and Prioritized Scanning

This update significantly improves peer discovery, especially for users behind NATs and firewalls.

Key Improvements:

  • STUN Integration: Now uses STUN to discover external IP addresses, enabling connections with peers on the wider internet.
  • Prioritized Scanning: Prioritizes scanning local and nearby networks (based on STUN results) for faster discovery.
  • Common ISP Range Scanning: Includes scanning of common residential and ISP IP ranges to enhance basic discovery, even if STUN fails.
  • TCP Socket Configuration: Configures TCP sockets for improved connection performance (e.g., TCP_NODELAY).
  • Peer Information Exchange: Exchanges peer lists with connected nodes to discover even more peers.

Benefits:

  • More Reliable NAT Traversal: Significantly improves connections for users behind NATs.
  • Faster Discovery: Prioritized scanning finds peers more quickly.
  • Broader Reach: STUN and wider range scanning increase the number of discoverable peers.

This update makes peer discovery more robust, efficient, and suitable for real-world network conditions.