106 releases

0.5.43 Jan 27, 2023
0.5.40 Dec 9, 2022
0.5.39 Nov 28, 2022
0.4.45 Jul 6, 2022
0.4.2 Jul 27, 2021

#3 in #horrible

Download history 30/week @ 2023-11-06 123/week @ 2023-11-13 120/week @ 2023-11-20 221/week @ 2023-11-27 113/week @ 2023-12-04 12/week @ 2023-12-11 118/week @ 2023-12-18 232/week @ 2023-12-25 125/week @ 2024-01-01 23/week @ 2024-01-08 14/week @ 2024-01-15 70/week @ 2024-01-22 220/week @ 2024-01-29 17/week @ 2024-02-05 336/week @ 2024-02-12 2314/week @ 2024-02-19

2,887 downloads per month
Used in 3 crates

MPL-2.0 and AGPL-3.0


Sosistab - an obfuscated datagram transport for horrible networks

Sosistab is an unreliable, obfuscated datagram transport over UDP and TCP, designed to achieve high performance even in extremely bad networks. Sosistab can be used for applications like anti-censorship VPNs, reliable communication over radios, game networking, etc. It also comes with a QUIC-like multiplex protocol that implements multiple TCP-like reliable streams over the base sosistab layer. This multiplex protocol is ideal for applications requiring a mix of reliable and unreliable traffic. For example, VPNs might do signaling and authentication over reliable streams, while passing packets through unreliable datagrams.


  • Strong, state-of-the-art (obfs4-like) obfuscation. Sosistab servers cannot be detected by active probing, and Sosistab traffic is reasonably indistinguishable from random. We also make a best-effort attempt at hiding side-channels through random padding.
  • Strong yet lightweight authenticated encryption with chacha20-poly1305
  • Deniable public-key encryption with triple-x25519, with servers having long-term public keys that must be provided out-of-band. Similar to decent encrypted transports like TLS and DTLS --- but not to the whole Shadowsocks/Vmess family of protocols --- different clients have different session keys and cannot spy on each other.
  • Reed-Solomon error correction that targets a certain application packet loss level. Intelligent autotuning and dynamic batch sizes make performance much better than other FEC-based tools like udpspeeder. This lets Sosistab turns high-bandwidth, high-loss links to medium-bandwidth, low-loss links, which is generally much more useful.
  • Avoids last-mile congestive collapse but works around lossy links. Shamelessly unfair in permanently congested WANs --- but that's really their problem, not yours. In any case, permanently congested WANs are observationally identical to lossy links, and any solution for the latter will cause unfairness in the former.


~1.5M SLoC