Commit Graph

3691 Commits

Author SHA1 Message Date
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
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
Marten Seemann
6b93abc3e7 Merge pull request #2003 from lucas-clemente/draft-22-initial-salt
update the initial salt for draft-22
2019-07-20 10:05:20 -04:00
Marten Seemann
566c709548 update H3 ALPN to draft-22 2019-07-18 17:38:49 -04:00
Marten Seemann
ce0b1f2736 fix crash when the server disabled session resumption 2019-07-16 18:45:51 +07:00
Marten Seemann
649f3b42b3 update the initial salt for draft-22 2019-07-16 18:08:36 +07:00
Marten Seemann
879467b3c5 Merge pull request #1997 from lucas-clemente/new-header-format
implement the new header format
2019-07-16 15:00:18 +07:00
Marten Seemann
58ef419869 fix the /dynamic endpoint on the example server 2019-07-13 17:46:36 +07:00
Marten Seemann
1441923ab0 Merge pull request #1995 from lucas-clemente/ncid-retire-prior-to
add the Retire Prior To field to the NEW_CONNECTION_ID frame
2019-07-10 12:01:38 +07:00
Lucas Clemente
d42c954c81 Merge pull request #1993 from spacewander/allow_host_without_port_as_server_name
allow host without port passed as 'host' argument in Dial function.
2019-07-09 13:53:02 +02:00
Marten Seemann
dc33db1c18 implement the new header format 2019-07-09 13:04:40 +07:00
Marten Seemann
91961c8c6f add the Retire Prior To field to the NEW_CONNECTION_ID frame 2019-07-08 12:53:45 +07:00
spacewander
755a46d6e2 allow host without port passed as 'host' argument in Dial function.
Previously, if the given host doesn't contain port, dial with it will
result in error "missing port in address".
2019-07-06 15:52:26 +08:00
Marten Seemann
9a8e590cf8 Merge pull request #1992 from lucas-clemente/explicitly-send-session-tickets
explicitly send session tickets
2019-07-05 21:30:26 +07:00
Marten Seemann
c8b7037d60 Merge pull request #1982 from lucas-clemente/mitm-test
add a few MITM integration tests
2019-07-05 20:57:44 +07:00
Marten Seemann
c52a28cec1 explicitly trigger sending of session tickets 2019-07-05 20:53:25 +07:00
Marten Seemann
57c9b63ec9 Merge pull request #1991 from lucas-clemente/receive-encryption-level-on-key-change
receive the encryption level for key updates from qtls
2019-07-05 20:49:24 +07:00
Marten Seemann
c9a436bab7 Merge pull request #1987 from lucas-clemente/fix-flaky-session-resumption-test
fix flaky session resumption integration test
2019-07-05 20:41:41 +07:00
Marten Seemann
9cbfcd19a1 Merge pull request #1984 from lucas-clemente/fix-key-drop-test
fix flaky key drop test on AppVeyor
2019-07-05 20:39:19 +07:00
Marten Seemann
6bf42558f3 receive the encryption level for key updates from qtls 2019-07-05 10:36:53 +07:00
Marten Seemann
35497737c8 fix flaky session resumption integration test 2019-07-03 09:58:47 +07:00
Marten Seemann
2ab01f14cf fix flaky key drop test on AppVeyor 2019-07-02 13:21:51 +07:00
Marten Seemann
f8d218dbad add an integration test corrupts packets 2019-07-02 13:00:58 +07:00
Marten Seemann
6afde2eae8 add an integration test that duplicates all packets 2019-07-02 13:00:58 +07:00
Marten Seemann
9c496ddd19 add an integration test that sends invalid packets 2019-07-02 13:00:51 +07:00
Marten Seemann
5479837a01 stop delay timers in the proxy when it is closed 2019-07-02 12:34:43 +07:00
Marten Seemann
7827cd61bc pass the raw packet to the Drop- and Delay callbacks of the proxy 2019-07-01 14:46:58 +07:00
Marten Seemann
3dcbaee89e Merge pull request #1979 from lucas-clemente/ack-only-packets-enclevel
pack ACK-only packets for all encryption levels
2019-07-01 14:44:43 +07:00
Marten Seemann
4aaeb7f0f3 Merge pull request #1981 from lucas-clemente/go-mod-readme
mention Go mod as a requirement in the README
2019-07-01 14:37:18 +07:00
Marten Seemann
d7b409217f Merge pull request #1978 from lucas-clemente/fix-unpack-error-handling
don't close the session when unpacking a packet fails
2019-07-01 14:36:59 +07:00
Marten Seemann
a06bc25055 mention Go mod as a requirement in the README 2019-07-01 07:39:46 +07:00
Marten Seemann
0ce749b5f1 pack ACK-only packets for all encryption levels 2019-07-01 07:19:47 +07:00
Marten Seemann
6af7df436a don't close the session when unpacking a packet fails 2019-06-30 18:35:49 +07:00
Marten Seemann
5929a83210 Merge pull request #1974 from lucas-clemente/drop-old-keys
drop keys 3 PTOs after a key update
2019-06-30 17:51:28 +07:00
Marten Seemann
abd82fbd95 Merge pull request #1976 from lucas-clemente/fix-retry-logging
fix logging of Retries
2019-06-30 17:40:31 +07:00
Marten Seemann
5104c5d554 Merge pull request #1972 from lucas-clemente/frame-enc-level-check
check if a frame is allowed at the encryption level it was sent with
2019-06-30 17:36:33 +07:00
Marten Seemann
a3878d99c9 drop old keys 3 PTOs after a key update 2019-06-30 17:36:09 +07:00