Commit Graph

1094 Commits

Author SHA1 Message Date
Roger Dingledine
ba49b45682 clean up new dir spec a bit more
svn:r5094
2005-09-20 03:40:38 +00:00
Nick Mathewson
d118d5069a Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug.
svn:r5090
2005-09-18 02:51:12 +00:00
Nick Mathewson
d69089fc64 Specify exactly what we meant by "the digest of a descriptor". Fortunately, we dont depend on it being right yet.
svn:r5085
2005-09-18 01:56:08 +00:00
Nick Mathewson
f859e34fb9 add a couple of directory items
svn:r5084
2005-09-16 16:47:34 +00:00
Nick Mathewson
e72e76cad6 Make authdirs smarter. Reject/invalidate by key and IP. Remember that not every authdir has to be a naming authdir.
svn:r5074
2005-09-15 14:39:05 +00:00
Nick Mathewson
b16048917c Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
svn:r5070
2005-09-15 05:19:38 +00:00
Roger Dingledine
b903b98e03 tweak punctuation
svn:r5065
2005-09-14 21:57:59 +00:00
Nick Mathewson
e3adcbdb95 Big commit: clients start downloading and using network-statuses.
Only caches need to get running-routers; nobody needs to parse, store,
or use it.  Same for the router-status line in the directories.  Add
many #if 0's that can get removed once I'm convinced they don't
contain anything I'm forgetting.

Start all newly-parsed routers as non-running and non-valid; update
them from the list of network statuses.

Update all routers when a new networkstatus comes in.

After 3 tries for a networkstatus, clients give up until they're told
to try again.

     "Let's get those missles ready to **DESTROY THE UNIVERSE**!"
				-TMBG


svn:r5063
2005-09-14 21:09:25 +00:00
Nick Mathewson
0119f554da update directory todos
svn:r5052
2005-09-14 04:04:35 +00:00
Roger Dingledine
8c3f0dfe09 update todo a bit
svn:r5049
2005-09-14 03:45:03 +00:00
Roger Dingledine
ec9ef0da3b document the new functionality that crept in:
RESETCONF exitpolicy=foo
is equivalent to
SETCONF exitpolicy=foo
unless foo is a linelist with a non-null default (we don't have any
of those currently), in which it appends to the default rather than
replacing.


svn:r5047
2005-09-14 02:46:16 +00:00
Roger Dingledine
f08bccc460 correct a mistake i just added
svn:r5039
2005-09-13 22:43:41 +00:00
Roger Dingledine
c48cda7b02 update control spec to reflect our new SETCONF behavior
svn:r5038
2005-09-13 22:36:11 +00:00
Roger Dingledine
ed748efd83 make clearer the ulimit -n instructions
svn:r5037
2005-09-13 22:10:20 +00:00
Roger Dingledine
41bdb5e9f8 clean up the server docs for ulimit -n
svn:r5036
2005-09-13 22:00:03 +00:00
Roger Dingledine
2939b18935 put the last nail in tor-doc.html
svn:r5019
2005-09-12 10:31:33 +00:00
Nick Mathewson
e4272f1978 answer question
svn:r5010
2005-09-12 06:37:31 +00:00
Roger Dingledine
a63e17bdd5 fix some grammar and ask a question
svn:r5008
2005-09-12 06:32:20 +00:00
Nick Mathewson
695da58d7f Dir spec change: Clarify rules on how to treat servers based on networkstatus values. Is this sane?
svn:r5004
2005-09-12 05:51:43 +00:00
Roger Dingledine
70958407f7 it's a new month
svn:r4999
2005-09-11 22:43:23 +00:00
Roger Dingledine
43df34a4b8 reference exit policy faq entry, and add an item about rate limiting.
svn:r4995
2005-09-11 22:29:29 +00:00
Roger Dingledine
6e6f1d07da two more bugs we should fix
svn:r4993
2005-09-10 21:12:40 +00:00
Roger Dingledine
3d0394cdc6 add another todo item
svn:r4979
2005-09-10 01:09:00 +00:00
Roger Dingledine
67b27f566c and say that in the man page
svn:r4975
2005-09-09 22:47:08 +00:00
Roger Dingledine
a60345a2c5 fix duplicate word
svn:r4961
2005-09-09 02:12:32 +00:00
Roger Dingledine
d0d3d77f48 step nine: raise your ulimit -n
svn:r4958
2005-09-09 00:56:26 +00:00
Nick Mathewson
ef75fd5a63 Update item status: note future work on client directory handling
svn:r4957
2005-09-08 22:06:58 +00:00
Roger Dingledine
08348ae66e add a RESETCONF controller command, and make setconf with a null
option actually mean to set it to ""


