libp2p / go-libp2p-kbucket

A kbucket implementation for use as a routing table
MIT License
48 stars 35 forks source link

ipv6 diversity: when asn not found fallback to /32 mask #93

Closed aschmahmann closed 4 years ago

aschmahmann commented 4 years ago

Currently when an ASN cannot be found for an IPv6 address the diversity filter will reject the peer. In this PR we fallback to using the /32 mask of the IP address as the group ID.

@aarshkshah1992 @willscott @Stebalien