Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 2.75 KB

protocols_and_tools.md

File metadata and controls

49 lines (31 loc) · 2.75 KB

1. Protocols

Oasis currently supports the following protocols:

Protocol Description
BTP BATS™ Protocol
BRTP BATS™ Reliable Transport Protocol
BRTP_PROXY BATS™ Reliable Transport Protocol in Proxy mode
KCP KCP Protocol (uses KCP-TUN)
QUIC A UDP-Based Multiplexed and Secure Transport

1.1 BATS Protocol

The items BTP, BRTP,BRTP_PROXY are part of the BATS™ protocol. You can find the details in BATS™.

1.2 KCP

KCP is a fast and reliable protocol that can reduce average latency by 30% to 40% and maximum delay by a factor of three, at the cost of 10% to 20% more bandwidth usage compared to TCP.

KCP-TUN is a practical application based on KCP. It uses Reed-Solomon Codes to recover lost packets

1.3 QUIC

Oasis integrates the QUIC protocol using gost, which is implemented by quic-go.

2. Tools

Oasis currently supports the following test tools:

Tools Description Name in YAML
ping tool of sending ICMP messages ping
Iperf3 tool of perform throughput test with UDP/TCP iperf
tcp_message_endpoint tool of sending/echoing TCP messages rtt
sshping tool of sending ping messages over SSH sshping
scp tool of testing file transfer over different protocols scp

2.1 TCP messaging endpoint

The binary located in bin/tcp_message/tcp_endpoint is a tool for measuring the RTT of TCP messages over other protocols. Its source code is in bats-documentation.

2.3 sshping

sshping is a tool for sending ping messages over SSH. The source code is in sshping.

2.4 Traffic control (tc)

docs/tc-strategy.md provides a detailed explanation of the traffic control strategy in Oasis.