104 releases

0.10.20 Jan 12, 2024
0.10.19 Dec 12, 2023
0.10.18 Nov 21, 2023
0.8.19 Jun 5, 2023
0.5.12 Dec 30, 2022

#795 in Cryptography

Download history 162/week @ 2023-12-06 210/week @ 2023-12-13 181/week @ 2023-12-20 140/week @ 2023-12-27 96/week @ 2024-01-03 212/week @ 2024-01-10 117/week @ 2024-01-17 86/week @ 2024-01-24 194/week @ 2024-01-31 143/week @ 2024-02-07 72/week @ 2024-02-14 90/week @ 2024-02-21 141/week @ 2024-02-28 77/week @ 2024-03-06 184/week @ 2024-03-13 1440/week @ 2024-03-20

1,856 downloads per month
Used in 6 crates

MPL-2.0 license

82KB
2K SLoC

Sosistab2 - an obfuscated datagram transport for horrible networks

Sosistab2 is a vaguely QUIC-like datagram transport framework. Over a single Multiplex session, it multiplexes streams that support both reliable TCP-like bytestreams and UDP-like unreliable datagrams.

The cool feature, and key innovation over the legacy sosistab protocol, is that the same Multiplex can be backed by multiple "pipes". Pipes implement the Pipe trait and are a simple abstraction over an unreliable datagram transport. A Multiplex will intelligently decide what pipe to send its traffic down, and automatically avoids non-functional pipes. The Multiplex also maintains end-to-end encryption using chacha20-poly1305 with a triple-x25519 key exchange, and does not trust the Pipes for confidentiality, integrity, or authentication in any way.

Dependencies

~19–60MB
~1M SLoC