Commit Graph

2572 Commits

Author SHA1 Message Date
Marten Seemann
6bc93a00e2 simplify curve 25519 key generation 2018-04-16 10:11:38 +09:00
jared2501
ef286afa3c copy RootCAs to mint config (#1291) 2018-04-15 16:59:02 +08:00
Marten Seemann
4035836ff0 Merge pull request #1286 from lucas-clemente/fix-1271
expose the gQUIC 39 version number in the quic package
2018-04-13 18:52:16 +07:00
Marten Seemann
69a6b3cb9e expose the gQUIC 39 version number in the quic package 2018-04-13 19:38:37 +08:00
Marten Seemann
297a862753 Merge pull request #1287 from lucas-clemente/fix-1240
compute handshake timeout based on the time of the last handshake packet
2018-04-09 16:43:10 +07:00
Marten Seemann
ba9106c1ab compute handshake timeout based on the time of the last handshake packet 2018-04-05 14:39:58 +07:00
Marten Seemann
1b57582497 Merge pull request #1281 from lucas-clemente/spurious-rtos
implement spurious RTO detection
2018-04-04 22:03:31 +07:00
Marten Seemann
89c88e36a8 Merge pull request #1279 from lucas-clemente/fix-1277
use in place decryption for unpacking packets
2018-04-04 22:02:02 +07:00
Marten Seemann
ad1aaa03f9 Merge pull request #1282 from lucas-clemente/update-go
update Go to 1.9.5 and 1.10.1 on the CIs
2018-04-04 18:07:10 +07:00
Marten Seemann
605607d39b implement spurious RTO detection 2018-04-04 17:47:29 +07:00
Marten Seemann
baad0420f8 update Go to 1.9.5 and 1.10.1 on the CIs 2018-04-04 17:19:13 +07:00
Marten Seemann
0ad3c17506 Merge pull request #1273 from lucas-clemente/bytes-in-flight-fixes
only delete the acked packet, but none its retransmissions
2018-04-04 15:58:14 +07:00
Marten Seemann
42d35360bb only delete the acked packet, but none of its retransmissions 2018-04-04 15:35:23 +07:00
Marten Seemann
38efa84e9c use in place decryption for unpacking packets 2018-04-04 14:56:45 +07:00
Marten Seemann
0652eb97a0 add some debug log statements when queueing packets as retransmissions 2018-04-04 14:25:16 +07:00
Marten Seemann
89e719f03b Merge pull request #1278 from lucas-clemente/logging
create a logger interface and use it everywhere
2018-04-04 14:21:04 +07:00
Marten Seemann
948eef3e42 create a logger interface and use it everywhere 2018-04-04 13:03:28 +07:00
Marten Seemann
1e9b3f0bb2 simplify writing of the gQUIC Version Negotiation Packet 2018-04-04 13:03:22 +07:00
Marten Seemann
5e82335005 Merge pull request #1264 from lucas-clemente/ietf-quic-no-trial-decrypt
don't do trial decryption for IETF QUIC
2018-04-03 17:17:31 +07:00
Marten Seemann
d4b67d9d6c Merge pull request #1248 from lucas-clemente/fix-1247
allow empty STREAM frames at offset 0
2018-04-03 16:40:13 +07:00
Marten Seemann
efce19de55 Merge pull request #1270 from lucas-clemente/fix-1269
implement draft-10 changes for QHKDF-Expand
2018-04-03 16:19:40 +07:00
Marten Seemann
ae8d0808cf Merge pull request #1274 from lucas-clemente/remove-unused-packet-method
remove unused method from the ackhandler.Packet
2018-04-03 16:19:02 +07:00
Marten Seemann
294df18d5f Merge pull request #1272 from lucas-clemente/genny-linkedlist
use Genny to generate typed lists, based on Go standard library code
2018-04-03 16:18:37 +07:00
Marten Seemann
36dbb3477f Merge pull request #1266 from lucas-clemente/fnv128a
use the FNV 128a from the standard library
2018-04-03 16:18:04 +07:00
Marten Seemann
302d2a1715 don't use trial decryption for IETF QUIC 2018-03-31 14:29:44 +07:00
Marten Seemann
a298bd01c9 use a gomock packet unpacker 2018-03-31 14:29:44 +07:00
Marten Seemann
6c1eba5848 generate the diversification nonce when creating the server crypto setup 2018-03-31 14:29:44 +07:00
Marten Seemann
69f6427d3c refactor session to use a much smaller crypto setup 2018-03-31 14:29:44 +07:00
Marten Seemann
c6526ad927 replace the SetDiversificationNonce crypto setup method by a chan 2018-03-31 14:29:44 +07:00
Marten Seemann
2fbc994d29 move the unencrypted STREAM frame check from the unpacker to the session 2018-03-31 14:29:44 +07:00
Marten Seemann
538cd2c40b remove unused method from the ackhandler.Packet 2018-03-30 19:17:07 +07:00
Marten Seemann
6f12844094 Merge pull request #1259 from lucas-clemente/sph-send-time
don't set the send time of a packet in the sent packet handler
2018-03-30 17:23:31 +07:00
Marten Seemann
7346d12d6c use Genny to generate typed lists, based on Go standard library code 2018-03-30 15:12:09 +07:00
Marten Seemann
1c2e104a86 don't set the send time of a packet in the sent packet handler 2018-03-30 13:28:22 +07:00
Marten Seemann
469bad6350 implement draft-10 changes for QHKDF-Expand 2018-03-29 14:21:53 +07:00
Marten Seemann
30c948a2fd allow empty STREAM frames at offset 0 2018-03-29 12:43:59 +07:00
Marten Seemann
b8b840bedf use the FNV 128a from the standard library 2018-03-29 12:43:05 +07:00
Marten Seemann
51b9820084 Merge pull request #1265 from lucas-clemente/kex-error
correctly handle errors when creating a new gQUIC key exchange
2018-03-29 07:46:12 +07:00
Marten Seemann
48731221c0 correctly handle errors when creating a new gQUIC key exchange 2018-03-28 05:33:26 +07:00
Marten Seemann
1f9ab3b65f remove unused key exchange function from client crypto setup 2018-03-28 05:31:56 +07:00
Marten Seemann
00833c0840 Merge pull request #1263 from lucas-clemente/frame-parsing
move frame parsing to the wire package
2018-03-26 13:16:28 +02:00
Marten Seemann
be066e825c privatize the frame parsing functions 2018-03-25 18:07:49 +02:00
Marten Seemann
21b608daac move frame parsing to the wire package 2018-03-25 18:07:44 +02:00
Marten Seemann
9fa739409e Merge pull request #1260 from lucas-clemente/probe-packet-bytes-in-flight
don't reduce the bytes in flight for RTO probe packets
2018-03-21 16:58:10 +00:00
Marten Seemann
8772acab0a don't reduce the bytes in flight for RTO probe packets 2018-03-20 14:08:03 +00:00
Marten Seemann
a5688f954f Merge pull request #1251 from lucas-clemente/transport-parameters-max-stream-id
max stream values in the transport parameters are stream counts
2018-03-20 13:58:08 +00:00
Marten Seemann
e7d4339fc9 Merge pull request #1255 from lucas-clemente/fix-1253
calculate loss alarm based on send time of last retransmittable packet
2018-03-19 10:19:34 +00:00
Marten Seemann
46f8930fef calculate loss alarm based on send time of last retransmittable packet 2018-03-17 11:13:55 +00:00
Marten Seemann
b40942d39e send stream counts, not stream IDs, in the transport parameters 2018-03-16 17:41:21 +00:00
Marten Seemann
1fffb88553 fix typo in function name 2018-03-16 17:41:21 +00:00