Commit 015e1f2
committed
HTTP/2 CONNECT proxy with mTLS client auth and policy enforcement
Proxy accepts HTTP/2 CONNECT requests over mTLS, extracts a custom X.509
extension from the client certificate, and evaluates it against a TOML
policy to authorize connections to requested destinations. Allowed
connections are tunneled as opaque TCP via bidirectional byte copy.
Includes structured logging (tracing), OpenTelemetry export, Prometheus
metrics, and a comprehensive test suite (38 integration + 8 e2e tests
covering tunnel success, policy denial, extension enforcement, mTLS
fail-closed, unreachable destinations, and method rejection).0 parents commit 015e1f2
16 files changed
Lines changed: 4683 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments