|
|
|
@ -1007,7 +1007,7 @@ void ServiceConnection(AcceptedConnection *conn)
@@ -1007,7 +1007,7 @@ void ServiceConnection(AcceptedConnection *conn)
|
|
|
|
|
{ |
|
|
|
|
LogPrintf("ThreadRPCServer incorrect password attempt from %s\n", conn->peer_address_to_string().c_str()); |
|
|
|
|
/* Deter brute-forcing short passwords.
|
|
|
|
|
If this results in a DOS the user really |
|
|
|
|
If this results in a DoS the user really |
|
|
|
|
shouldn't have their RPC port exposed. */ |
|
|
|
|
if (mapArgs["-rpcpassword"].size() < 20) |
|
|
|
|
MilliSleep(250); |
|
|
|
|