# kcptun-asio **Repository Path**: mirrors_sudoconf/kcptun-asio ## Basic Information - **Project Name**: kcptun-asio - **Description**: A kcptun based on c++11/asio, compatible with kcptun(golang) - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Name ==== kcptun-asio -- A Secure Tunnel Based On KCP with N:M Multiplexing kcptun-asio is based on C++11 and Asio, fully compatible with [kcptun(go)](https://github.com/xtaci/kcptun) Synopsis ======== ``` $ ./kcptun_client -l :6666 -r xx:xx:xx:xx:yy --key password --crypt aes --mtu 1200 --ds 20 --ps 10 --nocomp $ ./kcptun_server -l :7777 -t xx:xx:xx:xx:yy --key password --crypt aes --mtu 1200 --ds 20 --ps 10 --nocomp ``` Features ======== * reliable data transfering based on kcp protocol * support aes*/xor/xtea/none/cast5/blowfish/twofish/3des/salsa20 encryption * multiplexing * snappy streaming compression and decompression,based on [google/snappy](https://github.com/google/snappy).The data frame format is [frame_format](https://github.com/google/snappy/blob/master/framing_format.txt) * forward error correction * lower resource consumption Build ===== Prerequisites ------------- 1. [asio](https://github.com/chriskohlhoff/asio) 2. [cryptopp](https://github.com/weidai11/cryptopp) 3. [snappy](https://github.com/google/snappy) Unix-like system ---------------- 1. Get the latest code ``` $ git clone https://github.com/ccsexyz/kcptun-asio.git ``` 2. Run build.sh ``` $ ./build.sh ``` odd Windows ----------- Fuck MSVC. TODO ==== * performance optimization(memory optimization & CPU optimization)   * ~~improve smux~~