Giter Site home page Giter Site logo

tor-research-framework's People

Contributors

antitree avatar mark-isec avatar owenson avatar s0metea avatar twilsonb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tor-research-framework's Issues

Persistent consensus / descriptor storage

Consensus.getDirectoryStream() could save the consensus in a local "tor[-research-framework] data" directory, and then check for existing files before looking them up over the network.

This would reduce the load on the authorities, which are consulted at least once for each (often short) run.

Issues:

  • Filesystem Access / Java Sandbox
  • Selection of [default] shared directory: access/security, persistence, storage limits
  • /tmp won't do in many cases:
  • Windows users would need platform agnostic path
  • OS X sandbox provides per-process TMPDIRs (not shared)
  • Handling of stale documents

Gareth, did you have a preferred strategy for this?

OnionRouter.toString() shows IPs with a slash prefix

Every IP displayed using OnionRouter.toString() shows IPs with a slash prefix.

I've tried searching OnionRouter, Consensus, and InetAddress, and I still have no idea why this is happening. But it appears to be cosmetic only.

The issue occurs for all OnionRouter IPs, whether the consensus is cached or not.
It does not occur in the consensus document itself.

Consensus Spec

"r" SP nickname SP identity SP digest SP publication SP IP SP ORPort
1578 SP DirPort NL

Ref: https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt
Section 3.4.1, Line 1577

Consensus Example

r marvellous AAcif1htILdru0BO0qX7OwGVhAU e43chEQrRVfmfiTQedCqcn3zbNQ 2014-07-30 09:41:20 176.212.13.30 9001 9030

Ref: cached-consensus downloaded by ConsensusExample

Listing all bad exits

OnionRouter [name=Unnamed, ip=/192.254.168.26, orport=9001, identityhash=0cc9b8aa649881c39e948e70b662772d8695c2e9]

Ref: output of ConsensusExample

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.