Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC: add/remove -rpcallowip and -rpcauth options without restart #16543

Closed
hebasto opened this issue Aug 3, 2019 · 8 comments
Closed

RPC: add/remove -rpcallowip and -rpcauth options without restart #16543

hebasto opened this issue Aug 3, 2019 · 8 comments

Comments

@hebasto
Copy link
Member

hebasto commented Aug 3, 2019

Running the Bitcoin Core at a university for research purposes. Researchers use RPC to have an access to the Bitcoin Core via a LAN. Their credentials are stored in the bitcoin.conf file as pairs of rpcallowip=<ip> and rpcauth=<userpw> options.

From the Core operator's point of view, it seems two features are a feature is missing:

  • an ability to add/remove -rpcallowip and -rpcauth options without the Bitcoin Core restart
  • preventing to stop the Bitcoin Core from a remote machine by bitcoin-cli stop (a special case of a more general RPC Whitelist Files #12248)
@emilengler
Copy link
Contributor

For your second point, are you thinking of adding a separate config parameter for disabling an rpc shutdown?

@emilengler
Copy link
Contributor

See #16544. This could fix your second point

@hebasto
Copy link
Member Author

hebasto commented Aug 4, 2019

Could be related: #12248

@benthecarman
Copy link
Contributor

I have a project that does something similar to this, it can be configured to fit your use case I believe.

https://github.com/benthecarman/Lightning-Rod

@maflcko
Copy link
Member

maflcko commented Aug 7, 2019

This is a duplicate of #12248? If not, it should specify how this feature request is different.

@hebasto
Copy link
Member Author

hebasto commented Aug 10, 2019

@MarcoFalke

This is a duplicate of #12248? If not, it should specify how this feature request is different.

An ability to add/remove -rpcallowip and -rpcauth options without the Bitcoin Core restart is not covered by #12248.

@maflcko
Copy link
Member

maflcko commented Aug 10, 2019

Ok, maybe create a separate issue for that? A title of "feature request" with two features in the comment body isn't helpful to keep track of issues.

@hebasto hebasto changed the title RPC features request RPC feature request Aug 10, 2019
@hebasto
Copy link
Member Author

hebasto commented Aug 10, 2019

@MarcoFalke

Ok, maybe create a separate issue for that? A title of "feature request" with two features in the comment body isn't helpful to keep track of issues.

OP has been updated.

@maflcko maflcko changed the title RPC feature request RPC: add/remove -rpcallowip and -rpcauth options without the Bitcoin Core restart Aug 10, 2019
@maflcko maflcko changed the title RPC: add/remove -rpcallowip and -rpcauth options without the Bitcoin Core restart RPC: add/remove -rpcallowip and -rpcauth options without restart Aug 10, 2019
@hebasto hebasto closed this as completed Aug 5, 2022
@bitcoin bitcoin locked and limited conversation to collaborators Aug 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants