Skip to content

Commit

Permalink
Allow http2 traffic (using --own-ssl option on client) (#3)
Browse files Browse the repository at this point in the history
* wip: read SNI from ClientHello packet (ssl) (with rustls)

* wip: init sni-parser

* wip: use rustls to parse true value of SNI

* feat: sni parser (own)

* wip: pcap reader

* feat: pcap to .bin parser (client hello packets)

* feat: sni_parser without println and useless stuff

* feat: safer sni parser

* feat: nginx test docker (http1 + http2 + http3)

* feat: sni parser for quic (inner)

* wip: test parse quic

* wip: parse encrypted quic packet (using s2n proto and core)

* wip: remove quic tests (moved into new repo)

* chore: move sni parser into other crate

* chore: move sni-parser into qls crate

* wip: own-ssl setting (for http2)

* feat: working http2 own-ssl (only for http2 - ssl)
  • Loading branch information
filipton authored Sep 4, 2024
1 parent 9e1837c commit ee40ecd
Show file tree
Hide file tree
Showing 12 changed files with 410 additions and 69 deletions.
228 changes: 228 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"

utils = { path = "./utils" }
qls-proto-utils = "0.1.0"

[profile.release]
opt-level = "z" # Optimize for size.
Expand Down
3 changes: 3 additions & 0 deletions nginx-test-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM nginx:1.27.1
COPY ssl /ssl
COPY nginx.conf /etc/nginx/nginx.conf
Loading

0 comments on commit ee40ecd

Please sign in to comment.