5 suggestions
Earlier concerns neither republished nor resolved: 3 suggestions. See the Run archive for their assessments.
Optional improvements
[suggestion] · RPC bind recovery advice omits the matching client configuration
The new recovery advice can recreate the pre-existing cookie leak on a dual-stack host if another local user owns the IPv4 port and bitcoin-cli still uses its default HTTP target.
Location: src/httpserver.cpp:1386 (head).
Details and suggested fix
For example, following this advice with -rpcbind=[::1] -rpcallowip=::1 can let initialization succeed and generate a cookie while another user's process retains 127.0.0.1 on the RPC port. Changing -rpcbind does not change bitcoin-cli's destination. An HTTP request using its default target therefore sends the cookie to that process, which can reuse it against the node's IPv6 listener. Extend the error message to explain that clients must also use matching -rpcconnect and, when applicable, -rpcport settings. This preserves the IPv6-only override without presenting it as a complete remedy for an occupied IPv4 port.
[suggestion] · New RPC bind startup requirements lack upgrade documentation
The stricter RPC bind policy can stop previously working configurations during upgrade, but neither a release note nor -rpcbind help explains the new success requirements.
Location: src/httpserver.cpp:1383 (head).
Details and suggested fix
Previously, one working listener allowed startup despite another endpoint's lookup or bind failure. Now default IPv4 failure aborts startup, and an explicit list activated by -rpcallowip must succeed in full. For example, explicitly listing both loopback families now fails on an IPv4-only host. Hostnames were already disallowed, but one unresolvable entry now rejects the whole list instead of allowing another listener to serve RPC. Add a release note describing mandatory default IPv4, optional default IPv6, and mandatory numeric explicit endpoints. Explain that IPv6-only hosts need an explicit -rpcbind together with -rpcallowip, and reflect the success requirements in the option help.
[suggestion] · Overlapping RPC binds report a misleading second-instance error
On Linux, wildcard/specific -rpcbind overlaps now abort startup with a misleading second-instance diagnostic; no in-tree triggering configuration was found, and this platform-specific failure was not observed in an experiment.
Location: src/httpserver.cpp:257 (head).
Details and suggested fix
With -rpcallowip set, -rpcbind=0.0.0.0 -rpcbind=127.0.0.1 retains both entries as required endpoints on the same port. The wildcard socket is already listening when the specific bind runs. Linux rejects that overlap with EADDRINUSE despite SO_REUSEADDR, so initialization closes the listeners and fails where it previously continued with a warning. The error says Bitcoin Core is probably already running, although this instance owns the conflicting socket. Reject overlapping entries up front with a configuration error naming both addresses. This keeps the fail-closed policy while identifying the operator's actual configuration problem.
[suggestion] · Partial-bind tests do not distinguish the IPv6 requirements
Both new partial-bind cases fail on IPv4, so they do not distinguish optional default IPv6 from required explicit IPv6.
Location: test/functional/rpc_bind.py:69 (head).
Details and suggested fix
In explicit mode, IPv4 comes first and its failure returns before [::1] is attempted. In default mode, IPv6 succeeds before IPv4 fails. Changing either IPv6 requirement flag would therefore leave these assertions unchanged. Add cases in the existing IPv6 branch that reserve ('::1', self.defaultport) with family=socket.AF_INET6: default startup should succeed with only the IPv4 listener, while explicit 127.0.0.1 plus [::1] should fail on the required IPv6 endpoint after IPv4 binds. These cases protect both IPv4-only compatibility and the all-explicit-binds-required rule.
[suggestion] · Duplicate-bind regression case is separated from its deduplication change
The repeated-endpoint case is buried in the partial-bind characterization commit, separating the deduplication change from the test that guards it once fail-closed binding lands.
Location: test/functional/rpc_bind.py:200 at 33eafabc108a (commit) (commit).
Details and suggested fix
Move only the repeated-127.0.0.1:32172 test hunk from 33eafabc108af055bfdb33a54ad2f0f1020aa735 (partial-bind characterization) into 418aeaf90c47738b707090d95d656352201c1fcb (endpoint deduplication). Before 44bcdbd1c6bb8409434af09f3bfa0581b5867e42 makes explicit binds mandatory, a duplicate bind failure only warns, so the listener-set assertion does not distinguish deduplication. This rearrangement leaves expected intermediate behavior unchanged and preserves the credential-leak reproducer, while putting the duplicate-endpoint case beside the production change it supports.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Test optional and required IPv6 bind failures
- [suggestion]: Document the default-bind compatibility change
- [suggestion]: Occupied default IPv6 RPC endpoints remain optional (earlier report)