Mixed IP version peering is complicated
If a user is running a node via an IPv6 bind and then tries to peer with an IPv4 node the reverse peering will not work because no bind exists for IPv4.
The way I see it we have some options here:
- Communicate the IP version in the handshake letting an IPv4 bound node connect via IPv6
- Bind two sockets for each node
- Make the "limited" connection mode the default, which eliminates the problem by not creating a reverse channel connection
- Always bind to IPv6
That last one might be a good idea for UX reasons anyway. In either case the netmod-inet
routing table will need to be expanded to understand the difference between IPv4 and v6 addresses.