Crates.io | sosistab2 |
lib.rs | sosistab2 |
version | 0.10.21 |
source | src |
created_at | 2022-12-04 23:05:34.180195 |
updated_at | 2024-06-20 16:39:31.097571 |
description | An obfuscated datagram transport for horrible networks |
homepage | |
repository | https://github.com/geph-official/sosistab2 |
max_upload_size | |
id | 729835 |
size | 82,139 |
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 Pipe
s for confidentiality, integrity, or authentication in any way.