Docs › Releases › 1.16 › Changelog
Recurnix 1.16 changelog
Every change in 1.16, by kind. For what it means and whether to update, read the release notes.
Fixed
- Recurnix trusted no proxy, and never said so. Behind Cloudflare, nginx or a load balancer — which is how a self-hosted product is normally run —
$request->ip()returns the proxy's address, identically for every visitor.EnforceRateLimitkeys onsha1($request->ip()), so the whole internet shared one bucket: one attacker's failed logins throttle every real customer, and the attacker is indistinguishable from them. Turnstile was handed that address asremoteip, order fraud screening scored it, andlast_login_iprecorded it. Fourteen call sites in all.
Added
App\Support\TrustedProxies— pure and static: parse, validate, describe. Accepts IPv4/IPv6 addresses and CIDR ranges separated by commas, spaces or newlines, because people paste from all three. Invalid entries are dropped rather than trusted, and dropping one does not take its neighbours with it.- Settings → Security → Trusted proxies, empty out of the box.
- 17 more committed tests (130 total, 472 assertions).
Notes
- Empty is the shipped default and that is deliberate. Trusting a proxy that is not there is its own vulnerability: any visitor could then set
X-Forwarded-Forand walk past the same rate limits. Neither default is safe in general, so the field ships blank and its hint states both failure modes. Proved both ways — a forged header is ignored while untrusted. - The setting is read inside a
try/catchduring bootstrap. A database that is down must give an error page, not a boot failure, and trusting nobody is the fallback as well as the default. - The probe caught a bug in the fix. Laravel compares the wildcard by identity against a string; handed
['*']that comparison fails, the literal reaches Symfony, matches no address, and behaves exactly like trusting nobody — a setting reading "trust every hop" that does nothing. It was visible only because the probe printed the wildcard row alongside the others instead of assuming it worked.forMiddleware()now does the translation, and a test asserts the string, not the array.