Testing a routing protocol using network namespaces
Testing a routing protocol using network namespaces
01def.io
Testing a routing protocol using network namespaces
Testing a routing protocol using network namespaces
Testing a routing protocol using network namespaces
Let's say that you have 3 nodes, A, B, and C.
What happens if Node C sends Node A an advertisement for Node B's name with Node C's public key?
When A tries to talk to to B's name, it connects to C using C's key. C connects to B using B's public key, proxying the connection, and performing a man in the middle attack.
That advertisement would be interpreted as Node
C
's advertisement.The plan is to treat public keys as node's identity and trust mechanism similar to OpenPGP (e.g. include any node key signed by a master key as a cluster member)
Right now, none of the encryption part is done and it is not a priority right now. I need to first implement transitive node detection, actually forward packets between nodes, some way to store and manage routes, and then trust and encryption mechanisms before I'd dare to test this stuff on a real network.