Gavin Andresen d5a52d9b3e 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.
2012-08-26 17:08:18 -04:00
..
2012-04-27 10:14:33 -04:00
2012-08-18 16:45:24 +02:00
2012-08-01 17:49:51 +00:00
2012-08-21 22:50:00 -04:00
2012-05-18 22:02:28 +08:00
2012-05-18 22:02:28 +08:00
2012-07-11 04:26:44 +00:00
2012-07-11 04:26:44 +00:00
2012-08-01 17:49:51 +00:00
2012-05-18 22:02:28 +08:00
2012-08-01 17:49:51 +00:00
2012-08-26 17:08:18 -04:00
2012-08-26 17:08:18 -04:00
2012-08-22 13:35:33 +02:00
2012-08-01 17:49:51 +00:00
2012-05-18 22:02:28 +08:00
2012-07-04 16:40:16 +02:00
2012-04-17 20:00:55 +02:00
2012-06-29 17:26:45 +08:00
2012-06-05 16:13:16 +02:00
2012-06-25 12:28:29 +08:00
2012-05-18 22:02:28 +08:00
2012-05-18 22:02:28 +08:00