Commit Graph

36 Commits (master)

Author SHA1 Message Date
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 bf9569098f
let peer behind SymmetricRandom NAT use 70 sockets; punch 1000 holes on the other side 2020-11-21 23:00:15 +01:00
Christian Ulrich d92e8be393
let peer behind SymmetricRandom NAT use 30 sockets; punch 3000 holes on the other side 2020-11-20 23:40:18 +01:00
Christian Ulrich de26d60617
punch 20 holes to help the peer traverse our SymmetricRandom NAT 2020-11-20 22:47:18 +01:00
Christian Ulrich 25acfc9518
try without rate limit, but more holes 2020-11-20 22:39:50 +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 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 49bebb5520
sends -> replies 2020-11-18 00:12:33 +01:00
Christian Ulrich 35e47e0d3e
remove some debug output 2020-11-18 00:10:46 +01:00
Christian Ulrich 5f03151f81
make debug output less noisy 2020-11-18 00:01:00 +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 06d7d29dc0
need to inform the puncher if quicly_receive fails too 2020-11-17 23:41:20 +01:00
Christian Ulrich 314e1a63fc
more debug output 2020-11-17 23:24:22 +01:00
Christian Ulrich 154f5ec77b
only let the puncher handle the packet if accept was not successful; add more debug output 2020-11-17 23:17:19 +01:00
Christian Ulrich b4bc750e99
we are the responder if no peerId is given 2020-11-17 22:56:19 +01:00
Christian Ulrich 23c2f3221e
we have to respond to the srcIp / srcPorts 2020-11-17 22:52:46 +01:00
Christian Ulrich 6edf6b7e23
add UDP hole punching (untested) 2020-11-17 20:40:30 +01:00
Christian Ulrich 6aa2f46b08
introduce base32 peer IDs 2020-11-15 17:18:45 +01:00
Christian Ulrich 1840908ba5
set empty server name to skip server name verification 2020-11-09 15:39:49 +01:00
Christian Ulrich 3f13c06a9f
introduce Connection type to store the peer's certchain; move openssl wrappers to dedicated module; add certificate utils 2020-11-09 15:04:35 +01:00
Christian Ulrich de780656f0
make client authentication mandatory; verify cert chain using highest cert as CA cert 2020-11-08 19:12:42 +01:00
Christian Ulrich 490664b1f5
cosmetic: move proc handleMsg 2020-11-08 13:16:03 +01:00
Christian Ulrich c39ecc55ac
remove debug output; add less noisy output on server side 2020-11-08 13:05:59 +01:00
Christian Ulrich b65c4f4373
consistenly use snake case for wrapper symbols 2020-11-08 12:49:32 +01:00
Christian Ulrich d5c74f5ce2
need deepCopy; don't do anything if no connections exist 2020-11-08 01:53:30 +01:00
Christian Ulrich 272cb2f497
fix 'seq changed while iterating' bug 2020-11-08 01:36:03 +01:00
Christian Ulrich 6e7ab9369d
fix getRelativeTimeout (assuming microseconds was wrong) 2020-11-08 01:22:53 +01:00
Christian Ulrich e936bc49d9
fix server side sending 2020-11-08 00:20:26 +01:00
Christian Ulrich 87239d45e7
add debug output; use different certs and keys for client and server 2020-11-07 13:58:21 +01:00
Christian Ulrich db92c3f48f
receive as client too 2020-11-07 12:51:31 +01:00
Christian Ulrich 3fc54cb730
fix typo / grammar 2020-11-07 12:31:24 +01:00
Christian Ulrich cfe24f70dc
fix crashes in server mode 2020-11-07 12:29:08 +01:00
Christian Ulrich 44fd55871a
echo application in async Nim (untested) 2020-11-07 11:43:09 +01:00
Christian Ulrich bff7556147
read cert chain and private key 2020-11-02 23:52:26 +01:00
Christian Ulrich 02b9d5fb82
start using the bindings 2020-11-02 10:00:33 +01:00
Christian Ulrich 932dd80499
initial commit 2020-11-02 00:52:13 +01:00