fix(ci): capture private socket owner and isolate OIDC forwarder namespace

This commit is contained in:
victorsteele428 committed 2026-11-22 19:40:34 +00:00
1 parent 1cf6d65f04
commit 79dac4f5bb
2 files changed
+70 -13

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
"""CI-only, private-network, opaque TCP relay for ZITADEL localhost issuer.
Run exclusively in the run-owned Traefik proxy network namespace. This code
Run exclusively in a separate run-owned private Docker network namespace. This code
never sees or parses HTTP requests, headers, query strings, credentials or
cookies; it forwards bytes from IPv4 127.0.0.1:8080 to 127.0.0.1:80.
cookies; it forwards bytes from IPv4 127.0.0.1:8080 to private proxy:80.
No public bind, privileged sockets, credentials or filesystem writes.
"""
from __future__ import annotations
@@ -13,7 +13,7 @@ import sys
LISTEN_ADDRESS = "127.0.0.1"
LISTEN_PORT = 8080
TARGET_ADDRESS = "127.0.0.1"
TARGET_ADDRESS = "proxy"
TARGET_PORT = 80
CHUNK_SIZE = 65536