I restarted my Bitcoin full node yesterday after a cable repair outside my house. I'm using the latest version of the Bitcoin software (master branch) which has the (new) -netinfo rpc option (#19643).
bitcoin-cli -netinfo shows:
Bitcoin Core v0.20.99.0-1b313cacc - 70016/Satoshi:0.20.99/
ipv4 ipv6 onion total block-relay
in 61 0 13 74 7
out 5 0 5 10 2
total 66 0 18 84 9
Why are there no ipv6 connectoins?
System: Ubuntu 18.04.5 LTS
I'm on an ipv4 internet address myself but as far as I know that shouldn't matter.
cat /proc/sys/net/ipv6/conf/all/disable_ipv6 gives 0, so ipv6 is not disabled on my system.
Turning off ufw didn't help.
debug.log tells me:
2020-09-25T13:40:53Z Bound to [::]:8333
2020-09-25T13:40:53Z Bound to 0.0.0.0:8333
bitcoin-cli getnetworkinfo
"networks": [
{
"name": "ipv4",
"limited": false,
"reachable": true,
"proxy": "",
"proxy_randomize_credentials": false
},
{
"name": "ipv6",
"limited": false,
"reachable": true,
"proxy": "",
"proxy_randomize_credentials": false
},
{
"name": "onion",
"limited": false,
"reachable": true,
"proxy": "127.0.0.1:9050",
"proxy_randomize_credentials": true
}
],
I tried adding 2 ipv6 outbound peers via rpc but they don't show up.