Commit Graph

1210 Commits

Author SHA1 Message Date
Nick Mathewson
1af630d32c Bite the bullet and limit all our source lines to 80 characters, the way IBM intended.
svn:r5582
2005-12-14 20:40:40 +00:00
Peter Palfrader
0a0f5952e8 Tell people to wait for a bit before registering their server, so they can properly ensure it is working
svn:r5549
2005-12-09 23:09:16 +00:00
Roger Dingledine
029d2befc1 The more I punctuate,, the better my documentation is..
svn:r5540
2005-12-08 21:25:45 +00:00
Roger Dingledine
1974e6c529 make it clearer in the docs what to expect when testing reachability.
svn:r5539
2005-12-08 21:17:33 +00:00
Nick Mathewson
338f23114f Oops. 0.0.0.0/8 and 169.254.0.0/16 are also special.
svn:r5536
2005-12-08 19:58:14 +00:00
Nick Mathewson
1b770817c0 Add private:* as an alias in configuration for policies.
svn:r5534
2005-12-08 19:40:24 +00:00
Nick Mathewson
4bab064061 Mark item completed
svn:r5533
2005-12-08 18:57:10 +00:00
Nick Mathewson
b1ae5cc190 Note one TODO item as done, and another as more complex than anticipatd.
svn:r5531
2005-12-08 17:39:56 +00:00
Nick Mathewson
25303172b8 Specify CREATE_FAST more fully.
svn:r5529
2005-12-08 17:36:05 +00:00
Roger Dingledine
0a85bb5a1c and remove it from the todo now
svn:r5526
2005-12-07 23:43:15 +00:00
Roger Dingledine
b80dc7c4f4 call the reachability testing stuff done.
svn:r5525
2005-12-07 23:42:56 +00:00
Nick Mathewson
f031ee8246 Make clients use CREATE_FAST cells. add an option to disable this.
svn:r5524
2005-12-07 22:09:02 +00:00
Nick Mathewson
666791f3f5 Fiddle 0.1.1.x TODO based on conversation with arma.
svn:r5523
2005-12-07 21:45:53 +00:00
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