Commit Graph

1197 Commits

Author SHA1 Message Date
Roger Dingledine
c5bee116b6 clarify that tor will close unattached streams by itself after 2 minutes,
no matter what the controller does.


svn:r5501
2005-12-05 01:09:11 +00:00
Roger Dingledine
cbad6e9709 switchproxy doesn't work with firefox 1.5, i am told. here is a link
to one that does.


svn:r5475
2005-11-30 19:55:09 +00:00
Roger Dingledine
1deb53e1b0 the stylesheet in cvs/tor/doc/ had relative links to the images,
so they weren't showing up.


svn:r5474
2005-11-30 19:41:02 +00:00
Peter Palfrader
b9d37a2d58 Add a new controller event type that allows controllers to get all
server descriptors that were uploaded to a router in its role as authoritative
dirserver.


svn:r5436
2005-11-19 18:35:43 +00:00
Roger Dingledine
7446c7e6d7 mark off the next todo item
svn:r5435
2005-11-19 11:07:40 +00:00
Roger Dingledine
b819a53654 mark off some todo items
svn:r5430
2005-11-19 07:16:12 +00:00
Roger Dingledine
a32a63d50b document how the error values for closestream and closecircuit work.
also, let redirectstream take a port, in case we want to change that too.


svn:r5420
2005-11-18 11:17:24 +00:00
Roger Dingledine
396577d17e what to do on a failed setconf was a bit unspecified
svn:r5413
2005-11-17 22:01:24 +00:00
Nick Mathewson
24ea1b3673 Add some DH clarifications
svn:r5411
2005-11-17 18:14:29 +00:00
Roger Dingledine
a44fc1eebb more spec clarifications from talking to lexi
svn:r5410
2005-11-17 09:55:44 +00:00
Nick Mathewson
b2715a1afe Remove incorrect requirement.
svn:r5409
2005-11-17 04:46:16 +00:00
Roger Dingledine
280a4f9b37 ignored cells still count for computing digests.
svn:r5408
2005-11-17 03:49:22 +00:00
Roger Dingledine
ae937b4e40 and note that older tors break the spec in that way
svn:r5407
2005-11-17 03:43:10 +00:00
Roger Dingledine
bed777375b pick a side of the fence. here's hoping.
svn:r5406
2005-11-17 03:42:04 +00:00
Roger Dingledine
6f06079741 fix a bug in the spec, and add a question about correct behavior. nick?
svn:r5404
2005-11-17 03:18:18 +00:00
Roger Dingledine
9eada6d3c1 clean up the tor spec somewhat, inspired by comments from lexi
svn:r5402
2005-11-17 01:10:41 +00:00
Roger Dingledine
386e3954ae put the socks-extensions file in the tarball too
svn:r5401
2005-11-17 00:00:49 +00:00
Roger Dingledine
fd58b0bc6e and start using the local copy of the stylesheet
svn:r5397
2005-11-15 22:45:24 +00:00
Roger Dingledine
ed6a0531d2 and get it into the tarball
svn:r5396
2005-11-15 22:42:25 +00:00
Roger Dingledine
fd3a6e9d7b ship a copy of the stylesheet with the tor-doc-*
svn:r5395
2005-11-15 22:42:10 +00:00
Roger Dingledine
3ec1aea329 stop shipping tor-doc.html and .css in the tarball
they're obsolete


svn:r5394
2005-11-15 22:39:55 +00:00
Roger Dingledine
2a96454816 start shipping tor-doc-unix.html tor-doc-server.html in the tarball
svn:r5393
2005-11-15 22:39:23 +00:00
Roger Dingledine
8dc938ac31 confuse people less about what running a server means
svn:r5364
2005-11-12 21:53:53 +00:00
Roger Dingledine
e87c6a03ab remove some completed items
svn:r5363
2005-11-12 21:42:55 +00:00
Roger Dingledine
b72323fab8 start to clean up and add to and rearrange the todo
svn:r5362
2005-11-12 21:41:24 +00:00
Roger Dingledine
b7e1a87304 router twins are long gone from tor. take them out of the spec.
also note two spec things that need more explanation.


svn:r5355
2005-11-11 17:06:54 +00:00
Roger Dingledine
74808ab7c2 another impossible problem we should solve.
svn:r5342
2005-11-01 06:28:07 +00:00
Roger Dingledine
38d3082b89 fix typo
svn:r5341
2005-11-01 06:27:43 +00:00
Nick Mathewson
8af3fc53f4 Add core spec todos from meeting
svn:r5304
2005-10-25 06:57:25 +00:00
Nick Mathewson
bb0c98daa8 add minor todos from meeting
svn:r5303
2005-10-25 06:57:07 +00:00
Roger Dingledine
a1a87857a7 if we expect tor to crash with the bug we can't solve, then at least
try to give users a more pleasant experience.


