Roger Dingledine
dcdc17053c
bugfix: a connection-level sendme cell would cause a connection to start
...
packaging from its buffer, even if the circuit-level package-window was
still 0.
svn:r360
2003-06-28 06:17:01 +00:00
Roger Dingledine
eb36a60547
if stream ends before resolve finishes, inform resolver
...
svn:r359
2003-06-27 00:57:04 +00:00
Roger Dingledine
38e7e247b2
fix memleak in dump_signed_directory_to_string
...
svn:r358
2003-06-26 23:38:21 +00:00
Roger Dingledine
20aefb74c2
update todo for finished items
...
svn:r357
2003-06-25 07:28:34 +00:00
Roger Dingledine
602f63f18d
entries in the dns cache now expire
...
(expiry time set to 100 seconds so we can play with it)
exit connections are now informed when pending resolves fail
we kill off the oldest busy worker when we're under attack and need to
resolve something new
svn:r356
2003-06-25 07:19:30 +00:00
Roger Dingledine
3213af4311
clean up sev_to_string hack in log.c
...
svn:r355
2003-06-25 04:47:54 +00:00
Roger Dingledine
6ffa523c09
simplify fetch_from_buf; cull idle dnsworkers.
...
svn:r354
2003-06-25 00:31:41 +00:00
Roger Dingledine
cdfed48fc1
non-buggy robustness, even
...
svn:r353
2003-06-24 23:14:39 +00:00
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