2 minor findings
Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.
Findings
[minor] · The cmpctblock fuzz oracle still caps all high-bandwidth peers at three
Source inspection shows that four handshaken bip152hb peers can trip the cmpctblock fuzz target's unchanged three-peer assertion, although no triggering input was executed.
Location: src/net_processing.cpp:4146 (head).
Details and suggested fix
src/test/fuzz/cmpctblock.cpp creates four peers with fuzzed permissions and handshakes them using default, non-blocksonly options. Four MANUAL peers with Bip152HighBandwidth, compatible versions, and successful VERACK handshakes now all set m_bip152_highbandwidth_to during setup. A subsequent valid SENDCMPCT iteration reaches assert(num_hb <= 3) with all four still connected, reporting intended behavior as a crash. Previously, VERACK requested low-bandwidth mode and only the capped automatic selector enabled this state. Update the oracle to apply the three-peer bound only to high-bandwidth peers without Bip152HighBandwidth. Existing corpus coverage of this trigger is unknown.
[minor] · The advertised addnode suffix differs from the implemented permission interface
The advertised -addnode=...=bip152-hb suffix is not implemented; the explicit bip152hb whitelist/whitebind permission instead selects inbound and matching manual peers by address, with different scope and proxy behavior.
Location: src/net_permissions.cpp:59 (head).
Details and suggested fix
The -addnode initialization loop still stores each value verbatim. The new parser token belongs to -whitelist/-whitebind, not to an addnode destination. A whitelist rule defaults to inbound, and an out rule covers every matching MANUAL connection, including untagged addnodes, -connect, and addnode RPC connections such as onetry. These changes require an explicit permission grant; they do not affect those connections unconditionally.
Update the PR description to match the permission design already documented in the release note and exercised by the inbound test. State that outbound matching uses the resolved address rather than the configured hostname or port, and repeats on reconnect. DNS changes can therefore change whether the rule applies. An ordinary hostname resolved only through a name proxy leaves no valid target address to match, so the permission does not apply on that path. This limitation already exists for outbound whitelisting.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Extra configured HB peers can repeat mempool scans under
cs_main(earlier report)