Mark Spanbroek
|
c01fd25764
|
Cleanup: remove unnecessary callbacks from server
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
9db83e629a
|
Cleanup: install 1-RTT keys for server at the right moment
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
8c135eae81
|
Cleanup: install initial key for server at the right moment
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
4bdd74d9b6
|
Cleanup: remove unneccessary early key
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
f4a116a25b
|
Cleanup: install handshake keys for server at the right moment
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
8e1a5ede7c
|
Cleanup: install handshake keys for client at the right moment
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
a3cc283abf
|
Cleanup: Install initial key for client at the right moment
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
85631ba47c
|
Cleanup: remove debug output from callbacks
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
840eb7d8ff
|
Cleanup: use Key type in server setup
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
fae113f9b4
|
Cleanup: simplify
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
fba55457c8
|
Cleanup: remove unnecessary path setup
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
c6e329dcee
|
Cleanup: consolidate various types into type "Key"
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
542d5acd79
|
Cleanup: remove unnecessary settings
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
0fe6bbe665
|
Complete handshake
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
ceebcbd690
|
Provide larger buffer (for CRYPTO frames)
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
0aae5aaa4d
|
Set client handshake keys
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
c8b333d72b
|
Install rx and tx keys at the appropriate moment
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
32ace45629
|
Ensure that various fake key material uses separate memory locations
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
af58d18401
|
Fake transport settings being exchanged via TLS
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
7ea33ce19d
|
Move client and server settings into separate file
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
89eb18d3b4
|
Use our own code to parse and echo the first packet from ngtcp2
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
fbd8fde818
|
Fix indentation
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
1b5f5c8a25
|
check initial packet
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
0296d4a1c7
|
Set different IP addresses and ports for client and server
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
d7c5628131
|
Signal handshake complete
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
8911311b2d
|
Supply more crypto data
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
3f9d9050df
|
Add AEAD overhead
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
bd32d3ecd9
|
Correct connection id exchange
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
a73536c10f
|
Add monotonic clock for packet timestamps
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
aae030c634
|
Use fake header protection mask
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
cd8b40a47a
|
Use matching client and server connection ids
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
75e9c53422
|
Fix: initialize server with ngtcp2_conn_server_new
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
79eca562f8
|
Remove faulty dummyPath()
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
b0cd50b5df
|
Add logging
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
d1c665fedb
|
Add test that sets up a client and a server connection
Inspiration mostly from:
dfe3771dbb/tests/ngtcp2_conn_test.c (L502)
|
2020-10-08 14:31:15 +02:00 |
Mark Spanbroek
|
6fc8545556
|
Fix: version negotiation packets contain a list of supported versions
|
2020-10-01 17:50:03 +02:00 |
Mark Spanbroek
|
aa36dbba42
|
Fix: packet length includes both packet number and payload
|
2020-10-01 14:02:00 +02:00 |
Mark Spanbroek
|
015ebf54f3
|
Setup reading tests using write proc
|
2020-10-01 14:02:00 +02:00 |
Mark Spanbroek
|
d8305fee37
|
Use new packet initialization procs
|
2020-10-01 14:02:00 +02:00 |
Mark Spanbroek
|
c9b22da04b
|
Introduce procs that create packet types with default version
|
2020-10-01 14:02:00 +02:00 |
Mark Spanbroek
|
9684e81776
|
Read multiple packets from a packet stream
|
2020-09-30 09:30:39 +02:00 |
Mark Spanbroek
|
4896ba6ed9
|
Return the number of bytes that were written
|
2020-09-30 09:30:39 +02:00 |
Mark Spanbroek
|
842db30753
|
Write multiple consecutive packets into a datagram
|
2020-09-30 09:30:39 +02:00 |
Mark Spanbroek
|
a85eff895d
|
Split large test file
|
2020-09-30 09:30:39 +02:00 |
Mark Spanbroek
|
49d9fb6013
|
Remove 'version' getter and setter from public api
|
2020-09-30 09:20:32 +02:00 |
Mark Spanbroek
|
eeac07b11b
|
Determine the length of a short packet
|
2020-09-30 09:20:32 +02:00 |
Mark Spanbroek
|
03afb8f5a4
|
Read payload from short packet
|
2020-09-30 09:20:32 +02:00 |
Mark Spanbroek
|
8422282203
|
Read packet number from short packet
|
2020-09-30 09:20:32 +02:00 |
Mark Spanbroek
|
b8832cc6d8
|
Read destination id from short packet
|
2020-09-30 09:20:32 +02:00 |
Mark Spanbroek
|
6e56d16c0d
|
Read spin bit and key phase from short packets
|
2020-09-30 09:20:32 +02:00 |