svn:r5299
2005-10-24 18:51:51 +00:00
Roger Dingledine
36e659e97c make the hidden wiki link more prominent.
svn:r5294
2005-10-24 03:39:40 +00:00
Nick Mathewson
6101468cbe Enable trivial "download by descriptor digest" functionality.
svn:r5250
2005-10-14 04:56:20 +00:00
Nick Mathewson
a7ca56b537 More work towards a sane digest-based liveness testing.
svn:r5238
2005-10-12 13:49:13 +00:00
Roger Dingledine
5569e49a6c the installer screenshot lists no version, so stop being so defensive
svn:r5223
2005-10-07 21:08:15 +00:00
Nick Mathewson
780aa94b6a add a todo: clients should use Stable/Fast flags
svn:r5205
2005-10-05 23:21:37 +00:00
Nick Mathewson
ba67d14d40 On sighup, if usehelpernodes changed to 1, use new circuits.
svn:r5203
2005-10-05 23:02:40 +00:00
Nick Mathewson
42e17182da When we get an EOF or a timeout on a directory connection, note how many bytes of serverdesc we are dropping. This will help us determine whether it is smart to parse incomplete serverdesc responses.
svn:r5186
2005-10-04 22:34:09 +00:00
Nick Mathewson
61ea516885 Check for named servers when looking them up by nickname;
warn when we'recalling a non-named server by its nickname;
don't warn twice about the same name.

Fix a bug in routers_update_status_from_networkstatus that made nearly
all clients never update routerinfo_t.is_named.

Try to list MyFamily elements by key, not by nickname.

Only warn about names that we generated ourself, or got from the local
user.

On TLS handshake, only check the other router's nickname against its
expected nickname if is_named is set.


svn:r5185
2005-10-04 22:23:31 +00:00
Nick Mathewson
2d203fdcf3 link nicknames to trusted directory servers; log these nicknames when mentioning servers; also, when we get a naming conflict; log which nicknames or keys are supposed to bind.
svn:r5184
2005-10-04 21:21:09 +00:00
Nick Mathewson
364fd1ccdf Note a couple more dir-spec TODOs
svn:r5167
2005-09-30 20:05:30 +00:00
Roger Dingledine
a1bfc132bf some more todo item, plus mark one off.
svn:r5156
2005-09-30 00:08:12 +00:00
Nick Mathewson
2999cbf233 Use EVP_CIPHER_CTX version of AES from openssl, so openssl can use engines (if they exist).
svn:r5146
2005-09-27 19:39:25 +00:00
Nick Mathewson
2f53d86707 remove historical stuff from dir-spec.txt
svn:r5145
2005-09-27 16:37:11 +00:00
Andrew Lewman
066b58438a added the one line hack for default selinux targeted policy to allow
tor/privoxy to work correctly.


svn:r5143
2005-09-25 03:45:27 +00:00
Roger Dingledine
225510f58a mention the new stable version.
and explicitly mention that selinux on FC4 is a problem for tor.


svn:r5136
2005-09-24 08:36:47 +00:00
Nick Mathewson
b726507d36 Log even less verbosely. Also, do not download old (frequently-updating) servers more than once every 2 hours.
svn:r5134
2005-09-23 21:25:29 +00:00
Nick Mathewson
ebf6476e8e Provide dire warnings to any users who set DirServer; move it out of torrc.sample and into torrc.complete.
svn:r5132
2005-09-23 20:44:22 +00:00
Nick Mathewson
cdc912714e I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
svn:r5110
2005-09-22 06:34:29 +00:00
Nick Mathewson
f411dd8d3a Move items from meeting into dir-spec and TODO.
svn:r5102
2005-09-21 04:02:54 +00:00
Nick Mathewson
892e173e01 Add notes of things that must be done to dir-spec
svn:r5099
2005-09-21 00:39:31 +00:00
Nick Mathewson
fbedb32ee1 Add a temporary section to dir-spec reflecting what we actually do now.
svn:r5097
2005-09-20 19:31:34 +00:00
Roger Dingledine
9fa3a4a5e4 a few more todo items done
svn:r5096
2005-09-20 19:30:48 +00:00
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