Page MenuHomePhabricator

Add BCLog::NET category to disconnect ban message
ClosedPublic

Authored by schancel on May 30 2018, 18:04.

Details

Summary

Continuous reconnecting currently causes banned nodes to spam logs and fill them up with excessive amounts of data. This commit makes such messages goto the NET logging category, which is non-default. This should remove the DoS vector unless individuals are explicitly interested in such messages.

Test Plan
NA

Diff Detail

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

Event Timeline

Add net category to banning log

schancel retitled this revision from Remove disconnect ban message to remove DoS vector to Add BCLog::NET category to disconnect ban message.May 30 2018, 18:06
schancel edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 30 2018, 18:20
This revision was automatically updated to reflect the committed changes.