Giter Site home page Giter Site logo

dpselect's Introduction

DPSelect: A Differential Privacy Based Guard Relay Selection Algorithm

This repository contains the DPSelect code for analyzing both the Counter-RAPTOR and DPSelect entry guard relay selection algorithm. To Run this Code:

  1. Download Updated Tor Consensus from https://collector.torproject.org/archive/relay-descriptors/consensuses/ for the month that you
    wish to analyze.
  2. Download Updated Network Topology from http://data.caida.org/datasets/as-relationships/serial-2/
  3. Extract Guard Ips and Bandwidths using get_guards.py after changing the file name in script to point to the consensus that you are running
  4. Extract Guard Ips and Bandwidths using get_guards_tille.py
  5. Run usr/local/bin/netcat whois.cymru.com 43 < guard_ips.txt | sort -n > list to get a list of ASes corresponding to the guards
  6. Run get_as.py to get a list of the gurard ASes.
  7. Run counter_raptor_resilience.py with the appropriate network topology and AS list.
  8. Run get_tille_resilience.py to get a .json of the tille resiliences.
  9. Run optimization.py to run a monte-carlo simulation to determine the quality function to be used in DPSelect.
  10. Run a corresponding attack file to analyze a given entropy type.

dpselect's People

Contributors

dpselectro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.