svn:r4916
2005-09-08 03:18:51 +00:00
Nick Mathewson
5c6c88e76d More stuff for new directories.
- Distinguish v1 authorities (all currently trusted directories) from
  v2 authorities (all trusted directories).
    - Add configuration option for which dirs are v1 authories.
    - Add configuration option for whether to be a v1 authority.
    - Make trusted dirserver selection functions take options to
      choose which functionality we need.
    - Remove option when getting directory cache to see whether they
      support running-routers; they all do now.  Replace it with one
      to see whether caches support v2 stuff.

- Parse, cache, and serve network-status objects properly.

- Serve compressed groups of router descriptors.  The compression logic
  here could be more memory-efficient.

-


svn:r4911
2005-09-07 16:42:53 +00:00
Roger Dingledine
f7256b7007 start the process of adding authentication/authorization mechanisms
to the rendezvous process.

also start to handle intro and rend points at ipv6 addresses.

(none of this is implemented yet; this is for discussion.)


svn:r4910
2005-09-06 09:15:32 +00:00
Nick Mathewson
78c01a95b5 Describe approach to downloading status documents; update TODO a bit
svn:r4899
2005-09-02 20:46:44 +00:00
Nick Mathewson
2e1d31b43b Add fingerprint and contact fields to network-status specification
svn:r4895
2005-09-02 20:28:29 +00:00
Nick Mathewson
a6a45b7713 Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add a missing ntohl in connection_ap_handshake_socks_resolved.
svn:r4894
2005-09-02 18:53:31 +00:00
Roger Dingledine
445bce75dc formatting/numbering patch from matt edman
svn:r4881
2005-08-29 04:49:44 +00:00
Nick Mathewson
c6c403e156 First cut at cleaning 0.1.1.x TODO
svn:r4879
2005-08-27 03:20:51 +00:00
Roger Dingledine
2e7de08fbf setting up your own network is now a faq entry where it belongs
svn:r4878
2005-08-26 23:39:59 +00:00
Nick Mathewson
d45d66daf0 More dir-spec tweaks: specify whether concatenation happens before or after compression (either) and make status URLs parallel server URLs better (or people will mock me later).
svn:r4877
2005-08-26 23:39:11 +00:00
Roger Dingledine
71c4173bb6 more servers will make it easier. who knows if it's really needed.
svn:r4873
2005-08-26 23:00:14 +00:00
Roger Dingledine
6640daf5a1 document the AssumeReachable config option
svn:r4872
2005-08-26 22:57:24 +00:00
Roger Dingledine
e53c6ce868 get the instructions closer to right
svn:r4871
2005-08-26 22:50:48 +00:00
Roger Dingledine
51812f431f some better docs for setting up your own tor network
svn:r4870
2005-08-26 22:32:24 +00:00
Nick Mathewson
54a6a8f0ef 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.


svn:r4835
2005-08-25 20:33:17 +00:00
Nick Mathewson
f0893ddc8c Clarify formats, terminology; add more URLs.
svn:r4834
2005-08-25 20:04:12 +00:00
Thomas Sjögren
251c486f6c PIDFile should be PidFile
svn:r4833
2005-08-25 06:11:50 +00:00
Roger Dingledine
7b5be0210a add some more todo items, and mark off a few
svn:r4830
2005-08-24 02:37:55 +00:00
Roger Dingledine
0a45058d0d prod at the 0.1.1.x todo items
svn:r4822
2005-08-23 07:36:55 +00:00
Roger Dingledine
0b0dce4534 remove most 0.1.0.x todo items
svn:r4821
2005-08-23 07:20:00 +00:00
Roger Dingledine
9064ea6c71 fix some typos in the control spec
svn:r4811
2005-08-22 20:05:41 +00:00
Roger Dingledine
dc66f6df67 fix sentence, fix html
svn:r4810
2005-08-22 07:14:12 +00:00
Nick Mathewson
dc09c7fc73 Implement new (reduced-frequency) upload rules. arma, you should review this.
svn:r4806
2005-08-22 03:10:53 +00:00