Highlight peers in Local Area Network and in close IP space proximity #223
Labels
exp/intermediate
Prior experience is likely helpful
help wanted
Seeking public contribution on this issue
P3
Low: Not priority right now
status/ready
Ready to be worked
It would be awesome if WebUI highlighted peers that are close to you. Finding peer that is close is something that shows adaption of IPFS what is its aim.
As IP is prefix allocated (apart from cjdns) we can create following rules:
peerIP4 ∈ 10.0.0.0/8
- private network (RFC 1918)peerIP4 ∈ 172.16.0.0/12
- private network (RFC 1918)peerIP4 ∈ 192.168.0.0/16
- private network (RFC 1918)peerIP4 ∈ 169.254.0.0/16
- link local (RFC 3927)peerIP6 ∈ fd00::/8
- unique local address (RFC 4193)peerIP6 ∈ fe80::/10
- link local (RFC 4291)peerIP6 ∈ myIP6/64
- smallest end site (RFC 6177)Also worth considering, maybe with different accent:
peerIP4 ∈ myIP4/24
- 255 closest users according to spatial allocationpeerIP6 ∈ myIP6/48
- most end sites will be allocated this prefixwhere
peerIP6 ∉ fc00::/8
to fix case of cjdns where IPs are not spatial allocated.The text was updated successfully, but these errors were encountered: