aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2009-02-12 09:54:54 +0000
committerMike Perry <mikeperry-git@fscked.org>2009-02-12 09:54:54 +0000
commit157bed9dc9ff9066787a2f80d74830752ea0d497 (patch)
tree7c59e9057d680b411a3c8ab34ec6be346c5ec2e3 /doc
parent97ff5346df00f2e8358122b8dae644c674a7fcbf (diff)
downloadtor-157bed9dc9ff9066787a2f80d74830752ea0d497.tar
tor-157bed9dc9ff9066787a2f80d74830752ea0d497.tar.gz
Add exit scanning proposal outline from discussions with arma.
svn:r18501
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/proposals/ideas/xxx-exit-scanning-outline.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/spec/proposals/ideas/xxx-exit-scanning-outline.txt b/doc/spec/proposals/ideas/xxx-exit-scanning-outline.txt
new file mode 100644
index 000000000..8d2d45632
--- /dev/null
+++ b/doc/spec/proposals/ideas/xxx-exit-scanning-outline.txt
@@ -0,0 +1,34 @@
+1. Scanning process
+ A. Non-HTML/JS mime types compared via SHA1 hash
+ B. Dynamic content filtered at 4 levels:
+ 1. IP change+Tor cookie utilization
+ - Tor cookies replayed with new IP in case of changes
+ 2. HTML Tag+Attribute+JS comparison
+ - Comparisons made based only on "relevant" HTML tags
+ and attributes
+ 3. HTML Tag+Attribute+JS diffing
+ - Tags, attributes and JS AST nodes that change during
+ Non-Tor fetches pruned from comparison
+ 4. URLS with > N% of node failures removed
+ - results purged from filesystem at end of scan loop
+ C. Scanner can be restarted from any point in the event
+ of scanner or system crashes, or graceful shutdown.
+ - Results+scan state pickled to filesystem continuously
+2. Cron job checks results periodically for reporting
+ A. Divide failures into three types of BadExit based on type
+ and frequency over time and incident rate
+ B. write reject lines to approved-routers for those three types:
+ 1. ID Hex based (for misconfig/network problems easily fixed)
+ 2. IP based (for content modification)
+ 3. IP+mask based (for continuous/eggregious content modification)
+ C. Emails results to tor-scanners@freehaven.net
+3. Human Review and Appeal
+ A. ID Hex-based BadExit is meant to be possible to removed easily
+ without needing to beg us.
+ - Should this behavior be encouraged?
+ B. Optionally can reserve IP based badexits for human review
+ 1. Results are encapsulated fully on the filesystem and can be
+ reviewed without network access
+ 2. Soat has --rescan to rescan failed nodes from a data directory
+ - New set of URLs used
+