Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.
Перейти к файлу
Nick Banks 1cca197c1d
More Perf Pipeline Options (#914)
2020-10-14 17:52:43 -07:00
.azure More Perf Pipeline Options (#914) 2020-10-14 17:52:43 -07:00
.config Add Database Server ASP.NET Core Source Code (#510) 2020-06-17 15:54:21 -07:00
.github Fix CodeQL Break (#851) 2020-09-20 15:24:38 -07:00
cmake Add support for SourceLink for msquic (#591) 2020-07-17 15:20:22 -07:00
docs Some Initial Diagnostics Documentation (#885) 2020-10-06 07:58:16 -07:00
scripts Support Random Memory Allocation Failures (For Testing) (#909) 2020-10-14 09:18:35 -07:00
src Support Random Memory Allocation Failures (For Testing) (#909) 2020-10-14 09:18:35 -07:00
submodules OpenSSL master-alpha4-quic-support (#754) 2020-08-21 07:46:20 -07:00
.dockerignore Change clog to use a published nuget package (#612) 2020-07-21 12:30:43 -07:00
.editorconfig Add Database Server ASP.NET Core Source Code (#510) 2020-06-17 15:54:21 -07:00
.gitattributes Fixes and Documentation for PGO (#480) 2020-06-12 08:24:32 -07:00
.gitignore Add multi system test platform infrastructure (#573) 2020-07-09 10:30:02 -07:00
.gitmodules OpenSSL master-alpha4-quic-support (#754) 2020-08-21 07:46:20 -07:00
CMakeLists.txt Remove a lot of options from openssl to decrease binary size (#910) 2020-10-14 09:36:46 -07:00
Dockerfile Remove COPY for old server cert files 2020-09-22 07:51:47 -07:00
LICENSE Normalize Line Endings (#384) 2020-05-12 19:08:05 -07:00
README.md Reordered protocol features 2020-10-13 07:44:31 -07:00
msquic.dbgext.sln Normalize Line Endings (#384) 2020-05-12 19:08:05 -07:00
msquic.kernel.sln Implement Kernel Mode Performance Testing (#722) 2020-08-21 13:46:39 -07: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 Test Status Code Coverage CodeQL Language grade: C/C++

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.
  • Relaible and unreliable delivery of application data.
  • Exchange application data in the first round trip (0-RTT).
  • Improved (compared to TCP) congestion control and loss recovery.
  • Survives a change in the clients IP address or port.
  • Stateless load balancing.
  • Easily extendable for new features and extensions.

Important The QUIC spec is currently in IETF last call and should move to IESG review by Nov 2020. From there it will likely take a few months before it is finalized to RFC.

Drafts: Transport, TLS, Recovery, Datagram, Load Balancing

Important Several QUIC protocol features are not yet fully implemented:

  • 0-RTT
  • Client-side Migration
  • Server Preferred Address
  • Path MTU Discovery

Library Features

  • Cross-platform support.
  • Optimized for client and server.
  • Optimized for maximal throughput and minimal latency.
  • Asynchronous IO.
  • Receive side scaling (RSS).
  • UDP send and receive coalescing support.

Platform Support

MsQuic currently officially supports the following platform configurations. Information on support for MsQuic itself is located in Support.md.

Windows 10

On Windows 10, MsQuic relies on built-in support from Schannel for TLS 1.3 functionality. MsQuic is shipped in-box in the Windows kernel in the form of the msquic.sys driver, to support built-in HTTP and SMB features. User mode applications use msquic.dll (built from here) and package it with their app.

Important This configuration requires running the latest Windows Insider Preview Builds for Schannel's TLS 1.3 support.

Important This configuration does not support 0-RTT due to Schannel's current lack of support.

Linux

On Linux, MsQuic relies on OpenSSL for TLS 1.3 functionality.

Important This configuration relies on an outstanding pull request to OpenSSL master for QUIC/TLS support. It is still currently unknown as to when it will be merged into master. See here for more details.

Important This configuration does not support 0-RTT. Complete integration with OpenSSL is an ongoing effort.

Other

For testing or experimentation purposes, MsQuic may be built with other configurations, but they are not to be considered officially supported unless they are listed above. Any bugs found while using these configurations may be looked at, but no guarantees are provided that they will be fixed.

Documentation

Contributing

For information on contributing, please see our contribution guidlines.

Important - We are still bringing up important regression tests for the core code. Until they are onboarded, any external contributions to the core or kernel mode files in the platform will not be accepted. This is only a temporary restriction and we are working to complete it by the end of 2020.