Skip to content
/ tuic Public
forked from EAimTY/tuic

Delicately-TUICed 0-RTT proxy protocol

License

Notifications You must be signed in to change notification settings

lucifer9/tuic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TUIC

Delicately-TUICed 0-RTT proxy protocol

Warning: TUIC's dev branch is under heavy development. For end-user, please check out the latest released branch

Introduction

TUIC is a proxy protocol focusing on the simplicity. It aims to minimize the additional handshake latency caused by relaying as much as possible

TUIC is originally designed to be used on top of the QUIC protocol, but you can use it with any other protocol, e.g. TCP, in theory

When paired with QUIC, TUIC can achieve:

  • 0-RTT TCP proxying
  • 0-RTT UDP proxying with NAT type Full Cone
  • 0-RTT authentication
  • Two UDP proxying modes:
    • native: Having characteristics of native UDP mechanism
    • quic: Transferring UDP packets losslessly using QUIC streams
  • Fully multiplexed
  • All the advantages of QUIC:
    • Bidirectional user-space congestion control
    • Connection migration
    • Optional 0-RTT connection handshake

Overview

There are 4 crates provided in this repository:

  • tuic - Library. The protocol itself, protcol & model abstraction, synchronous / asynchronous marshalling
  • tuic-quinn - Library. A thin layer on top of quinn to provide functions for TUIC
  • tuic-server - Binary. Minimalistic TUIC server implementation as a reference, focusing on the simplicity
  • tuic-client - Binary. Minimalistic TUIC client implementation as a reference, focusing on the simplicity

License

GNU General Public License v3.0

About

Delicately-TUICed 0-RTT proxy protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%