HomePhabricator

[token-server] log IP addresses of rate limited requests

Description

[token-server] log IP addresses of rate limited requests

Summary: To support banning IPs that make too many attempts, log when rate limited attempts occur.

Test Plan:
I ran this locally and could create the logs. npm test and confirm change only adds logs.

image.png (112×1 px, 33 KB)

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D16860

Details

Provenance
bytesofmanAuthored on Oct 4 2024, 19:53
bytesofmanPushed on Oct 4 2024, 23:04
Reviewer
Restricted Project
Differential Revision
D16860: [token-server] log IP addresses of rate limited requests
Parents
rABC5abb07d49ba8: Add link to credit paper in RTT comment
Branches
Unknown
Tags
Unknown