diff options
| author | Adam Soltys <[email protected]> | 2026-12-02 13:45:44 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-12-02 13:45:44 -0700 |
| commit | 5b7881f3195d9c1479cfffc207014540a9db4d9a (patch) | |
| tree | 1316b495e207db65001c120c0ef3ff48c26c59f4 /sampleconfig/certbot | |
| parent | 796999cb8a6fc7abbfb9dc2643e372795fed9882 (diff) | |
| download | coinos-server-5b7881f3195d9c1479cfffc207014540a9db4d9a.tar.gz coinos-server-5b7881f3195d9c1479cfffc207014540a9db4d9a.zip | |
register: cap account creation over Tor at five an hour
Onion clients all arrive from the Tor gateway's address, so the per-IP and
per-range signup caps either let them create unlimited accounts or would
count unrelated internal traffic. Mark requests that came through Tor
(including ones the UI's server-side rendering relays, which forward the
client address in cf-connecting-ip) with req.isTor, and give them one
shared quota of five new accounts an hour for /register and first-time
nostr logins. The recaptcha bypass for onion users now uses the same flag
instead of trusting the Host header.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
Diffstat (limited to 'sampleconfig/certbot')
0 files changed, 0 insertions, 0 deletions
