02907e0b76
- miTLS support (Windows) - Tools fixes - Tests fixes |
||
---|---|---|
.azure | ||
bin | ||
core | ||
docs | ||
inc | ||
manifest | ||
platform | ||
submodules | ||
test | ||
tools | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
azure-pipelines.yml |
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.
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.