fwkz/dill
The project 'fwkz/dill' is a cloud-ready Layer 4 (L4) TCP proxy designed with first-class support for dynamic listeners, enabling flexible and dynamic routing of TCP traffic. It allows exposing dynamic backends on static frontend ports, which is a common requirement for modern proxies. The proxy supports load balancing multiple dynamic backends from a single ingress point using on-demand opened ports, addressing the complexity and security concerns typically associated with such configurations. The project provides multiple routing providers to manage live changes to routing configurations, including file-based routing, HTTP polling, Consul, and Nomad integration. This flexibility allows users to define how incoming traffic is routed dynamically and without downtime. Installation options include pre-built binaries, building from source, and Docker images, making it accessible for various deployment environments. The configuration supports multiple formats such as TOML, YAML, JSON, and environment variables, enhancing usability and integration. The routing providers are a key feature: the file provider allows simple static routing with live updates by watching configuration files; the HTTP provider polls an endpoint for routing configuration; the Consul provider integrates with Consul service registry to dynamically expose services based on tags; and the Nomad provider leverages Nomad's native service discovery to expose workloads dynamically. This makes 'dill' particularly powerful in environments using modern workload schedulers like Nomad or Kubernetes. The project supports advanced features like load balancing, proxying through SOCKS5 proxies, and detailed configuration options for listeners, runtime settings, and routing behavior. It is designed to handle dynamic service discovery and routing changes seamlessly, making it suitable for cloud-native and microservices architectures. Overall, 'fwkz/dill' is a robust and flexible TCP proxy solution that integrates well with HashiCorp Nomad and other service discovery tools, enabling dynamic, secure, and efficient traffic routing in modern cloud environments.