diff --git a/docs/examples/multiplexing/README.md b/docs/examples/multiplexing/README.md index 4964769..97e9db3 100644 --- a/docs/examples/multiplexing/README.md +++ b/docs/examples/multiplexing/README.md @@ -4,6 +4,24 @@ blinksocks supports TCP/TLS/WS multiplexing. +``` ++--------+ Conn 1 +-----------+ +-----------+ Conn 1 +--------+ +| <----------> | | <----------> | +| | Conn 2 | | Mux Connections | | Conn 2 | | +| <----------> <-----------------------> <----------+ | +| Apps | Conn 3 | bs-client | ... | bs-server | Conn 3 | Dest | +| <----------> <-----------------------> <----------> | +| | Conn 4 | | | | Conn 4 | | +| <----------> | | <----------> | ++--------+ +-----------+ +-----------+ +--------+ +``` + +Multiplexing can: + +* Reduce the number of connections between bs-client and bs-server. +* Eliminate three-way handshake of TCP and reduce connection latency. +* Obfuscating traffic characteristics. + You can enable this feature easily by setting `"mux": true` on both client and server, and set `"mux_concurrency": ` on client. 1. Client config