Page MenuHomePhabricator

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

Authored by bytesofman on Oct 4 2024, 19:53.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC15a17e65c962: [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)

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable