Skip to content

Releases

v1.7.5

Choose a tag to compare

@umputun umputun released this 31 Oct 08:32

Bug Fixes

  • keep IPv6 brackets in the http-to-https redirect #272 @umputun
  • throttle before auth, plugin request fields, bounded metrics label, host parsing #271 @umputun

v1.7.4

Choose a tag to compare

@umputun umputun released this 31 Oct 07:23
34372ae

Bug Fixes

  • match host names case-insensitively and static prefixes on escaped paths #270 @umputun
  • reject path spellings that skip route policies, bump go 1.27 #269 @umputun

v1.7.3

Choose a tag to compare

@umputun umputun released this 31 Oct 05:49
e51d166

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

  • block Host header injection into destinations #268 @umputun

Improvements

  • add ${host.N} for regex server groups in destinations #268 @umputun

v1.7.2

Choose a tag to compare

@umputun umputun released this 28 Oct 01:53
3540be5

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

  • remove contradictory timing in health handler test #263 @umputun

v1.7.1

Choose a tag to compare

@umputun umputun released this 20 Aug 03:12
35cbdf7

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

Choose a tag to compare

@umputun umputun released this 15 Jul 02:41

New Features

Bug Fixes

  • 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.6.0

Choose a tag to compare

@umputun umputun released this 12 May 08:32

New Features

  • per-route forward-health-checks option #246 @kemko

Bug Fixes

  • bound RoundRobinSelector return to current n #251 @umputun

Improvements

  • bump go to 1.26 and update all dependencies #252 @umputun
  • harden workflows, upgrade actions, fix caching #248 @paskal
  • harden docker workflow against CI injection attacks #245 @paskal
  • document forward-health-checks for file and static providers 71fc7f6

v1.5.0

Choose a tag to compare

@umputun umputun released this 03 Mar 22:43
8cd52c8

New Features

  • add shell completions for bash, zsh, and fish #244 @paskal
  • add cli/environment option for disabling HTTP to HTTPS redirect #242 @2128506

Bug Fixes

  • add http.Flusher to metrics responseWriter for SSE streaming #247 @umputun
  • fix brew formula publish path 16591a0

Improvements

  • clarify that asset routes require path prefix, not regex 255f0db
  • exclude new gosec taint analysis rules in golangci config 9b1b482
  • suppress revive var-naming for plugin package in golangci config 49f6e0c
  • expand .dockerignore to reduce build context 52444ea
  • add zed editor configuration ce922a4

Version 1.4.0

Choose a tag to compare

@umputun umputun released this 02 Jan 20:01
2f85c78

Features

  • #241 add configurable Docker API version flag (--docker.api-version, env: DOCKER_API_VERSION). Defaults to 1.24 for backward compatibility. Users on Docker 29+ should set this to 1.44.
  • #239 add low-cardinality mode for Prometheus metrics via --metrics.labels flag
  • #237 add per-route basic authentication via reproxy.auth label 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

Choose a tag to compare

@umputun umputun released this 06 Dec 07:37
2c91935

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

Full Changelog: v1.2.3...v1.3.0