p2p/protocol/holepunch/holepuncher library
The holepuncher implementation for the holepunch protocol.
Classes
- AddrFilter
- Address filter for the holepuncher
- HolePuncher
- The holepuncher is run on the peer that's behind a NAT / Firewall. It observes new incoming connections via a relay that it has a reservation with, and initiates the DCUtR protocol with them. It then first tries to establish a direct connection, and if that fails, it initiates a hole punch.
- HolePunchResult
- Result of initiating a hole punch
- HolePunchTracer
- Tracer for the holepuncher
Exceptions / Errors
- ClosedError
- Error thrown when the holepunch service is closed
- HolePunchActiveError
- Error thrown when another hole punching attempt is currently running