• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / remark42 / 28722374138
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/trusted-proxy-realip
DEFAULT BRANCH: master
Ran 04 Jul 2026 11:00PM UTC
Jobs 1
Files 53
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jul 2026 10:58PM UTC coverage: 84.533% (+0.1%) from 84.427%
28722374138

Pull #2116

github

paskal
fix: add --trusted-proxy to gate client-IP forwarding headers

Rate limiting and (with --votes-ip) vote de-duplication key on the client IP,
recovered from forwarding headers (X-Real-IP / X-Forwarded-For / CF-Connecting-IP)
when behind a reverse proxy. Those headers were accepted from any client, so a
caller could set them to change its apparent IP.

Add --trusted-proxy / TRUSTED_PROXY (comma-separated CIDR/IP): forwarding headers
are honored only when the direct peer is a trusted proxy; other peers keep their
real socket address. Unset preserves the previous trust-all behavior (with a
startup warning) so existing deployments keep working on upgrade.

Docs: a 'Trusted proxies and client IP' section with per-topology guidance, plus a
note in the nginx manual.
Pull Request #2116: fix: add --trusted-proxy to gate client-IP forwarding headers

64 of 66 new or added lines in 3 files covered. (96.97%)

6471 of 7655 relevant lines covered (84.53%)

36.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
95.52
0.28% backend/app/rest/api/middleware.go
Jobs
ID Job ID Ran Files Coverage
1 28722374138.1 04 Jul 2026 11:00PM UTC 53
84.53
GitHub Action Run
Source Files on build 28722374138
  • Tree
  • List 53
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2116
  • PR Base - master (#28682486334)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc