Commit Graph

306 Commits

Author SHA1 Message Date
Nick Mathewson eed07d210a add TODO notes
svn:r307
2003-06-03 19:54:26 +00:00
Roger Dingledine 1a1357f11b a few minor notes, still more work to be done
svn:r306
2003-06-03 09:51:23 +00:00
Nick Mathewson 081ef55e8b Committing the parts of tor-spec I can write. There are still a
couple of points where the code doesn't match my understanding -- I
can write those, once I understand whether we're still going to do
what I thought.

The rendezvous point spec is begun, but has turned out not to be what
we had talked about.  Let's talk design tomorrow, Roger, and I'll write down
what we say.


svn:r305
2003-06-03 06:45:06 +00:00
Nick Mathewson 5b9fdbf753 Answer question about eliminating symmetric encryption from onion skins
svn:r304
2003-06-02 02:18:16 +00:00
Roger Dingledine 6043c1e7bb bugfix: it was expiring circuits that still had active connections
svn:r303
2003-06-01 02:09:36 +00:00
Roger Dingledine 6cac13bcfe and update the todo
svn:r302
2003-05-28 06:36:49 +00:00
Roger Dingledine e8697c47d9 partial update of the spec
still wrong in plenty of places


svn:r301
2003-05-28 06:36:26 +00:00
Roger Dingledine 5088eb23b9 update config files to not use opport
svn:r300
2003-05-28 06:22:18 +00:00
Roger Dingledine 586f8c9903 fix (harmless) bug
svn:r299
2003-05-28 06:19:58 +00:00
Roger Dingledine 3f474b55b6 OPport is gone. So is conn type OP.
svn:r298
2003-05-28 02:03:25 +00:00
Roger Dingledine 22772ab193 bugfix
svn:r297
2003-05-28 00:13:42 +00:00
Roger Dingledine a6777c46a2 fix design bug: circ->n_conn is shared among circs, so it can't
point to the streams for this circ.


svn:r296
2003-05-27 23:39:04 +00:00
Roger Dingledine a7c616bfe5 correct the comments, plus a question for nick
svn:r295
2003-05-26 06:03:16 +00:00
Roger Dingledine 84f6b720bf remove dead code
circuits no longer queue more cells when the windows are empty --
they simply don't package it from the buffer if they're not going to want it.

we can restore this code later if we need to resume queueing.


svn:r294
2003-05-20 06:53:10 +00:00
Roger Dingledine 94ad9f4915 add circuit-level sendme relay cells
remove sendme cells
replace malloc with tor_malloc
patch (but not track down) bug in onion pending list
streamline connection_ap handshake


svn:r293
2003-05-20 06:41:23 +00:00
Roger Dingledine c35ef5d14e replace malloc with tor_malloc; remove broken/unused crypto_pk_set_key
svn:r292
2003-05-20 06:37:34 +00:00
Nick Mathewson c782a5b774 Fail less spectacularly on macos
svn:r291
2003-05-09 11:46:39 +00:00
Nick Mathewson 8f6abe490f Fix build on linux; macos is still messed up
svn:r290
2003-05-09 03:37:18 +00:00
Nick Mathewson 09c6a0e6e1 One is the language; the other is the compiler
svn:r289
2003-05-09 02:41:27 +00:00
Nick Mathewson 1c818b45c8 work on versioning; new log_fn function
svn:r288
2003-05-09 02:25:37 +00:00
Roger Dingledine fffdb12112 make router_dump_token only for debugging; clean backslashes
svn:r287
2003-05-09 02:20:16 +00:00
Roger Dingledine 36b902c58e still removing version.h
svn:r286
2003-05-09 02:14:01 +00:00
Roger Dingledine 1e0bc63ae6 removed obsolete version.h
svn:r285
2003-05-09 02:12:52 +00:00
Roger Dingledine 0bf9ddff84 obsolete, removed
svn:r284
2003-05-09 02:12:33 +00:00
Nick Mathewson abd2504b70 Routerinfos are no longer linked
svn:r283
2003-05-09 02:00:33 +00:00
Nick Mathewson e699efd22f We cant recognize ourself until we resolve all the routers.
svn:r282
2003-05-09 01:24:44 +00:00
Nick Mathewson bb17fdb3ba more debugging on build_directory
svn:r281
2003-05-09 01:11:56 +00:00
Nick Mathewson 2829d8eac7 more debugging on build_directory
svn:r280
2003-05-09 01:10:57 +00:00
Nick Mathewson a707995da7 Thats the letter I and the number 2. (Apologies to Negativland)
svn:r279
2003-05-09 01:04:58 +00:00
Nick Mathewson 33005f950a Get directories working.
Or at least, directories get generated, signed, download, and checked, with
nobody seeming to crash.

