Skip to content
Commit Detail

Commit a724cdd

Author
Rachel Chen <rachel@chens.email> 2026-10-23 22:59:31 -0700
Parents
2191302
Tree
f60d218
gateway: enforce shared web protection on HTTP tunnels

Wire one WAF manager per server into public HTTP tunnel handling after
route lookup, so known missing destinations still return 404. Existing
clients benefit from server protection without configuration changes.

Add ownership-checked hostname policies and scoped rule exceptions through
Twirp. Assign gateway request IDs and propagate them through responses,
client logs, and upstream headers. Preserve streaming and WebSocket
upgrades; raw TCP and CONNECT remain outside HTTP inspection.

Files changed

21 files changed+5 added~16 modified