GithubHelp home page GithubHelp logo

kennethlaskoski / swift-quic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swift-quic/swift-quic

0.0 0.0 0.0 551 KB

Swift implementation of the quic protocol.

License: Apache License 2.0

Swift 100.00%

swift-quic's Introduction

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!

swift-quic's People

Contributors

btoms20 avatar karthikdasari0423 avatar kennethlaskoski avatar

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.