diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-08-26 17:08:18 -0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-27 18:56:54 +0000 |
commit | e1c2163fb7b3f37932be9093cadd6cce250844a5 (patch) | |
tree | 001977dca177027e5367c394132e65c2313885da /contrib | |
parent | 2eaeb17fe16594313004c56450fcc1a698d50bb7 (diff) |
Alert system DoS prevention
This fixes two alert system vulnerabilities found by
Sergio Lerner; you could send peers unlimited numbers
of invalid alert message to try to either fill up their
debug.log with messages and/or keep their CPU busy
checking signatures.
Fixed by disconnecting/banning peers if they send 10 or more
bad (invalid/expired/cancelled) alerts.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions