Marten Seemann
0baf16ea4e
rewrite the proxy to avoid packet reordering
2020-06-20 15:46:06 +07:00
Marten Seemann
2e9b92ab69
rename the SERVER_BUSY error to CONNECTION_REFUSED
2020-06-10 12:13:40 +07:00
Marten Seemann
b91874a0e5
add an integration test testing that ACKs are bundled
2020-06-01 09:56:07 +07:00
Marten Seemann
e33f7d0fb9
add integration tests using a very long certificate chain
...
This will trigger the amplification protection.
2020-05-27 09:40:51 +07:00
Marten Seemann
e4f02ff68c
generate a new CA and cert chain for every run of the integration tests
2020-05-27 09:40:51 +07:00
Marten Seemann
b9ab1d172d
Merge pull request #2440 from lucas-clemente/integrationtests-qlog
...
add a command line option to export qlogs from the integration tests
2020-03-26 21:07:10 +07:00
Marten Seemann
a5b967a309
add a command line option to export qlogs from the integration tests
2020-03-26 20:37:08 +07:00
Marten Seemann
a82d6bb910
qlog stateless resets
2020-03-26 20:36:26 +07:00
Marten Seemann
12992ad4e2
Merge pull request #2412 from lucas-clemente/random-rtt-integration-test
...
add an integration test that introduces packet reordering
2020-03-10 18:10:14 +07:00
Marten Seemann
10f9b2eb86
add an integration test that introduces packet reordering
2020-03-08 15:31:53 +07:00
Marten Seemann
0b3340493a
update GolangCI-Lint to v1.23.8
2020-03-05 10:20:15 +07:00
Marten Seemann
e57caf0bae
send an INVALID_TOKEN error when receiving an invalid token
2020-02-25 19:43:57 +07:00
Marten Seemann
4fc5974938
fix flaky 0-RTT Retry test
2020-02-24 19:09:00 +07:00
Marten Seemann
d8d622ee99
fix flaky 0.5-RTT data test
2020-02-22 16:17:34 +07:00
Marten Seemann
f91dfda8c3
make the TLS cipher suites configurable
2020-02-01 15:58:40 +07:00
Marten Seemann
8476b9c7e6
reject 0-RTT when the ALPN changed
2020-01-30 13:12:42 +07:00
Marten Seemann
5ee7498595
fix the 0-RTT rejection integration test
2020-01-30 09:47:49 +07:00
Marten Seemann
78fdb9256b
add test checking that 0-RTT is rejected if transport parameters changed
2020-01-30 09:21:10 +07:00
Luke Tucker
6407f5bf68
Fix keepalive ping ( #2316 )
...
The firstAckElicitingPacketAfterIdleSendTime condition was inverted
in a recent PR, maybe just a typo. This was causing only one ping
to be sent during periods of no activity. The ack from the first
keepalive ping causes firstAckElicitingPacketAfterIdleSentTime
to be set to zero. If there is no further activity, it will remain
zero and prevent further keepalive pings.
2020-01-27 11:13:54 +07:00
Marten Seemann
a93e544c94
remove Session.Close()
...
Session.Close() sends a transport-level error code. Applications should
not be able to call this function, but use CloseWithError() instead.
2020-01-26 17:41:53 +07:00
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