Closed nickodell closed 10 years ago
Wildcards are indeed no longer supported. You need to use subnets now. See the error:
Error: Invalid -rpcallowip subnet specification: *. Valid are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24).
So in your case to allow everything that would be 0.0.0.0/0
(just ipv4) or ::/0
(ipv4 and ipv6).
(note allowing everything to connect to your RPC is begging to get robbed)
@luke-jr Only if the wallet is enabled. But besides that, in general RPC is not hardened to the internet, there are various DoS attacks possible for someone in the rpcallow list, even if those that don't know the password.
@laanwj thanks for the tip with 0.0.0.0/0
, as a replacement for *
which is fine for the testnet server we are running. @changetip 1 lunch
Hi @laanwj, @gorillamania sent you a Bitcoin tip worth 1 lunch (32,906 bits/$8.00), and I'm here to deliver it ➔ collect your tip.
@gorillamania Thanks for the tip. This was in the table in the release notes as well see https://github.com/bitcoin/bitcoin/blob/0.10/doc/release-notes.md#rpc-access-control-changes
Current commit: def2fdb4b9b52fa908c11fe2f5a42ea04f8e9f11 OS: Debian Wheezy
This is my bitcoin.conf:
This is what happens when I run bitcoind: