Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Slave should listen instead of creating UDPConn

Compare
Choose a tag to compare
@jameshartig jameshartig released this 06 May 16:52
· 7 commits to master since this release

A UDPConn only accepts traffic from the same IP/port that we send traffic to, but this may not always be the case with UDP and NAT's, VPN's, etc. So the slave now just listens on a random UDP port and listens for traffic from any ip/port. Since we are already signing our messages we don't have to worry about bogus traffic affecting transactions.

This release is 100% backwards compatible and interchangeable with v0.2.