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)
committerGregory Maxwell <greg@xiph.org>
Sun, 5 Feb 2012 07:58:35 +0000 (02:58 -0500)
commitb04f301c8edb0d062864af58e20a65079f9624b7
treec865ef05df590349810fd040089df91419520ec0
parentd2291cce9235708f3bc3f95ac1b45164a03cd2ce
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