Repository navigation
Releases
v1.7.5
v1.7.4
v1.7.3
This release closes a Host header injection. With a wildcard or regex server and $host in the destination, a client could steer the request to an upstream of its choice: a $1 in the Host header pulled path groups into the destination, and over HTTP/2, where the Host check of HTTP/1 does not apply, / and # could change the upstream host. In either protocol, %2f in the host turned into a path separator. Reproxy now escapes $ in substituted host values and answers 400 for a Host header that fails host-header validation or contains %, over HTTP/1 and HTTP/2 alike.
Destinations can also use the groups of a regex server as ${host.1}, ${host.2} and so on, so one rule can route aaaa.example.com/some to aaaa.foo.com/some. Host values are inserted without URL escaping, so use anchored, tight captures such as ^([a-z0-9-]+)\.example\.com$. See the host substitution section in the README.
Bug Fixes
Improvements
v1.7.2
This release closes a spoofing hole. Reproxy built X-Real-IP from the left-most public address of the client-supplied X-Forwarded-For, so any client could set the address backends see, and per-user throttling could be bypassed by rotating spoofed headers. X-Real-IP, route allowlists and per-user throttling now use the address of the connection, or the X-Forwarded-For chain when the connection comes from an address listed in the new --trusted-proxy.
If reproxy runs behind a CDN, a load balancer or another proxy, list its addresses in --trusted-proxy when upgrading (for Cloudflare, its published IP ranges). Without it, backends see the proxy's address in X-Real-IP, the proxy's X-Forwarded-Proto and X-Forwarded-Port are dropped, and throttling counts requests per proxy address. Reproxy no longer starts with --remote-lookup-headers unless --trusted-proxy is also set. See "Client address and forwarded headers" in the README.
Bug Fixes
- take X-Real-IP from the TCP peer, add --trusted-proxy #267 @umputun
- keep range responses intact under gzip, add --gzip-exclude #266 @umputun
- keep Content-Encoding on gzip-compressed error responses #265 @umputun
- bound mapper cache and reuse host regexes #262 @umputun
- match routes on canonical escaped paths #261 @umputun
- make DNS-01 propagation timeout configurable #260 @umputun
Improvements
v1.7.1
Docker images for v1.7.0 were never published. The build on that tag failed on a flaky test, the docker workflow correctly refused to publish, but GoReleaser was not gated on the same build and released the binaries anyway. This release fixes the pipeline and ships the images.
What you get depends on how you run reproxy. Container users are effectively upgrading from v1.6.0, since no v1.7.0 image ever existed, so this release also brings them the security fix, the two routing fixes and per-route timeout listed under v1.7.0. Binary and package users already received all of that in v1.7.0 and get only the two changes below.
Improvements
- gate release publishers on tests, so a failed tag build can no longer produce binaries without images #259 @umputun
- fix flaky tests from getFreePort port-allocation race 1860b58 @umputun
Included from v1.7.0, now published as images
- per-route timeout and throttle #253 @umputun
- file provider dropping config changes made within the delay window #256 @paskal
- load balancing on catch-all server broken by default-route dedup #255 @paskal
- critical and major issues from code audit #254 @umputun
- bump golang.org/x/net to v0.55.0 to fix GO-2026-5026 (security) #257 @paskal
v1.7.0
New Features
Bug Fixes
v1.6.0
New Features
Bug Fixes
Improvements
v1.5.0
Version 1.4.0
Features
- #241 add configurable Docker API version flag (
--docker.api-version, env:DOCKER_API_VERSION). Defaults to1.24for backward compatibility. Users on Docker 29+ should set this to1.44. - #239 add low-cardinality mode for Prometheus metrics via
--metrics.labelsflag - #237 add per-route basic authentication via
reproxy.authlabel or static configuration - #236 add DNS-01 ACME challenge providers: DigitalOcean, Hetzner, Linode, GoDaddy, Namecheap, Scaleway, Porkbun, DNSimple, DuckDNS
Maintenance
- #238 modernize release automation with GoReleaser and multi-arch Docker builds (linux/amd64, linux/arm64)
Full Changelog: v1.3.0...v1.4.0
Version 1.3.0
Features
- #202 add acme DNS-01 challenge support via certmagic
- #235 Add configurable upstream connection limits
- #234 Update SSL autocert to dynamically check discovered servers
Improvements
- #217 support headers with multiple colons in value (e.g. CSP)
- #194 Improve documentation on non-root container usage
- #220 Update base image in Dockerfile to latest version, add note on user
Maintenance
- #233 Maintenance: update dependencies and fix linter warnings
- #231 bump deps but keep certmagic
- #229 Update Dependabot configuration to stop automatic PRs
- #223 Configure Dependabot to only provide security updates for Go
- #218 Bump the go-modules-updates group with 2 updates
New Contributors
- @Semior001 made their first contribution in #202
Full Changelog: v1.2.3...v1.3.0