TrustSim is a set of simulation tools I built as part of my master’s thesis.

It consists of:

  • A simulator that simulates a simple distributed backup system running on top of a combined trust aware P2P and F2F network.
  • A network generator that creates descriptions of P2P and F2F networks that the simulator takes as input.
  • A set of R scripts used to analyze, summarize, and plot the results from the simulator.
  • A set of Bash scripts that automates the process.

Most of the backup system has been fully implemented. It uses a simplified version of a Chord DHT, a distributed reputation system based loosely on EigenTrust, a distributed search function for locating peers that fulfill user specified trust and availability requirements, and a simple file distribution algorithm.