Giter Site home page Giter Site logo

syncsynchalt / illustrated-quic Goto Github PK

View Code? Open in Web Editor NEW
198.0 4.0 17.0 2.38 MB

The Illustrated QUIC Connection: Every byte explained

License: MIT License

Makefile 2.78% C 16.20% Shell 1.69% HTML 71.81% CSS 4.34% JavaScript 3.17%
curve25519 http3 quic security tls udp x25519

illustrated-quic's Introduction

The Illustrated QUIC Connection

Published at https://quic.xargs.org

  • site/: page source for the finished product
  • server/main.c: server code
  • client/main.c: client code
  • quiche/: patch of Cloudflare Quiche / BoringSSL that removes any random aspects of the documented connection
  • captures/: PCAP and keylog files

See also https://github.com/syncsynchalt/illustrated-tls13 for a similar TLS version of this project.

Build instructions

If you'd like a working example that reproduces the exact handshake documented on the site:

git clone https://github.com/syncsynchalt/illustrated-quic.git
cd illustrated-quic/
cd quiche/
make
cd ../server/
make
cd ../client/
make

Then open two terminals and run ./server in the server/ subdir and ./client in the client/ subdir.

This has been shown to work on macOS 12 and only has a few easy-to-find dependencies: gcc or clang, rust, cmake, make, patch.

illustrated-quic's People

Contributors

syncsynchalt avatar thekuwayama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

illustrated-quic's Issues

chinese translation

Hi, I am a web developer from China. What you wrote was very helpful to me, so I translated these contents from your site. Hope this can influence more people.

You can find the source code on github and see the translated content on github-page.

If there are any copyright or other related issues, please advise me!

Invalid header protection value

If my math is correct, I think that the encoded packet header byte on the last frame (UDP Datagram 8 - Close connection) at [https://quic.xargs.org/#server-application-packet-2] is incorrect. Packet header byte 54 should be 44.

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.