Commit Graph

303 Commits

Author SHA1 Message Date
Marten Seemann
5a566f2176 Merge pull request #2226 from lucas-clemente/retry-integrity
implement the retry integrity tag
2020-01-17 17:19:15 +07:00
Marten Seemann
8b52e62b86 allow corrupting of Retry packets in the MITM integration test 2020-01-17 13:42:57 +07:00
Marten Seemann
eeba3951ae only enable 0-RTT when using ListenEarly and DialEarly 2020-01-17 11:22:12 +07:00
Marten Seemann
9feba60b8a add a test that waits for handshake completion after sending 0-RTT data 2020-01-07 11:16:42 +07:00
Marten Seemann
00150e1d94 add some integration tests for 0-RTT handshakes 2020-01-01 18:04:02 +04:00
Marten Seemann
ba7434ce65 improve the integration tests that drops handshake packets 2019-12-18 19:18:44 +04:00
Marten Seemann
27549c5665 use the minimum of the two peers' max_idle_timeouts 2019-12-11 14:04:33 +04:00
Marten Seemann
f066e2fc5f remove the testlog package 2019-11-30 19:58:30 +07:00
Marten Seemann
07dcbc8496 remove the testserver package 2019-11-25 12:54:58 +07:00
Marten Seemann
ea0050e2a2 update HTTP/3 errors
* rename HTTP_UNEXPECTED_FRAME to HTTP_FRAME_UNEXPECTED
* remove the HTTP_WRONG_STREAM error
* rename errors from HTTP_ to H3_
2019-10-23 09:43:47 +07:00
Marten Seemann
6b22f36d82 add the stylecheck linter 2019-09-17 13:50:19 +07:00
Marten Seemann
c8aed2861f add the scopelint linter 2019-09-17 13:44:05 +07:00
Marten Seemann
f9bbac8b04 update HTTP/3 errors 2019-09-04 12:06:17 +07:00
Marten Seemann
ab65e39c3b Merge pull request #2091 from lucas-clemente/request-cancelation
implement HTTP request cancelations
2019-08-31 17:32:25 +07:00
Marten Seemann
709c0dbb7e increase the handshake timeout in the early data integration test 2019-08-31 12:41:42 +07:00
Marten Seemann
e3e2851c24 add an integration test for HTTP request cancelations 2019-08-24 15:16:10 +07:00
Marten Seemann
41cdf8bb50 add an integration test for the token store 2019-08-13 10:56:46 +07:00
Marten Seemann
9c00802303 Merge pull request #2023 from lucas-clemente/early-data
implement sending of 0.5-RTT data
2019-08-12 22:20:51 -04:00
Marten Seemann
8215e70de0 add an integration test for 0.5-RTT data 2019-08-13 09:07:18 +07:00
Marten Seemann
842435a3d4 Merge pull request #2053 from lucas-clemente/improve-mitm-tests
improve the MITM tests
2019-08-12 21:52:45 -04: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
f82a6a74b5 reduce the data size transfered in the mutliplex integration test 2019-08-11 19:18:16 +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
ce0b1f2736 fix crash when the server disabled session resumption 2019-07-16 18:45:51 +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
35497737c8 fix flaky session resumption integration test 2019-07-03 09:58:47 +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
b40991c400 Merge pull request #1971 from lucas-clemente/skip-multiplex-test-on-linux
skip the multiplex test on linux, add a better explanation
2019-06-30 17:32:27 +07:00
Marten Seemann
79513e81eb skip the multiplex test on linux, add a better explanation 2019-06-29 11:52:23 +07:00
Marten Seemann
0f3b0cfcc4 fix race condition in proxy tests 2019-06-29 11:11:45 +07:00
Marten Seemann
da0b52ce10 Merge pull request #1961 from lucas-clemente/initiate-key-updates
initiate key updates
2019-06-28 23:49:56 +08:00
Marten Seemann
437b01b7df fix flaky cancelation integration test 2019-06-28 22:37:24 +07:00
Marten Seemann
6461c69045 add an integration test that performs frequent key updates 2019-06-27 10:54:58 +08:00
Marten Seemann
ea9f72ba23 add an integration test that cancels OpenStreamSync 2019-06-22 19:37:22 +08:00
Marten Seemann
2b8cece60a add a context to Session.Open{Uni}StreamSync 2019-06-22 19:37:21 +08:00
Marten Seemann
e63a991950 add an integration test that cancels AcceptStream 2019-06-22 19:37:12 +08:00
Marten Seemann
5550ba2c3b add a context to Session.Accept{Uni}Stream 2019-06-22 19:37:11 +08:00
Marten Seemann
12bce1caaa add a context to Listener.Accept 2019-06-22 19:36:52 +08:00
Marten Seemann
7c1f9dffe4 add an integration test for ALPN 2019-06-02 14:58:41 +08:00
Marten Seemann
979ab75b3b require ALPN during the TLS handshake 2019-06-02 14:58:37 +08:00
Marten Seemann
34543848f0 send a NEW_TOKEN from after completing the handshake (as a server) 2019-06-02 14:18:27 +08:00
Marten Seemann
1d6707325f name the quic.Cookie to quic.Token 2019-05-30 22:13:06 +08:00
Marten Seemann
1284678095 use a single packet conn for all dials in the rate limiting test 2019-05-30 13:19:29 +08:00