All Projects → NTAP → Quant

NTAP / Quant

Licence: bsd-2-clause
QUIC implementation for POSIX and IoT platforms

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Quant

Quinn
Async-friendly QUIC implementation in Rust
Stars: ✭ 1,859 (+1047.53%)
Mutual labels:  quic
Quic
A Go implementation of the QUIC API for Peer-to-peer and Client-to-Server Connections
Stars: ✭ 137 (-15.43%)
Mutual labels:  quic
Shell Tricks
Simple bash tricks which make your life easier.
Stars: ✭ 153 (-5.56%)
Mutual labels:  posix
Wg Materials
Agenda, Minutes, Presentations
Stars: ✭ 120 (-25.93%)
Mutual labels:  quic
Hysteria
Hysteria is a set of relay & proxy utilities that are specifically optimized for harsh network environments
Stars: ✭ 121 (-25.31%)
Mutual labels:  quic
Ytdlrc
☁️ Downloads videos and metadata with youtube-dl and moves each file on completion to an rclone remote
Stars: ✭ 140 (-13.58%)
Mutual labels:  posix
Libarchive
Multi-format archive and compression library
Stars: ✭ 1,625 (+903.09%)
Mutual labels:  posix
Quic
libquic: QUIC (Quick UDP Internet Connections)
Stars: ✭ 159 (-1.85%)
Mutual labels:  quic
Mksh
MirBSD Korn Shell Source Code Mirror – This is a publish-only repository and all pull requests are ignored. This repository is a mirror and may receive forced (non-fast-forward) updates. Please contribute to the CVS repository of The MirOS Project instead.
Stars: ✭ 130 (-19.75%)
Mutual labels:  posix
Algernon
🎩 Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support
Stars: ✭ 1,880 (+1060.49%)
Mutual labels:  quic
Asus Fan Control
🌀 Fan control for ASUS devices running Linux.
Stars: ✭ 120 (-25.93%)
Mutual labels:  posix
Patch
Something could be public patches
Stars: ✭ 120 (-25.93%)
Mutual labels:  quic
Http3 Explained
A document describing the HTTP/3 and QUIC protocols
Stars: ✭ 1,860 (+1048.15%)
Mutual labels:  quic
Polyglot
Color, ASCII-only Git prompt for zsh, bash, ksh93, mksh, pdksh, dash, and busybox ash
Stars: ✭ 118 (-27.16%)
Mutual labels:  posix
Seaweedfs
SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files! Blob store has O(1) disk seek, cloud tiering. Filer supports Cloud Drive, cross-DC active-active replication, Kubernetes, POSIX FUSE mount, S3 API, S3 Gateway, Hadoop, WebDAV, encryption, Erasure Coding.
Stars: ✭ 13,380 (+8159.26%)
Mutual labels:  posix
Quicssh
SSH over QUIC
Stars: ✭ 116 (-28.4%)
Mutual labels:  quic
Vcsh
config manager based on Git
Stars: ✭ 1,836 (+1033.33%)
Mutual labels:  posix
Nos
RTOS for microcontrollers
Stars: ✭ 160 (-1.23%)
Mutual labels:  posix
Quic Proxy
A http/https proxy using QUIC as transport layer
Stars: ✭ 159 (-1.85%)
Mutual labels:  quic
Siris
DEPRECATED: The community driven fork of Iris. The fastest web framework for Golang!
Stars: ✭ 146 (-9.88%)
Mutual labels:  quic

Quant

Build Status Total alerts Coverity Badge Language grade: C/C++ Codacy Badge

Quant is a BSD-licensed C11 implementation of the emerging IETF QUIC standard for a new transport protocol over UDP, intending to support the new HTTP/3 standard and other application protocols.

Quant uses the warpcore zero-copy userspace UDP/IP stack, which in addition to running on on top of the standard Socket API has support for the netmap fast packet I/O framework, as well as the Particle and RIOT IoT stacks. Quant hence supports traditional POSIX platforms (Linux, MacOS, FreeBSD, etc.) as well as embedded systems.

The quant repository is on GitHub.

NOTE: Quant implements the QUIC transport layer, but does NOT implement an HTTP/3 binding.

NOTE: Quant is a research effort and not meant for production use.

Prerequisites

Quant uses picotls for its TLS 1.3 implementation. and klib and timeout for some data structures and functions. These dependencies will be built automatically.

The example HTTP/0.9 client and server use http-parser.

So you need to install some dependencies. On the Mac, the easiest way is via Homebrew, so install that first. Then, do

brew install cmake http-parser pkg-config

On Debian-based Linux systems, do

apt install libssl-dev libhttp-parser-dev libbsd-dev pkgconf g++

On Darwin, you must also install the Xcode command line tools first:

xcode-select --install

Quant uses the cmake build system and Doxygen to generate the documentation. If doxygen is available, th documentation can be locally built vi the doc target.

Building

To do an out-of-source build of quant (best practice with cmake), do the following to build with make as a generator:

git submodule update --init --recursive
mkdir Debug
cd Debug
cmake ..
make

The default build (per above) is without optimizations and with extensive debug logging enabled. In order to build an optimized build, do this:

git submodule update --init --recursive
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make

(I really recommend Ninja over make.)

Building for RIOT or Particle

Please see README.md in the riot and particle subdirectories.

Docker container

Instead of building quant for yourself, you can also obtain a pre-built Docker container. For example,

docker pull ntap/quant:latest

should download the latest build on the master branch. The docker container by default exposes a QUIC server on port 4433 that can serve /index.html and possibly other resources.

To map the UDP port, run the docker container with

docker run -p4433:4433/udp ntap/quant

Testing and interop

The libquant library will be in lib. There are client and server examples in bin. They explain their usage when called with a -h argument.

The current interop status of quant against other stacks is captured in this spreadsheet.

Development and contributing

At the moment, development happens in master, and branches numbered according to the IETF Internet Drafts they implement serve as archives.

I'm happy to merge contributions that fix bugs or add features. Please send pull requests.

(Contributions to the underlying warpcore stack are also very welcome.)

Copyright

Copyright (c) 2016-2020, NetApp, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Acknowledgment

This software has received past funding from the European Union's Horizon 2020 research and innovation program 2014-2018 under grant agreement 644866 ("SSICLOPS"). The European Commission is not responsible for any use that may be made of this software.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].