Lee Smet 974f4ac007 Address some clippy comments
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-07-26 13:15:57 +02:00
2023-07-25 11:46:33 +02:00
2023-04-11 09:31:01 +00:00
2023-07-26 13:15:57 +02:00
2023-07-25 16:19:37 +02:00
2023-07-25 16:21:28 +02:00
2023-06-06 11:45:26 +02:00

masterproef_v2

This POC aims to create an IPv6 overlay network compeletly writting in Rust. The overlay network uses some of the core principles of the Babel routing protocol (https://www.irif.fr/~jch/software/babel/). Each node that joins the overlay network will receive an overlay network IP in the 200::/7 range.

Installation

git clone git@github.com:vanheesmaxime/masterproef_v2.git
# in case of an exisiting route to 200::/7, it should be deleted in order to run the application
ip r del 200::/7

Usage example

In this example setup we create a small overlay network on 5 different virtual machines that looks like this:

+----------+        +----------+        +--------+
| node 1   |--------| node 2   |--------| node 3 |
+----------+        +----------+        +--------+
     |                                   |
     |   +--------+        +-------+     |
     +---| node 4 |--------| node 5|-----+
         +--------+        +-------+

To create this setup, run the following commands:

# node 1
cargo run
# node 2
cargo run -- -p <IP address node 1>
# node 3
cargo run -- -p <IP address node 2>
# node 4
cargo run -- -p <IP address node 1>
# node 5
cargo run -- -p <IP address node 4> -p <IP address node 3>
Languages
Rust 90.7%
Shell 8.1%
Makefile 0.7%
Nix 0.4%