Have bitcoind recommend a secure RPC password. Increase invalid password delay.
authorGregory Maxwell <greg@xiph.org>
Sun, 5 Feb 2012 07:30:43 +0000 (02:30 -0500)
committerLuke Dashjr <luke-jr+git@utopios.org>
Wed, 8 Feb 2012 03:21:13 +0000 (22:21 -0500)
commitcac23a5a0b7dc993ea1fb1513159db0af994d0ff
treeb10ffecae99f339e9f556a69c4a23e5287afd470
parentc11e2b8679e13f739a58faf2a3439d4aaed24364
Have bitcoind recommend a secure RPC password. Increase invalid password delay.

Help users avoid insecure configurations a bit by recommending a
secure RPC password and increasing the incorrect password delay.

This may open up a RPC DOS for users with exposed RPC ports and
short passwords. Since users shouldn't have exposed RPC ports OR
short passwords, the DOS risk is preferable to the compromise
risk.

Also logs the client IP address for incorrect attempts.
src/rpc.cpp