Kcptun Asio Save

A kcptun based on c++11/asio, compatible with kcptun(golang)

Project 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)

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.The data frame format is frame_format
  • forward error correction
  • lower resource consumption

Build

Prerequisites

  1. asio
  2. cryptopp
  3. snappy

Unix-like system

  1. Get the latest code
$ git clone https://github.com/ccsexyz/kcptun-asio.git  
  1. Run build.sh
$ ./build.sh  

odd Windows

Fuck MSVC.

TODO

  • performance optimization(memory optimization & CPU optimization)  
  • improve smux
Open Source Agenda is not affiliated with "Kcptun Asio" Project. README Source: ccsexyz/kcptun-asio
Stars
75
Open Issues
1
Last Commit
4 years ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating