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

issue hebasto opened this issue on August 3, 2019
  1. hebasto commented at 7:37 AM on August 3, 2019: member

    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 #12248)
  2. fanquake added the label RPC/REST/ZMQ on Aug 3, 2019
  3. emilengler commented at 1:23 AM on August 4, 2019: contributor

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

  4. emilengler cross-referenced this on Aug 4, 2019 from issue rpc: Add rpcallowstop by emilengler
  5. emilengler commented at 5:32 AM on August 4, 2019: contributor

    See #16544. This could fix your second point

  6. hebasto commented at 2:00 PM on August 4, 2019: member

    Could be related: #12248

  7. benthecarman commented at 2:54 PM on August 7, 2019: 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

  8. MarcoFalke commented at 4:54 PM on August 7, 2019: member

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

  9. hebasto commented at 9:45 AM on August 10, 2019: member

    @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.

  10. MarcoFalke commented at 1:16 PM on August 10, 2019: member

    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.

  11. hebasto renamed this:
    RPC features request
    RPC feature request
    on Aug 10, 2019
  12. hebasto commented at 1:36 PM on August 10, 2019: member

    @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.

  13. MarcoFalke renamed this:
    RPC feature request
    RPC: add/remove -rpcallowip and -rpcauth options without the Bitcoin Core restart
    on Aug 10, 2019
  14. MarcoFalke renamed this:
    RPC: add/remove -rpcallowip and -rpcauth options without the Bitcoin Core restart
    RPC: add/remove -rpcallowip and -rpcauth options without restart
    on Aug 10, 2019
  15. hebasto cross-referenced this on Nov 17, 2019 from issue Add permission whitelisting system by emilengler
  16. hebasto closed this on Aug 5, 2022

  17. bitcoin locked this on Aug 5, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:54 UTC