Skip to content

Add external egress authorization gate - #10

Open
yourbuddyconner wants to merge 3 commits into
mainfrom
feat/external-egress-authorization
Open

yourbuddyconner wants to merge 3 commits into
mainfrom
feat/external-egress-authorization

Conversation

@yourbuddyconner

Copy link
Copy Markdown
Collaborator

Summary

Add a fixed fail closed external authorization gate immediately before each canonical workload destination DNS and dial operation.

This change adds strict destination canonicalization, target bound non cloneable dial proofs, a dedicated direct TLS callback client, strict v1 request and response handling, immutable reload identity, bounded audit and metrics fields, and coverage for HTTP, HTTPS MITM, CONNECT passthrough, bumped tunnel requests, and SOCKS5. The resolved IP guard remains between DNS and socket connect.

Specs, configuration and security guidance, Kubernetes guidance, schema, conformance vectors, and dependency security updates are included.

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
  • acceptance Docker Compose suite
  • docker build -t hematite:test .
  • tests/chart/render-test.sh
  • cargo audit
  • git diff --check

K3s execution was attempted but the sandbox cannot mount sysfs for the nested container: operation not permitted. Chart rendering and lint passed.

@socket-security

socket-security Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedrustls@​0.23.43 ⏵ 0.23.458110093100100
Updatedlru@​0.16.4 ⏵ 0.18.410010093100100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant