pluginized-protocols / picotcpls

TCPLS implementation using a TLS 1.3 implementation in C (master supports RFC8446 as well as draft-26, -27, -28) -- Published in ACM CoNEXT'21 -- Best Community Award
15 stars 5 forks source link

MPJOIN should include how fast each connection connected #7

Open frochet opened 4 years ago

frochet commented 4 years ago

tcpls_connect function records the rtt of each successful connection. When we wish to use another address than the primary one, we need to perform a MPJOIN handshake. This handshake allows the server to associate several TCP connection to the same TCPLS connection.

The mpjoin clientHello option should include the RTT value that tcpls_connect computed, in order to the server to have preferences for connections upon, for example, a failure over the primary link.

mpiraux commented 3 years ago

Couldn't the server measure the RTT based on the SYN+ACK and ACK packets ? Also, one RTT sample is not very reliable.