- Mar 29, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
This commit separates key installation function into 2 and let TLS stack install rx and tx keys separately for handshake and 1RTT keys. This change is aligned to the new BoringSSL API and GnuTLS API. I expect that OpenSSL will follow this change. It also removes side argument from crypto API if it can be inferred by ngtcp2_conn_is_server.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
crypto: fix a couple of typos in the documentation
-
Tatsuhiro Tsujikawa authored
crypto: add GnuTLS backend
-
- Mar 28, 2020
-
-
Tatsuhiro Tsujikawa authored
-
- Mar 27, 2020
-
-
Daiki Ueno authored
This adds a crypto backend based on GnuTLS. While most of the gnutls_* functions used in this backend are officially available in upstream GnuTLS, the following functions are only available in the 'tmp-quic' branch, for ABI assurance reasons until the QUIC standard is finalized: - gnutls_handshake_write - gnutls_quic_get_peer_transport_params Signed-off-by:
Daiki Ueno <dueno@redhat.com> Signed-off-by:
Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
-
Daiki Ueno authored
-
- Mar 24, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Fixes #224
-
- Mar 23, 2020
-
-
Tatsuhiro Tsujikawa authored
This reverts commit 48ba0b8d.
-
- Mar 22, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
This commit adds special handling for the very first Initial packet which is corrupted and discarded. If server receives such packet, it has to drop connection silently without sending any CONNECTION_CLOSE. Then valid packet might come later. Keeping connection state is harmful because corrupted packet has wrong SCID, which drops later valid packet because mismatched SCID. New error code NGTCP2_ERR_DROP_CONN is added which tells server application to drop connection silently.
-
- Mar 21, 2020
-
-
Tatsuhiro Tsujikawa authored
Use longer timeout because packet loss rate is incredibly high (30%).
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Clarify the behaviour of ngtcp2_conN-writev_stream with NGTCP2_WRITE_STREAM_FLAG_MORE.
-
Tatsuhiro Tsujikawa authored
Remove handling of NETWORK_ERR_SEND_BLOCKED in example server
-
Tatsuhiro Tsujikawa authored
Fix typo
-
- Mar 18, 2020
-
-
Amir Livneh authored
The example server uses sendmsg() in blocking mode and NETWORK_ERR_SEND_BLOCKED is never returned as an error.
-
- Mar 16, 2020
-
-
Amir Livneh authored
-
- Mar 14, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- Mar 12, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- Mar 08, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- Mar 03, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Remove conn and user_data from encrypt/decrypt/hp_mask callbacks so that they can be used without conn.
-
- Mar 01, 2020
-
-
Tatsuhiro Tsujikawa authored
-
- Feb 28, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- Feb 16, 2020
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Bring back the processing of Handshake packets. Doing so can reset idle timer and reset PTO count which is useful to deal with packet loss during handshake.
-