Marten Seemann
94a760ecff
refactor DetectLostPackets to match the draft
2019-08-13 08:35:48 +07:00
Marten Seemann
97699ea26e
improve the MITM tests
2019-08-13 08:35:16 +07:00
Marten Seemann
d201ecb03b
fix flaky stateless reset integration test
2019-08-13 08:34:57 +07:00
Marten Seemann
264eaf2a7b
Merge pull request #2051 from lucas-clemente/aead-open-rcv-time
...
pass the time a packet was received to the short header opener
2019-08-12 21:06:39 -04:00
Marten Seemann
bceefa2f70
Merge pull request #2049 from lucas-clemente/fix-initial-pto
...
fix initial PTO timer duration
2019-08-12 21:05:54 -04:00
Marten Seemann
ee3f501d5b
Merge pull request #2047 from lucas-clemente/fix-stream-frame-length-calculation
...
fix calculation of the length of appended STREAM frames
2019-08-12 12:15:32 -04:00
Marten Seemann
90ac248ae4
Merge pull request #2043 from lucas-clemente/early-retransmit-crypto-packets
...
use early retransmit for crypto packets
2019-08-12 11:53:36 -04:00
Marten Seemann
7778d6e4b2
Merge pull request #2052 from lucas-clemente/travis-retry
...
use travis-retry for downloading remote resources
2019-08-12 11:52:22 -04:00
Marten Seemann
4e004cc5d1
Merge pull request #2050 from lucas-clemente/appveyor-retry
...
use appveyor-retry for downloading remote resources
2019-08-12 11:50:33 -04:00
Marten Seemann
e03f834dce
Merge pull request #2055 from lucas-clemente/reduce-multiplex-transfer-size
...
reduce the data size transfered in the mutliplex integration test
2019-08-12 11:47:48 -04:00
Marten Seemann
f82a6a74b5
reduce the data size transfered in the mutliplex integration test
2019-08-11 19:18:16 +07:00
Marten Seemann
48b5bef8c8
use travis-retry for downloading remote resources
2019-08-11 14:11:27 +07:00
Marten Seemann
bb48c9b31a
pass the time a packet was received to the short header opener
...
This saves us one time.Now() syscall per received 1-RTT packet.
2019-08-11 13:33:02 +07:00
Marten Seemann
3b9abbd076
use appveyor-retry for downloading remote resources
2019-08-10 17:33:51 +07:00
Marten Seemann
5189cb94f1
fix initial PTO timer duration
2019-08-10 17:21:31 +07:00
Marten Seemann
fc77dee22d
add a bug check for consistent payload length in the packet packer
2019-08-10 14:57:39 +07:00
Marten Seemann
1f950da751
fix calculation of the length of retransmitted STREAM frames
2019-08-10 14:57:13 +07:00
Marten Seemann
c0286b0c2e
fix calculation of the length of appended STREAM frames
...
For the last STREAM frame we omit the Length field. When packing STREAM
frames, we need to account for this byte saving when calculating the
length of the payload.
2019-08-10 14:55:27 +07:00
Marten Seemann
0e4b25958f
use early retransmit for crypto packets
2019-08-08 15:47:51 +07:00
Marten Seemann
ee00cbe088
Merge pull request #2033 from tatianab/injection-attacks
...
Successful early-handshake injection attacks
2019-08-08 00:05:43 -04:00
Marten Seemann
0d3452746b
update Changelog
2019-08-05 08:23:16 +07:00
Marten Seemann
d270d9c28e
Merge pull request #2029 from lucas-clemente/delete-old-ack-ranges
...
never keep track of more than 500 ACK ranges
2019-08-04 20:45:23 -04:00
Marten Seemann
32402f066a
Merge pull request #2039 from lucas-clemente/fix-racy-accept-queue
...
fix race condition when determining the length of the accept queue
2019-08-04 20:45:04 -04:00
Marten Seemann
300884f2bf
fix race condition when determining the length of the accept queue
2019-08-05 07:33:59 +07:00
Marten Seemann
d5585628d8
remove unneeded return value of ReceivedPacketHandler.ReceivedPacket()
2019-08-05 06:55:26 +07:00
Marten Seemann
475ba63164
never keep track of more than 500 ACK ranges
...
This is achieved by deleting the oldest ACK ranges when receiving a
packet that creates a new ACK range such that this limit is exceeded.
2019-08-05 06:55:22 +07:00
Marten Seemann
320d4a868e
Merge pull request #2030 from lucas-clemente/merge-crypto-timer-and-pto
...
merge crypto and PTO timeout
2019-08-04 19:48:25 -04:00
Marten Seemann
245a815b8f
Merge pull request #2035 from lucas-clemente/quic-trace-ack-connection-state
...
output the connection state after processing the ACK for quic-trace
2019-08-05 06:29:36 +07:00
Marten Seemann
8324c08022
Merge pull request #2034 from lucas-clemente/example-server-interop
...
make example server conform with the GET /xxx format used for interop
2019-08-04 15:15:21 +07:00
Marten Seemann
99f9c8ca99
Merge pull request #2036 from lucas-clemente/session-ticket-tests
...
add unit tests for session resumption
2019-08-03 20:59:21 +07:00
Marten Seemann
382094ba68
add unit tests for session resumption
2019-08-03 16:54:58 +07:00
Marten Seemann
511acf1371
use a GoMock ClientSessionCache in the handshake tests
2019-08-03 15:29:01 +07:00
Tatiana Bradley
361fd2d2b2
addressed reviewer comments
2019-08-02 22:44:44 +00:00
Tatiana Bradley
e859b12ad4
added successful pre-handshake injection attacks
2019-08-02 21:52:20 +00:00
Tatiana Bradley
179d445778
restructured contexts in mitm tests
2019-08-02 21:52:20 +00:00
Marten Seemann
caee71e8e8
output the connection state after processing the ACK for quic-trace
2019-08-02 15:00:55 +07:00
Marten Seemann
84c6a60771
make example server conform with the GET /xxx format used for interop
2019-08-02 11:27:32 +07:00
Marten Seemann
792983dec6
merge crypto and PTO timeout
2019-07-31 07:59:12 +07:00
Marten Seemann
db645f3336
Merge pull request #2021 from lucas-clemente/early-retransmit-for-crypto-packets
...
use early retransmit for crypto packets
2019-07-31 05:44:10 +07:00
Marten Seemann
ba4d6c1c83
Merge pull request #2024 from lucas-clemente/less-tls-config-validation
...
remove complex checks performed on the tls.Config
2019-07-31 05:43:47 +07:00
Marten Seemann
3b35e8e8bc
Merge pull request #2028 from lucas-clemente/ack-ranges
...
don't add ACK ranges for delayed packets, if history was already deleted
2019-07-31 05:29:12 +07:00
Marten Seemann
19da86733e
Merge pull request #2020 from lucas-clemente/congestion-one-conn
...
disable the two-connection mode of the congestion controller
2019-07-31 05:25:05 +07:00
Marten Seemann
fb9fafe3b4
don't add ACK ranges for delayed packets, if history was already deleted
2019-07-30 11:19:16 +07:00
Marten Seemann
f4bb3c12be
remove unneeded tracking variable in the received packet history
...
The value was not updated correctly when receiving reordered packets.
Since it's trivial to determine it from the list of received packets,
the easiest fix is to remove it.
2019-07-30 11:17:26 +07:00
Marten Seemann
a0b7e468ff
optimize deleting of ACK ranges
2019-07-30 11:02:52 +07:00
Marten Seemann
8c4e4a3208
remove complex checks performed on the tls.Config
2019-07-28 23:57:33 +07:00
Marten Seemann
91e57fe6c9
use early retransmit in every packet number space
2019-07-25 17:51:45 -04:00
Marten Seemann
f150ed4d4e
rename sentPacketHandler functions to match the recovery draft
2019-07-25 17:10:47 -04:00
Marten Seemann
f7eb13fff1
disable the two-connection mode of the congestion controller
2019-07-25 16:34:44 -04:00
Marten Seemann
7a294f6a78
Merge pull request #2004 from lucas-clemente/fix-disabled-session-tickets
...
fix crash when the server disabled session resumption
2019-07-20 12:31:05 -04:00