Christian Ulrich
|
490d34bd79
|
try continuous port range
|
2020-11-18 18:22:47 +01:00 |
Christian Ulrich
|
769621f4b9
|
use wider port range
|
2020-11-18 17:52:22 +01:00 |
Christian Ulrich
|
9b3196d8a0
|
try random ports for randokm port mapping
|
2020-11-18 17:47:15 +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
|
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
|
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
|
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
|
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
|
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
|
c8a9a32a3f
|
add debug output
|
2020-11-17 22:50:00 +01:00 |
Christian Ulrich
|
87f1ed89fb
|
remove obsolete fields from NotifyPeer
|
2020-11-17 22:42:57 +01:00 |
Christian Ulrich
|
5b79592a62
|
fix segfault
|
2020-11-17 22:39:33 +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
|
8441c02a57
|
ptls_t is an incomplete struct; add ptls_get_data and quicly_get_data
|
2020-11-09 09:58:17 +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
|
f7feb4283f
|
fix typo; add ptls_openssl_dispose_verify_certificate
|
2020-11-08 19:10:40 +01:00 |
Christian Ulrich
|
c6a0127244
|
make cb fields visible; add some constants
|
2020-11-08 19:09:45 +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
|
7923bd96ab
|
use header pragma again (needed for using inline functions)
|
2020-11-07 11:42:11 +01:00 |
Christian Ulrich
|
1e290ac350
|
add certificate generation script + openssl configs
|
2020-11-07 11:12:32 +01:00 |
Christian Ulrich
|
2ade4a93db
|
remove header pragma
|
2020-11-07 11:09:23 +01:00 |
Christian Ulrich
|
cc0077c0b6
|
various fixes; add quicly_open_stream, quicly_send QUICLY_ERROR_FREE_CONNECTION and ptls_iovec_init
|
2020-11-07 11:05:57 +01:00 |
Christian Ulrich
|
bff7556147
|
read cert chain and private key
|
2020-11-02 23:52:26 +01:00 |
Christian Ulrich
|
fbebb0f566
|
don't use importc / header pragmas for types to resolve type declaration conflicts; don't use header pragma at all
|
2020-11-02 23:51:47 +01:00 |
Christian Ulrich
|
02b9d5fb82
|
start using the bindings
|
2020-11-02 10:00:33 +01:00 |
Christian Ulrich
|
9403c90082
|
various fixes
|
2020-11-02 09:59:28 +01:00 |
Christian Ulrich
|
1adba05d39
|
delete swp file
|
2020-11-02 00:56:26 +01:00 |