dispatchrun / timecraft

The WebAssembly Time Machine
https://docs.timecraft.dev
GNU Affero General Public License v3.0
329 stars 6 forks source link

timecraft: spawn a sidecar to proxy outbound network traffic #200

Closed chriso closed 1 year ago

chriso commented 1 year ago

When spawning processes via the Timecraft runtime API, it's now possible to spawn a sidecar process that proxies outbound traffic. For example, you can use the sidecar to change/reject HTTP requests on the way out, and change HTTP responses on the way back in. You could also implement request coalescing / caching / authentication / etc at this layer. This complements the sandboxing capabilities of Timecraft, allowing you to build privileged middleware that's hidden from an untrusted process.