A disturbingly large number of listening nodes appear to be also exposing their RPC server to the public internet. To attempt to mitigate this:
- Only ever bind localhost by default, even if
rpcallowipis specified. (A warning is given ifrpcallowipis specified withoutrpcbind, since it doesn’t really make sense to do.) - Warn about exposing the RPC server to untrusted networks if the user explicitly binds to any INADDR_ANY address.
- Include a warning about untrusted networks in the
--helpdocumentation forrpcbind.