[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Start implementing the server side of the new directory pro...



Update of /home/or/cvsroot/tor/doc
In directory moria:/tmp/cvs-serv23895/doc

Modified Files:
	TODO 
Log Message:
Start implementing the server side of the new directory protocol.
Probably very buggy, since I can't actually run an authdir.

Features
- Generate and publish new network-status format
- Code to cache and re-serve network-status objects generated by others.
- Publish individual descriptors (by fingerprint, by "all", and by
  "tell me yours.")  [Still needs compression logic]
- Publish client and server recommended versions seprately.
- Add digest of descriptor to routerinfo_t, so we can track them better, and
  length, so we can server them more easily.

Cleanups
- Unify code to sign directory-like things
- Make resolve_my_address() able to tell you which name it wound up resolving.
- Unify code to store and serve directory-like things so it all uses
  cached_dir_t.
- Unify code to set the value of cached_dir_t objects.


Index: TODO
===================================================================
RCS file: /home/or/cvsroot/tor/doc/TODO,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -d -r1.344 -r1.345
--- TODO	24 Aug 2005 02:37:55 -0000	1.344
+++ TODO	25 Aug 2005 20:33:16 -0000	1.345
@@ -125,17 +125,28 @@
       - have new people be in limbo and need to demonstrate usefulness
         before we approve them
       - other?
-    - dirservers publish router-status with all these flags.
+N   . Authoritative dirservers publish very compressed network-status objects.
+      o Generate format
+      o Publish it
+N   . Everyone downloads network-status objects
+      - From all directories, round-robin
+      - Cache them, reload on restart
+      o Serve cached directories
+      - If DirPort, act as a cache.
+N   - Directories expose individual descriptors
+      o By server ID
+      o By 'all'
+      - By 'if-newer-than' (Does the spec require this??)
+      - Support compression.
+      o Expose "own most recent descriptor".
+N   - Alice acts on network-status objects, downloading descriptors as needed.
     o Servers publish new descriptors when:
       o options change
       o when 12-24 hours have passed
       o when uptime is reset
       o When bandwidth changes a lot.
-    - alices fetch many router-statuses and update descriptors as needed.
-    - add if-newer-than fetch options
-    - dirservers allow people to lookup by N descriptors, or to fetch all.
     - alices avoid duplicate class C nodes.
-    - everybody with a dirport will give you his descriptor.
+    o everybody with a dirport will give you his descriptor.
     - config option, on by default, to cache all descriptors.
     - Compress router desc sets before transmitting them
     M Analyze how bad the partitioning is or isn't.