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)
$ ./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
- 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.The data frame format is frame_format
- forward error correction
- lower resource consumption
- Get the latest code
$ git clone https://github.com/ccsexyz/kcptun-asio.git
- Run build.sh
$ ./build.sh
Fuck MSVC.
- performance optimization(memory optimization & CPU optimization)
improve smux