Commit Graph

18 Commits

Author SHA1 Message Date
Marten Seemann
52d31dd7ef implement the new header format
Currently, we're only sending and accepting packets with matching source
and destination connection IDs.
2018-04-19 13:46:54 +09:00
jared2501
ef286afa3c copy RootCAs to mint config (#1291) 2018-04-15 16:59:02 +08:00
Marten Seemann
38efa84e9c use in place decryption for unpacking packets 2018-04-04 14:56:45 +07:00
Marten Seemann
948eef3e42 create a logger interface and use it everywhere 2018-04-04 13:03:28 +07:00
Marten Seemann
302d2a1715 don't use trial decryption for IETF QUIC 2018-03-31 14:29:44 +07:00
Marten Seemann
2fbc994d29 move the unencrypted STREAM frame check from the unpacker to the session 2018-03-31 14:29:44 +07:00
Marten Seemann
07b8821ef7 use pointer to byte slices in the buffer pool
https://staticcheck.io/docs/staticcheck#SA6002 suggests to use pointers
to objects in the sync.Pool.
2018-02-23 18:57:12 +08:00
Marten Seemann
e16131b391 copy VerifyPeerCertificate from the tls.Config to the mint.Config 2018-02-02 11:01:34 +08:00
Marten Seemann
706a828e16 copy InsecureSkipVerify from the tls.Config to the mint.Config
mint now supports InsecureSkipVerify.
2018-02-02 08:32:22 +08:00
Marten Seemann
d671cf134c don't force clients to use tls.Config.InsecureSkipVerify when using mint
mint recently implemented certificate verification.
This reverts commit d76f5a839c.
2018-02-02 08:18:29 +08:00
Marten Seemann
1cc209e4fb update mint, and adapt to the new use of the extension handler 2018-02-02 08:18:29 +08:00
Marten Seemann
d76f5a839c force clients to set tls.Config.InsecureSkipVerify when using mint
mint doesn't verify the certificate chain. This change forces users of
quic-go to acknowledge mint's insecure behavior by explicitely setting
InsecureSkipVerify.
2018-01-26 21:31:44 +11:00
Marten Seemann
5283cc5ff4 copy the ServerName from the tls.Config to the mint.Config 2018-01-12 20:30:07 +07:00
Marten Seemann
f33243fb41 Merge pull request #1114 from lucas-clemente/connection-state
expose the ConnectionState in the Session
2018-01-12 17:09:52 +07:00
Marten Seemann
1181657ac1 transfer the ClientAuth from tls.Config to the mint.Config 2018-01-11 22:41:21 +07:00
Marten Seemann
66fd3b5195 expose the ConnectionState in the Session
The ConnectionState contains basic details about the QUIC connection.
2018-01-11 16:27:42 +07:00
Marten Seemann
32d440728c send CONNECTION_CLOSEs from the stateless server
If an error occurs after a packet was successfully unpacked, we should
send a CONNECTION_CLOSE.
2018-01-09 17:17:54 +07:00
Marten Seemann
25a6dc9654 implement stateless handling of Initial packets for the TLS server 2017-12-08 08:45:54 +07:00