Repository navigation
init: Remove unnecessary sensitive flag from rpcbind - #26829
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsNo conflicts as of last run. |
1131e07 to
c5fbea9
Compare
|
utACK c5fbea9 That said, for a followup it could make sense to go the other direction and make sure we don't log the user IP address anywhere. For IPv4 |
c5fbea9 to
b9d5674
Compare
|
re-utACK b9d5674 Running the old code against the new test triggers the unexpected argument error, as expected. |
|
ACK b9d5674 Looks like it was added in b951b09 as part of writing config options to debug.log. FWIW I was just working on #26964 which ensures that we don't create the RPC cookie before we've bound to the server. As long as we don't do that, there seems little danger in having the bound port and address exposed in the log messages. We should not rely on port obscurity for security. |
-rpcbindis currently flagged as a sensitive option which means that its value will be masked when the command line args are written to the debug.log file. However this is not useful as ifrpcbindis actually activated, the bound IP addresses will be written to the log anyways. The testfeature_config_args.pydid not catch this contradiction as the test node was not started withrpcallowipand sorpcbindwas not acted upon.This also brings
rpcbindinline withbindas that is not flagged as sensitive either.