Commit Graph

347 Commits

Author SHA1 Message Date
Roger Dingledine bd5fef53fe improve robustness: connection_get_by_* ignores conns marked for close
svn:r352
2003-06-24 23:09:21 +00:00
Roger Dingledine 714954b8f4 clean up a broken comment in crypto.c
svn:r351
2003-06-24 21:34:19 +00:00
Roger Dingledine ed53ab78af correct log()'s comment
svn:r350
2003-06-24 05:18:12 +00:00
Roger Dingledine 25e081c665 slightly happier on 64-bit archs
svn:r349
2003-06-24 05:17:48 +00:00
Roger Dingledine 7d53f94dd8 clean out some old comments
svn:r348
2003-06-24 05:17:39 +00:00
Roger Dingledine 1fb414d84e a pointer to async-dns alternatives.
apparently glibc 2.2.4 and windows both have async gethostbynames now.
we'll want to make use of them if they're available (via autoconf).


svn:r347
2003-06-24 05:17:09 +00:00
Roger Dingledine 9b41121ec4 update spec: OR/OR and OP/OR handshakes have merged
svn:r346
2003-06-23 09:44:35 +00:00
Roger Dingledine e7bb68f33b a few more clarifications to rendezvous spec
svn:r345
2003-06-22 20:39:10 +00:00
Roger Dingledine c86d488c85 rewrite rendezvous spec so normal people can follow it
svn:r344
2003-06-22 10:33:21 +00:00
Nick Mathewson 5cb0c5d4cd My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define constants before using them.
svn:r343
2003-06-21 21:46:17 +00:00
Nick Mathewson 5eb634d65d Reorder connection_or and make unexported functions static. Partially convert to symbolic constants -- Roger, was this what you had in mind?
svn:r342
2003-06-21 19:29:32 +00:00
Nick Mathewson f1e1477ac6 Make cvsignores reflect build process
svn:r341
2003-06-21 19:09:09 +00:00
Nick Mathewson e6cad76252 Remove false warnings from printf checks
svn:r340
2003-06-21 19:03:22 +00:00
Nick Mathewson c5a21abeb0 Fix a bug where we'd sometimes run off the end of an array while
testing stream encryption.


svn:r339
2003-06-20 08:17:25 +00:00
Nick Mathewson bb17a8d76e Add specification for half-open connections, modified from last week's
conversation enough to correspond to real TCP.


svn:r338
2003-06-19 23:23:35 +00:00
Roger Dingledine ace7cc92a9 fix typos, streamline
svn:r337
2003-06-18 07:44:48 +00:00
Roger Dingledine 9800b59ab1 remove obsolete ss.h
svn:r336
2003-06-18 07:42:13 +00:00
Roger Dingledine 80d7f2bd1f move to 0.0.2pre6; remove zlib include check
svn:r335
2003-06-18 05:53:03 +00:00
Roger Dingledine 1cf70aeb79 question for nick about daemonizing
svn:r334
2003-06-18 05:52:32 +00:00
Nick Mathewson f8d431d801 Change many files to new log_fn format
svn:r333
2003-06-17 22:18:26 +00:00
Nick Mathewson 1c7d1c75e2 Have GCC catch errors in format strings
svn:r332
2003-06-17 22:14:44 +00:00
Nick Mathewson 80151414e4 Come up with a less macro-happy, even more portable log_fn implementation
svn:r331
2003-06-17 21:36:44 +00:00
Nick Mathewson 9a7b5fa382 Make log_fn work on apples with no workarounds needed in main code
svn:r330
2003-06-17 21:15:25 +00:00
Nick Mathewson 5f10923ad0 Make sure crypt_seed_rng succeeds
svn:r329
2003-06-17 20:19:54 +00:00
Nick Mathewson f8ce55b9ab Use fread instead of fgets for binary data
svn:r328
2003-06-17 20:19:41 +00:00
Roger Dingledine fd5c263294 overhaul the dns farm: cut its size in half
i've eliminated the master dns process, so now the workers just
act like regular connections and are handled by the normal pollarray.

everything seems to still work. ;)


svn:r327
2003-06-17 14:31:05 +00:00
Roger Dingledine 9c829aca8b folding in nick's suggestion
svn:r326
2003-06-14 07:27:45 +00:00
Nick Mathewson 4dac3fc517 Add comment about hostnames; all else looks reasonable as discussed
svn:r325
2003-06-14 03:35:02 +00:00
Nick Mathewson f9a12591e1 Dont test handshakes in an infinite loop
svn:r324
2003-06-14 01:39:23 +00:00
Nick Mathewson 92323f23ee When debugging, dump key material
svn:r323
2003-06-14 01:34:39 +00:00
Nick Mathewson 801affc7b3 Fix the periodic bug that would make handshaking fail.
The culprit: sometimes DH_calculate_key returns less than DH_KEY_LEN bytes;
we needed to check the return value.


svn:r322
2003-06-14 01:30:53 +00:00
Nick Mathewson 6550d7d735 Do not use pseudorandom nonces
svn:r321
2003-06-14 01:29:16 +00:00
Nick Mathewson 88b6ce0d37 Fix MacOS build
svn:r320
2003-06-14 01:28:25 +00:00
Nick Mathewson 477d24d776 Better test messages for onion skin bug
svn:r319
2003-06-13 21:23:14 +00:00
Nick Mathewson b90748c923 Add RNG seeding
svn:r318
2003-06-13 21:13:37 +00:00
Roger Dingledine 0aa7786c28 another revision of the rendezvous spec
this time the application-side behavior is more plausible


svn:r317
2003-06-13 12:44:43 +00:00
Roger Dingledine 06bee77e7a remove on-the-fly compression feature
it wasn't working, and it was harder than we'd anticipated

not worth it.


svn:r316
2003-06-13 10:23:42 +00:00
Roger Dingledine d956807b57 relay queues are obsolete (woo!)
they used to be used for
* queueing relay cells at the edge of the network, when windows are empty
* queueing relay cells that arrive after an onion but before the onion
  has been processed.
both of these uses are gone. so out they go.


svn:r315
2003-06-13 09:59:33 +00:00
Roger Dingledine 8c4a5df01f improve portability: inet_aton is missing on solaris
svn:r314
2003-06-13 09:25:55 +00:00
Roger Dingledine a995978e07 send truncates AP-ward in a circuit, not destroys
svn:r313
2003-06-13 09:20:23 +00:00
Roger Dingledine f174773878 implement truncate and truncated (untested)
clean up circuit_deliver_relay_cell convention


svn:r312
2003-06-12 10:16:33 +00:00
Roger Dingledine 18e18fc3f0 further spec cleanup
svn:r311
2003-06-12 07:13:01 +00:00
Nick Mathewson d19177e9fe Add first draft of rendezvous point document
svn:r310
2003-06-12 06:20:20 +00:00
Nick Mathewson 4b20f582c0 Finish spec update
svn:r309
2003-06-12 06:19:34 +00:00
Roger Dingledine 9778f7d613 don't complain as much when using openssl 0.9.7a
svn:r308
2003-06-10 20:50:56 +00:00
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