Commit Graph

19 Commits (master)

Author SHA1 Message Date
Christian Ulrich cd3a7e99f5
fix maximum number of outbound packets and maximum number of sockets 2020-11-22 14:06:25 +01:00
Christian Ulrich 7d08bbeeb7
pass maximum port count as parameter to predictPortRange 2020-11-22 13:17:08 +01:00
Christian Ulrich bdeb00d71c
let puncher additional sockets; implement initiating from behind SymmetricRandom NAT using 1000 sockets (untested) 2020-11-22 12:57:46 +01:00
Christian Ulrich 25acfc9518
try without rate limit, but more holes 2020-11-20 22:39:50 +01:00
Christian Ulrich 9445029b0d
introduce rate limit again 2020-11-20 22:20:58 +01:00
Christian Ulrich e47a9d0191
include srcPorts in the debug message 2020-11-20 22:15:53 +01:00
Christian Ulrich 18ee5e4919
use multiple sockets for punching multiple holes if behind a SymmetricRandom NAT 2020-11-20 22:04:35 +01:00
Christian Ulrich cb9a43ea65
change port prediction API: allow puncher to retrieve NAT properties 2020-11-19 18:22:59 +01:00
Christian Ulrich debd8247b8
more debug output 2020-11-18 18:24:19 +01:00
Christian Ulrich b91f8ab2e5
remove rate limiting 2020-11-18 18:23:00 +01:00
Christian Ulrich ee3ab4564d
better debug output 2020-11-18 17:12:18 +01:00
Christian Ulrich abbeaa61d8
try out rate limit 2020-11-18 16:34:33 +01:00
Christian Ulrich 7d31594054
change puncher API so we can notify the peer after sending out the SYN packets 2020-11-18 16:34:14 +01:00
Christian Ulrich 2b1cd9eeca
try IP_TTL = 2 for ACK packets 2020-11-18 09:31:09 +01:00
Christian Ulrich a04254b07e
only ignore SYN packet because it can be the start of a QUIC handshake too 2020-11-18 00:10:36 +01:00
Christian Ulrich e20a4b223d
let puncher handle message whenever a message is received for a non-existing connection 2020-11-17 23:58:38 +01:00
Christian Ulrich dc7c94ed0d
only handle ACK messages, not SYN (we expect them to be filtered by our NAT) 2020-11-17 23:44:13 +01:00
Christian Ulrich c8a9a32a3f
add debug output 2020-11-17 22:50:00 +01:00
Christian Ulrich 6edf6b7e23
add UDP hole punching (untested) 2020-11-17 20:40:30 +01:00