kcptun is a stable and secure tunnel based on KCP with N:M multiplexing and FEC. Available for ARM, MIPS, 386 and AMD64. kcptun is shipped with builtin packet encryption powered by various block encryption algorithms and works in Cipher Feedback Mode, for each packet to be sent, the encryption process will start from encrypting a nonce from the system entropy, so encryption to same plaintexts never leads to a same ciphertexts thereafter. kcptun made use of ReedSolomon-Codes to recover lost packets, which requires massive amount of computation, a low-end ARM device cannot satisfy kcptun well. To unleash the full potential of kcptun, a multi-core x86 homeserver CPU like AMD Opteron is recommended. If you insist on running under some ARM routers, you'd better turn off FEC and use salsa20 as the encryption method.

Features

  • The encrytion performance in kcptun is as fast as in openssl library(if not faster)
  • kcptun has builtin snappy algorithms for compressing streams
  • Low-level KCP configuration can be altered by using manual mode
  • Increase the number of open files on your server
  • You can also increase the per-socket buffer by adding parameters
  • For slow processors, increasing buffers is CRITICAL to receive packets properly

Project Samples

Project Activity

See All Activity >

Categories

Reliable-UDP, KCP

License

MIT License

Follow kcptun

kcptun Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of kcptun!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

Go

Related Categories

Go Reliable-UDP Library, Go KCP Software

Registered

2021-05-10