Commit Graph

9 Commits

Author SHA1 Message Date
Théophile Bastian 7b5ffa4d46 Implement loss-based congestion controller
Still lacks an outbound bandwidth limiter and outbound actual emission
bitrate, to avoid increasing the available bandwidth when the bandwidth
is not saturated.
2020-07-03 16:13:47 +02:00
Théophile Bastian a08808344e Measure RTT 2020-06-28 23:29:39 +02:00
Théophile Bastian c5541d1e79 Split data and control packets 2020-06-26 19:41:55 +02:00
Théophile Bastian 0b8cf0edc1 Tun: reject packets with bad length
Those packets are probably packets truncated because the buffer is not
large enough.
2020-06-16 20:24:59 +02:00
Théophile Bastian 79dbf23784 Set tun MTU based on VpnPacket max payload 2020-06-16 18:57:08 +02:00
Théophile Bastian 94f42d08c0 Switch to single connection paradigm, use TLVs.
Clean up dramatically the codebase by assuming the server has only a
single connection at any time.
2020-06-15 20:39:25 +02:00
Théophile Bastian 324d156cf3 Redefine VpnPackets as TLV containers 2020-06-12 17:36:55 +02:00
Théophile Bastian 20d0d3fc59 Send packets with timestamp and seqno 2020-06-10 18:49:36 +02:00
Théophile Bastian 50d28c0506 Add VpnPacket class 2020-06-05 17:49:12 +02:00