In config/*, added 'signing-key' blocks to dirservers and routers.or, so
that everyone will know about the directories' signing keys.

In or/directory.c, refrained from using a dirserver's signing key when
no such key is known; added more debugging output.

In or/main.c, added debugging output and fixed a few logic errors.

In or/routers.c, added debugging output and prevented a segfault on
routers_resolve_directory.  The interleaving of arrays and lists on
routerinfo_t is still messy, but at least it seems to work again.


svn:r278
2003-05-08 21:35:11 +00:00
Nick Mathewson a2b976cd47 (possibly incorrect) code to make routers get resolved when they're
inserted into the directory.

Roger: If you can answer the question with your name on it, you may
prevent a segfault before it happens. :)


svn:r277
2003-05-08 12:32:30 +00:00
Nick Mathewson 2bc7a909de Call the right signed-directory functions; try to describe the difference between everything; remove some unused interfaces
svn:r276
2003-05-08 03:36:53 +00:00
Roger Dingledine adee094641 cheap hack so the dirservers have a signing key
svn:r275
2003-05-07 22:41:12 +00:00
Roger Dingledine adcd601777 sign directories with the signing key
svn:r274
2003-05-07 22:40:03 +00:00
Roger Dingledine 59b9a9456c hints for nick on where to integrate
svn:r273
2003-05-07 21:42:17 +00:00
Nick Mathewson 87a441de7d Do not replace old directory if new one is invalid
svn:r272
2003-05-07 18:39:44 +00:00
Nick Mathewson ff62e898d7 Tested backends for directory signing and checking. Directory parser completely refactored. Need documentation and integration. Explanitory mail forthcoming.
svn:r271
2003-05-07 18:30:46 +00:00
Roger Dingledine 0e1842c2df fix double-semicolon parse error
svn:r270
2003-05-07 03:32:18 +00:00
Nick Mathewson b2ae81b88c Decrease DH group length to 1024. (Roger, you may want to read section 1 of the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.)
svn:r269
2003-05-07 02:28:42 +00:00
Nick Mathewson 02a17b3cc6 More work on directories. Signed directories not yet tested. No support for checking sigs yet
svn:r268
2003-05-07 02:13:23 +00:00
Roger Dingledine a9ad088775 update the todo
svn:r267
2003-05-07 02:02:52 +00:00
Nick Mathewson 5d7ce01b75 Refactor directories; add unit tests; add router keyword
svn:r266
2003-05-06 17:38:16 +00:00
Roger Dingledine 104c0579e6 put some symbolic constants to the onion skin lengths
svn:r265
2003-05-06 05:54:42 +00:00
Roger Dingledine efa66fa642 incremental path building in; uses ephemeral DH; onions are gone
still need to change circuit-level sendmes


svn:r264
2003-05-05 23:24:46 +00:00
Nick Mathewson 920e995d23 Tests, headers, and debugging for onion skin backend
svn:r263
2003-05-05 04:27:00 +00:00
Roger Dingledine 44e6f60cec streams are now 8 bytes, and are recognized by intermediate hops
the OP only crypts the appropriate number of times depending on which
layer (hop on the path) it's for/from.


svn:r262
2003-05-02 21:29:25 +00:00
Roger Dingledine eb98f2b482 remove obsolete test code
svn:r261
2003-05-01 23:22:35 +00:00
Roger Dingledine f686299c31 cpath is now a doubly linked list, not an array
svn:r260
2003-05-01 22:55:51 +00:00
Nick Mathewson 66a5306a93 Implement core of onion-skin-based handshake
svn:r259
2003-05-01 19:42:51 +00:00
Roger Dingledine 3bb5bd96f1 terminology shift: data->relay, topic->relay, topic->stream
svn:r258
2003-05-01 06:42:29 +00:00