sweatyballs ~engine

Next-hop routing with crypto


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Sweatyballs

Sweatyballs is a toy routing protocol that I wanted to implement just so that I could say that I've done it and try get something working.

The protocol is rather simple in it's workings and takes ideas from batman-adv and cjdns (so far). A description of all of its working, data formats etc. can be found here.

Bugs

  • [x] Duplicated self route
    • I add a self route once but it seems when another node comes online I install it for some reason?
    • Fixed, it was the printing of table that was duplicating stuff
  • [ ] Possible unsafety, we must lock whole table when doing route checks, as more than one link could inter-step
  • [ ] Routing loops are caused by routes that expire at the one node, but almost expire at next, then they install the roite advertised to them from the node they advertised it to previously, but sending to it routes right back to them and then them with that new route back to the router it just came from. We could do something whereby if we send a packet via a given route and.

    alternatively, there should be a time set in the route that is never changed (and set by originator). When we pass the route along we pass this static time field with and chek it against a threshold If the elapsed time is too high then we drop that route. We most likely want to make the time threshold very small as to make routing loops disappear quickly but also not too small as to allow the route to properly propagate throughout the network

Authors:
  • Tristan B. Kildaire
Dependencies:
gogga, protobuf, crypto, bformat
Versions:
0.1.0 2021-Oct-24
0.0.1 2021-Jul-20
~master 2022-Dec-09
~tun_adapter 2021-Nov-01
~timestamping 2021-Jul-24
Show all 13 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 20 downloads total

Score:
0.0
Short URL:
sweatyballs.dub.pm