Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.
Перейти к файлу
Nick Banks 53198319bd
Tracing Refactoring (#30)
This PR syncs the latest tracing refactoring work to hook up LTTng.
2019-12-21 10:21:23 -08:00
.azure Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
bin Add Azure Pipeline Test Support (#8) 2019-11-12 12:26:18 -08:00
core Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
docs Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
inc Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
manifest Logging Refactor (#29) 2019-12-12 15:50:16 -08:00
platform Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
submodules Sync Latest - 12/6/19 (#27) 2019-12-06 18:01:48 -08:00
test Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
tools Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
.gitignore Initial Commit of MsQuic Code (#1) 2019-10-30 14:51:06 -07:00
.gitmodules Sync Latest - 12/6/19 (#27) 2019-12-06 18:01:48 -08:00
CMakeLists.txt Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2019-10-25 21:10:27 -07:00
LICENSE Initial Commit of MsQuic Code (#1) 2019-10-30 14:51:06 -07:00
README.md Sync Latest - 11/27/19 (#14) 2019-11-27 12:08:15 -08:00
SECURITY.md Initial SECURITY.md commit 2019-10-25 21:10:30 -07:00
azure-pipelines.yml Tracing Refactoring (#30) 2019-12-21 10:21:23 -08:00

README.md

MsQuic

MsQuic is a Microsoft implementation of the IETF QUIC protocol. It is cross platform, written in C and designed to be a general purpose QUIC library.

Important The MsQuic library, as well as the protocol itself, is still a work in progress. Version 1 is not yet finalized and may continue to experience breaking changes until it is finalized.

Build Status

Protocol Features

QUIC has many benefits when compared to existing TLS over TCP scenarios:

  • Handshake authenticated with TLS 1.3
  • All packets are encrypted
  • Parallel streams of application data.
  • Improved (compared to TCP) congestion control and loss recovery.
  • Exchange application data in the first round trip (0-RTT).
  • Survives a change in the clients IP address or port.
  • Easily extendable for new features (such as unreliable delivery).

Important Several QUIC protocol features are not fully implemented:

  • 0-RTT with Schannel and OpenSSL
  • NAT Rebinding
  • Client Migration
  • Server Preferred Address
  • Path MTU Discovery

Library Features

  • Optimized for maximal throughput and minimal latency.
  • Asychronous IO.
  • Receive side scaling (RSS).
  • UDP send and receive coalescing support.

Building

You can find detailed instructions for building the library here.

Documentation

You can find more detailed information on how to use MsQuic in the the API documentation.

Source Code

The source is divided into several directories:

  • bin - Packages up all static libraries into the platform specific binaries.
  • core - Platform independent code that implements the QUIC protocol.
  • docs - All MsQuic documentation.
  • inc - Header files used by all the other directories.
  • manifest - Windows ETW manifest and related files.
  • platform - Platform specific code for OS types, sockets and TLS.
  • submodules - All the modules that MsQuic depends on.
  • test - Test code for the MsQuic API / protocol.
  • tools - Tools for exercising MsQuic.
    • attack - Adversarial tool for exploiting protocol weaknesses.
    • etw - Windows specific tool for processing MsQuic ETW logs.
    • interop - Runs through the IETF interop scenarios.
    • ping - Simple tool for gathering throughput measurements. Read more here.
    • sample - Minimal example of how to use the MsQuic API.
    • spin - Randomly executes the MsQuic API to discover bugs.

Contributing

For the time being, external contributions will not be accepted. We are still working on setting up internal repository sycnhronization and continuous integration, and until that happens, this repository will be a simple copy of the Microsoft internal one.

Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.