owenson / tor-research-framework Goto Github PK
View Code? Open in Web Editor NEWTor research framework in Java
Home Page: www.ghowen.me
License: GNU General Public License v3.0
Tor research framework in Java
Home Page: www.ghowen.me
License: GNU General Public License v3.0
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:
Gareth, did you have a preferred strategy for this?
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.
"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
r marvellous AAcif1htILdru0BO0qX7OwGVhAU e43chEQrRVfmfiTQedCqcn3zbNQ 2014-07-30 09:41:20 176.212.13.30 9001 9030
Ref: cached-consensus downloaded by ConsensusExample
OnionRouter [name=Unnamed, ip=/192.254.168.26, orport=9001, identityhash=0cc9b8aa649881c39e948e70b662772d8695c2e9]
Ref: output of ConsensusExample
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.