0Our reachability logic was overly complicated, and most likely
1incorrect. In particular, we would prefer advertising our IPv4 services
2for peers on Toredo, which would most likely just result in us sending
3packets to their Toredo provider.
4
5The new logic is a bit simpler:
6
7- Assume all peers can reach us through IPv4 (same as before)
8- If peer is unknown or unroutable, assume they can reach through every
9 network (same as before)
10- IPv6 peers can reach through IPv6
11- Onion peers can reach through Onion
What I need help on:
- Is the “If peer is unknown or unroutable, assume they can reach through every network” rule reasonable? I suspect I’m misunderstanding the original intention.
- Since the unknown and unroutable cases seem to follow the same logic, can we just make them one thing and eliminate the awkward re-purposing of
NET_MAX
?