Giter VIP home page Giter VIP logo

SwiftQuic

SwiftQuic is an open-source Swift implementation of the QUIC protocol.

Swift

⚠️ This implementation is under heavy development and is not ready for production!

Current Progress

  • Complete a standard handshake using TLS 1.3
  • Open a stream and echo data

Note: The above can be done between either...

How It Works

  • All of the Crypto stuff is mostly contained within the Crypto folder and the PacketProtectorHandler
  • The NIO Pipeline configuration is discussed here
  • The TLS Handshake uses a slightly modified version of swift-nio-ssl available here
  • The main connection logic is handled in the read and write methods of the Client and Server Handlers for the time being (these will eventually be merged into a more generalized StateHandler).

TODO's

  • A proper / robust Handshake algorithm that handles versions negotiation, 0RTT data, etc...
  • A proper / robust ACK Handler / Emitter
  • A proper / robust Connection Muxer
  • A proper / robust Stream Muxer
  • Connection State Management
  • Stream State Management
  • Connection and Stream termination / clean up
  • HTTP3 support
  • Connection and Stream API
  • ... Everything else 😅

There's loads to do, so if you can, please feel free to contribute to the project 🤝

If you have any questions or comments please start a discussion, we're happy to chat!

Credit

  • SwiftNIO - Most of the NIO networking code is heavily inspired by existing NIO projects. Massive thanks and credit to the SwiftNIO team.
  • Quiche
  • Go Quic
  • Kenneth Laskoski for kickstarting this effort!

SwiftQuic's Projects

base-drafts icon base-drafts

Internet-Drafts that make up the base QUIC specification

curl icon curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features

lsquic icon lsquic

LiteSpeed QUIC and HTTP/3 Library

msquic icon msquic

Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.

mvfst icon mvfst

An implementation of the QUIC transport protocol.

picoquic icon picoquic

Minimal implementation of the QUIC protocol

qlog icon qlog

The IETF I-D documents for the qlog format

quant icon quant

QUIC implementation for POSIX and IoT platforms

quicly icon quicly

A modular QUIC stack designed primarily for H2O

s2n-quic icon s2n-quic

An implementation of the IETF QUIC protocol

xquic icon xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.