Commit Graph

2005 Commits

Author SHA1 Message Date
Marten Seemann
142abb08b3 refactor drop tests, add test with dropped packets in both directions 2017-09-12 15:36:49 +07:00
Marten Seemann
792047a2c5 Merge pull request #819 from lucas-clemente/server-tests-quic-versions
run integration tests with the quic_server with all supported versions
2017-09-12 10:31:29 +02:00
Marten Seemann
ad4bdb993c Merge pull request #818 from lucas-clemente/stk-type-alias
use a type alias for the STK
2017-09-12 10:29:22 +02:00
Marten Seemann
b7d8d33645 Merge pull request #817 from lucas-clemente/improve-proxy
improve the QUIC proxy
2017-09-12 10:25:38 +02:00
Marten Seemann
3cc34a3ae7 don't parse the Public Header in the proxy 2017-09-12 14:42:27 +07:00
Marten Seemann
7ba9fb0f8b use a kernel determined server address in proxy tests
Now we can execute the proxy tests in parallel without running into
"address already in use" errors.
2017-09-12 14:38:37 +07:00
Marten Seemann
4da08c9710 use a type alias for the STK 2017-09-11 18:38:24 +02:00
Marten Seemann
99f4a923cd run integration tests with the quic_server with all supported versions 2017-09-11 15:55:39 +02:00
Marten Seemann
71f7ab1326 Merge pull request #812 from lucas-clemente/travis-chrome-quic39
activate Chrome tests with QUIC 39 on Travis
2017-09-11 11:35:20 +02:00
Marten Seemann
7ea4e6d9ae Merge pull request #815 from lucas-clemente/fix-proxy
fix Public Header parsing in the proxy
2017-09-11 12:12:23 +03:00
Marten Seemann
11a31cfdac fix version dependent Public Header parsing in the proxy 2017-09-10 23:26:14 +02:00
Marten Seemann
5c7f104b6d activate Chrome tests with QUIC 39 on Travis
The Chrome installed on Travis now supports QUIC 39.
2017-09-09 12:37:29 +03:00
Marten Seemann
2c4a17e406 Merge pull request #810 from lucas-clemente/tls
implement a very basic TLS 1.3 handshake
2017-09-08 20:47:58 +03:00
Marten Seemann
866f209834 move all mint-related methods into one interface 2017-09-08 12:04:45 +03:00
Marten Seemann
91b7404182 implement a very basic TLS 1.3 handshake 2017-09-08 12:04:45 +03:00
Marten Seemann
82db032a05 implement the TLS key derivation 2017-09-08 12:04:45 +03:00
Marten Seemann
8bcabe0ba9 correctly pack packets with sealers with different overheads 2017-09-08 12:04:45 +03:00
Marten Seemann
7cbef3cb1b implement the Overhead method for the AEADs 2017-09-08 12:04:45 +03:00
Marten Seemann
6931edaf6b implement the AES-GCM AEAD needed for the IETF draft 2017-09-08 12:04:38 +03:00
Marten Seemann
8df2cb3b1d rename the current key derivation function
TLS will use a completely different key derivation function.
2017-09-07 20:08:24 +03:00
Marten Seemann
fd780e3eab move the nonce generation to the AEAD implementations
The AES AEAD used by IETF QUIC uses a different nonce format.
2017-09-07 20:08:24 +03:00
Marten Seemann
23f3432b9d select the right null AEAD algorithm depending on the version 2017-09-07 20:07:54 +03:00
Marten Seemann
15e9e3658a implement the FNV64a nullAEAD
It is not used yet.
2017-09-07 18:16:20 +03:00
Marten Seemann
03f16814ec Merge pull request #811 from lucas-clemente/remove-orig-file
remove accidentally committed merge backup file
2017-09-05 23:36:34 +02:00
Marten Seemann
ebf0b9a379 Merge pull request #794 from lucas-clemente/fix-558
make the integration tests race free
2017-09-05 21:18:18 +02:00
Marten Seemann
17a0541edb use the quic.Config to set the QUIC version in the Chrome tests 2017-09-05 19:30:14 +02:00
Marten Seemann
5751b599ee use atomics in the Chrome test HTTP handlers
This fixes a race condition in these tests.
2017-09-05 19:30:14 +02:00
Marten Seemann
7d446253c4 use the quic.Config to set the QUIC version in client integration tests
This fixes a race condition in that test.
2017-09-05 19:30:14 +02:00
Marten Seemann
682d8b1c7a fix race condition in the handshake RTT tests 2017-09-05 19:30:14 +02:00
Marten Seemann
e513cb7ad2 fix multiple race conditions in the proxy tests 2017-09-05 19:30:14 +02:00
Marten Seemann
508586ea7e fix a race condition in server integration test setup 2017-09-05 19:30:14 +02:00
Marten Seemann
bf64c86916 remove accidentally committed merge backup file 2017-09-05 19:27:46 +02:00
Marten Seemann
03de09b236 Merge pull request #809 from lucas-clemente/fix-808
fix go routine leaks in client tests
2017-08-31 18:32:22 +07:00
Marten Seemann
500eb0d50d Merge pull request #804 from lucas-clemente/delete-empty-test-files
delete empty files in the integration tests folder
2017-08-31 18:16:57 +07:00
Marten Seemann
fa2ecefa31 fix go routine leaks in client tests 2017-08-31 17:55:48 +07:00
Marten Seemann
f5abd5d858 delete empty files in the integration tests folder
These empty files were necessary in Go 1.8, but are obsolete now.
2017-08-31 17:18:40 +07:00
Marten Seemann
e7d1d225dc Merge pull request #807 from lucas-clemente/type-aliases
use type aliases to clean up the API
2017-08-31 17:06:46 +07:00
Marten Seemann
60f5c660c6 export flow control window sizes as uint64 in quic.Config 2017-08-31 16:37:03 +07:00
Marten Seemann
e05f5ce594 remove obsolete documentation for the quic.Config 2017-08-31 16:37:03 +07:00
Marten Seemann
3c4a10a5e4 use type aliases to export types declared in the protocols package
Type aliases were introduced with Go 1.9, so we must drop support for
older Go versions now.
2017-08-31 16:36:52 +07:00
Marten Seemann
95a971f322 make the flow control package internal 2017-08-30 00:27:44 +07:00
Marten Seemann
f1ada87dcf make the protocol package internal 2017-08-30 00:19:44 +07:00
Marten Seemann
524ecb5827 move the Public Reset to the wire package 2017-08-29 23:58:27 +07:00
Marten Seemann
ed522ebbce make wire an internal package 2017-08-29 23:51:56 +07:00
Marten Seemann
1794636220 more the PublicHeader to the wire package 2017-08-29 23:45:38 +07:00
Marten Seemann
88afad8722 rename package frames to wire 2017-08-29 23:27:15 +07:00
Marten Seemann
5281d5b65d Merge pull request #792 from lucas-clemente/fix-441
add a quic.Config option to configure the idle timeout
2017-08-29 18:48:56 +07:00
Marten Seemann
24119d5a25 Merge pull request #801 from lucas-clemente/fix-800
make sure that the SHLO was sent before returning Listener.Accept
2017-08-29 18:48:23 +07:00
Marten Seemann
5152019554 don't use an idle timeout before the handshake has completed
This simplifies the timeout logic a bit. Before the handshake has
completed, the only timeout is the handshake timeout. After the
handshake has completed, the only timeout is the idle connection timeout.
2017-08-29 15:47:56 +07:00
Marten Seemann
293f26d292 Merge pull request #806 from lucas-clemente/listener-debug-message
print a debug message when the server is started
2017-08-29 15:11:46 +07:00