Commit graph

9 commits

Author SHA1 Message Date
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 20d0d3fc59 Send packets with timestamp and seqno 2020-06-10 18:49:36 +02:00
Théophile Bastian 5a7b108602 Set arbitrary assumed PMTU at 1460 2020-06-10 16:24:26 +02:00
Théophile Bastian f89cbb6981 Use new VpnPacket 2020-06-05 17:50:36 +02:00
Théophile Bastian b8bb6d2c5f Split UdpVpn in -Client and -Server flavour 2020-06-05 16:19:04 +02:00
Théophile Bastian ba2293e039 Implement basic UdpVpn 2020-06-04 11:47:00 +02:00