Commit graph

14 commits

Author SHA1 Message Date
46473a060e C rewrite: phase out std::string 2020-07-22 19:38:14 +02:00
ecc996f3f0 C rewrite: phase out exceptions 2020-07-22 19:09:27 +02:00
7c1e5562f2 C rewrite: phase out smart pointers 2020-07-22 17:04:22 +02:00
8f5d3b9805 C rewrite: C-ify includes (cstdio -> stdio.h) 2020-07-22 15:52:55 +02:00
99f14b84c1 C rewrite: phase out std::chrono 2020-07-22 15:45:16 +02:00
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
a08808344e Measure RTT 2020-06-28 23:29:39 +02:00
c5541d1e79 Split data and control packets 2020-06-26 19:41:55 +02:00
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
79dbf23784 Set tun MTU based on VpnPacket max payload 2020-06-16 18:57:08 +02:00
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
324d156cf3 Redefine VpnPackets as TLV containers 2020-06-12 17:36:55 +02:00
20d0d3fc59 Send packets with timestamp and seqno 2020-06-10 18:49:36 +02:00
50d28c0506 Add VpnPacket class 2020-06-05 17:49:12 +02:00