mholt/caddy-l4
Layer 4 (TCP/UDP) app for Caddy observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 95
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 63.0
- age_days: 2305
- days_rel: 48
- days_push: 32
- n_releases_24m: 3
Adoption not part of the score
1756 stars · 121 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A layer 4 (TCP/UDP) app for Caddy that enables composable handling of raw connections based on connection properties or stream content. It supports routing, TLS termination, proxying, echoing, blocking, and throttling via Caddy-style matchers and handlers.
Use cases
- proxy raw TCP traffic to a backend server
- route connections by TLS SNI or HTTP Host without terminating TLS
- terminate TLS then forward HTTP to one port and other protocols elsewhere
- block connections from specific IP ranges
- echo server for testing TCP/UDP clients
- multiplex SSH, HTTP, and HTTPS on a single port
- throttle bandwidth to simulate slow clients
When to choose
- you already use Caddy and need TCP/UDP routing alongside HTTP
- you need protocol sniffing and SNI-based routing on raw sockets
- you want declarative JSON or Caddyfile config for layer 4 proxying
When to avoid
- you need a battle-tested production L4 load balancer with zero breaking changes
- you need UDP-specific features beyond basic proxying
- you don't use Caddy and want a standalone proxy
Facets
plugin · maturity active
proxy routing middleware networking security networking backend self-hosted windows cross-platform go caddy layer4 tcp udp tls-termination stream-proxy protocol-detection sni-routing devops linux macos
1 source
- readme: https://github.com/mholt/caddy-l4 · fetched 2026-08-28 · 254cfbb5ab83
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mholt/caddy-l4 | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem