Skip to content

PodToast 0.4.0 — bounded traffic monitoring and connection faults

Choose a tag to compare

@ikimpriv ikimpriv released this 15 Nov 20:56
· 9 commits to main since this release

PodToast 0.4.0 adds bounded pod traffic monitoring and connection-fault experiments for FarshMac. TLS remains encrypted; this release does not generate certificates or modify trust stores.

Image: ghcr.io/ikimpriv/podtoast:0.4.0 — Linux amd64 and arm64.

  • Select one IPv4 TCP port, peer CIDR and inbound/outbound direction.
  • Apply initial connection delay, per-connection bandwidth limits, real packet loss or timed TCP resets.
  • View connection and byte statistics, plus the first HTTP/1 request/response metadata per connection.
  • Use a mandatory 5–600 second deadline and one experiment per pod.
  • An independent watchdog owns installation and cleanup, including controller-crash recovery and rollback of partial installation. Unrelated iptables rules are preserved.

Requires NET_ADMIN and cluster policies permitting the Network profile. FarshMac rejects host namespaces. The active proxy changes the upstream client source address and redirects new connections only; packet loss also affects matching packets in existing connections. IPv6, UDP, full HTTP message capture, HTTP/2 decoding and PCAP export are not included. Simultaneous loss of both proxy and watchdog cannot guarantee cleanup in a surviving network namespace.

Validation: race tests and real isolated Docker fault/recovery tests passed on both amd64 and arm64 GitHub runners. FarshMac's disposable kind tests also passed for inbound/outbound ephemeral-container traffic control alongside distroless file and shell operations.

See traffic documentation for API, lifecycle and limitations.