probe-lab / thunderdome

11 stars 5 forks source link

Track work on PeerID based blocking #41

Open thattommyhall opened 2 years ago

thattommyhall commented 2 years ago

We currently block using a NACL, this obviously only stops the nodes directly communicating, some future routing (esp if enabled by default) could make them able to communicate.

Confirmed for now that they cannot communicate with

# ipfs swarm connect /p2p/12D3KooWJj76d91UfktyF9CfR1HxmjuV8DVAXMGUPTBPn4iAATDg
Error: connect 12D3KooWJj76d91UfktyF9CfR1HxmjuV8DVAXMGUPTBPn4iAATDg failure: routing: not found

which uses all the routing methods available

@iand :

To do it properly we need https://github.com/ipfs/kubo/issues/8867 which could be done soon if https://github.com/ipfs/kubo/pull/9010 gets merged. The alternative route is via the proposed ipfs rules command which is not fully specified yet https://github.com/ipfs/kubo/issues/8492

iand commented 2 years ago

https://github.com/ipfs/kubo/issues/8867 won't help us here. The libp2p changes only cover blocking of peers that are requesting blocks, whereas we want to prevent fetching from certain peers.