In order to avoid connecting to the internet in the functional test rpc_net.py
, specify a non-working proxy (parameter -proxy=127.0.0.1:1
, same approach as in #31142) for the nodes. There is at least one known instance where this is currently happening on master where a connection attempt to a public IP is made (see also the discussion in #31339):
Can be tested by running
0$ sudo tcpdump -i eth0 host 11.22.33.44
both on master and the PR branch and verifying that no packets appear in the tcpdump in the latter anymore.