Commit Graph

261 Commits

Author SHA1 Message Date
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
Nick Mathewson 69921711b3 Basic diffie-helman wrappers with fixed modulus and tests
svn:r257
2003-05-01 00:53:46 +00:00
Roger Dingledine d567449d8a update based on discussions at discex iii
svn:r256
2003-04-25 18:29:45 +00:00
Roger Dingledine 81ab0c3988 bugfix: a circ can't be youngest if it's still connecting to the first hop
svn:r255
2003-04-20 21:56:44 +00:00
Roger Dingledine 11eee85576 bugfix: refactor to always use circuit_remove
this way we can always check if a new circ needs to be launched


svn:r254
2003-04-20 19:47:33 +00:00
Roger Dingledine f85ea447db bugfix: don't segfault if there's no valid circuit open
svn:r253
2003-04-19 00:24:17 +00:00
Roger Dingledine 4404e25623 update docs to reflect a bit more reality
svn:r252
2003-04-18 18:57:22 +00:00
Roger Dingledine 7a45454b74 bugfix: only close old circuits if they have no connections!
svn:r251
2003-04-18 18:47:49 +00:00
Nick Mathewson f3f76b881e Adjust straggling users of payload field
svn:r250
2003-04-17 17:25:32 +00:00
Nick Mathewson 6966c069bb Choose correct abstraction for topic_foo. Abstract random-integer code
svn:r249
2003-04-17 17:10:41 +00:00
Nick Mathewson 54d1b05671 Use cell.topic* fields in ap_handshake_send_begin
svn:r248
2003-04-17 16:46:44 +00:00
Nick Mathewson c134e37e58 Rebuild or and test binaries when a libor.a changes but or/*.c does not.
svn:r247
2003-04-17 02:24:55 +00:00
Nick Mathewson 53f25b813f Apply algebra; remove a condition
svn:r246
2003-04-17 02:03:55 +00:00
Nick Mathewson 17f848993e tv_udiff: do not modify arguments, and compute results correctly.
svn:r245
2003-04-17 01:59:41 +00:00
Nick Mathewson 5c9441c543 17 does not divide 1024, but it can stomp some interesting pointers and segfault the test suite
svn:r244
2003-04-17 01:56:06 +00:00
Nick Mathewson 616daf56ce Fix test.h to have once-only evalutation of arguments
svn:r243
2003-04-17 01:55:13 +00:00
Roger Dingledine 12e1b4eee8 more cleanup
svn:r242
2003-04-16 23:22:05 +00:00
Roger Dingledine 80fa9e3079 further cleanup, test.c still has some bugs
svn:r241
2003-04-16 23:21:44 +00:00
Nick Mathewson 6a0ac0ce2d Factor out cell packing and unpacking
svn:r240
2003-04-16 17:44:33 +00:00
Nick Mathewson dd2a0e7db9 Remove the last vestige of code that claims to know the inner structure of an onion on the network
svn:r239
2003-04-16 17:11:56 +00:00
Roger Dingledine 5fa2591647 bugfix: make onions work again
svn:r238
2003-04-16 17:07:46 +00:00
Nick Mathewson 4176c7f016 Factor out timeval-related functions.
svn:r237
2003-04-16 17:04:58 +00:00
Nick Mathewson eab5be35b9 Remove the notion of "onion ciphers"; make packing and unpacking separate fns
svn:r236
2003-04-16 16:19:27 +00:00
Roger Dingledine cb825d3711 add missing prototype
svn:r235
2003-04-16 16:17:27 +00:00
Nick Mathewson a4e932d2b8 Tests for crypto; more tests for buffers
svn:r234
2003-04-16 15:24:09 +00:00
Roger Dingledine 243498ee78 divorce circuit building from user connections
now we rebuild the circuit periodically (but only if it's been used),
and we can further abstract it to do incremental circuit building, etc.


svn:r233
2003-04-16 06:18:31 +00:00
Nick Mathewson b18969e1e8 Introduce a few unit tests (from older code), refactor compression setup/teardown
svn:r232
2003-04-15 19:10:18 +00:00
Roger Dingledine e7c4bcbeee make it work (heh)
svn:r231
2003-04-11 22:28:51 +00:00
Roger Dingledine dc1a241034 refactored some duplicate code into connection_edge.c
svn:r230
2003-04-11 22:11:11 +00:00
Roger Dingledine da9eb613ff bugfix: make onion proxies actually obey their requested bandwidth
svn:r229
2003-04-08 22:31:48 +00:00
Roger Dingledine 05368be7eb let the 'test' binary build from the source distrib
svn:r228
2003-04-08 22:09:18 +00:00
Roger Dingledine 62be6de572 put most of the remaining exit policy stuff in
route selection still doesn't pay attention to exit policies though


svn:r227
2003-04-08 06:44:38 +00:00
Nick Mathewson cd756db265 First test added
svn:r226
2003-04-07 13:25:44 +00:00
Roger Dingledine 1540a21c92 parse exit policy lines
svn:r225
2003-04-07 04:38:19 +00:00
Nick Mathewson e83b7c7cee Add magic to end of C files to make emacs happy; split test invocation into separate file.
svn:r224
2003-04-07 02:12:02 +00:00
Roger Dingledine 4f743657fa make servers tolerate the dns bug.
svn:r223
2003-04-05 19:53:45 +00:00
Roger Dingledine 0322049e35 begin cells are now address:port, not address,port
(breaks backward compatibility)


svn:r222
2003-04-05 19:04:47 +00:00
Roger Dingledine 5ca53e2d9c bring docs closer to reality
svn:r221
2003-04-05 19:04:05 +00:00
Roger Dingledine ded89f150a remove obsolete httpap
svn:r220
2003-04-04 22:10:25 +00:00
Roger Dingledine e19c9edc07 remove obsolete smtpap
svn:r219
2003-04-04 22:09:43 +00:00
Roger Dingledine ccabeda7cb move cell size to 256. seems to work (?)
svn:r218
2003-03-24 04:02:24 +00:00
Roger Dingledine b6aded3f27 finish specifying topic flow control
svn:r217
2003-03-24 03:31:11 +00:00
Roger Dingledine 77c0fa7f0c get rid of those nasty tabs
svn:r216
2003-03-24 03:00:20 +00:00
Roger Dingledine b32baa9fa7 fix rare race condition
if the directory is remade while an OR is handshaking, the directory
needs to become dirty again when the handshake succeeds


svn:r215
2003-03-24 02:50:07 +00:00
Nick Mathewson 905475f472 Fix message when decompressing
svn:r214
2003-03-19 22:51:38 +00:00
Nick Mathewson 3e2cd6891c Be loud when decompressing
svn:r213
2003-03-19 22:47:34 +00:00