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:39:09 +0000 (22:39 -0500)
commitda6a3919a96b6070a1facc8ae8c8946bd74838e1
treeaa28fcb4f14318d2c5e6965d80130fe5133f8e7f
parente7c3e6e4b4bbfaf6772f0c8bd6b4278d0120e6e4
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/bitcoinrpc.cpp