Commit Graph

380 Commits

Author SHA1 Message Date
Nick Mathewson 2f6946fb08 unbork windows line endings
svn:r381
2003-08-12 03:16:15 +00:00
Nick Mathewson 1d3f3d7a67 Start of port to win32. Missing are:
- signal support
  - forking for DNS farm
  - changes for async IO
  - daemonizing

In other words, some files still don't build, and the ones that do build,
do nonblocking IO incorrectly.

I'm also not checking in the project files till I have a good place
for them.


svn:r380
2003-08-12 03:08:41 +00:00
Nick Mathewson 9b20f0be80 Work on systems with broken AC_CHECK_TYPE
svn:r379
2003-08-11 23:21:51 +00:00
Nick Mathewson 9dc29be709 Who would have thought that some systems define intfoo_t, but not uintfoo_t? Cygwin is such a system.
svn:r378
2003-08-11 21:16:13 +00:00
Nick Mathewson 04eefc5958 Cope better on platforms that define some of intFOO_t in sys/types.h or elsewhere
svn:r377
2003-08-11 20:50:30 +00:00
Nick Mathewson 0d8f9c5de9 autoconf around missing stdint.h
svn:r376
2003-08-11 20:40:21 +00:00
Roger Dingledine affe8b7998 better log output for debugging
svn:r375
2003-08-11 20:22:48 +00:00
Nick Mathewson 8223027707 Fix typo: ports are 16 bits.
svn:r374
2003-08-11 19:48:22 +00:00
Roger Dingledine 815b92a178 hypothetical new wording of license
svn:r373
2003-08-06 18:42:25 +00:00
Roger Dingledine cd19325154 patch to let poll() recognize eof on more architectures
svn:r372
2003-08-06 18:38:46 +00:00
Nick Mathewson eac9d861b1 src/or
svn:r371
2003-07-30 19:12:03 +00:00
Nick Mathewson d95f11e248 Be smarter about getting key matter from DH.
Formerly, once we had g^xy, we took the last N bytes from g^xy.

Now, we take SHA(g^xy || [0]) || SHA1(g^xy || [1]) || ... , in order
to use all bits from g^xy equally, and generate as much key material
as we need.


svn:r370
2003-07-30 19:10:20 +00:00
Roger Dingledine e2be5d7435 more tweaks to the readme, from paul's comments
svn:r369
2003-07-14 20:58:23 +00:00
Roger Dingledine 5a1e5d9f3c clean up the readme, so we can try it on paul
svn:r368
2003-07-14 17:54:56 +00:00
Roger Dingledine ef3e287e98 skeletal design paper
svn:r367
2003-07-11 19:28:36 +00:00
Roger Dingledine b9cabe7444 switch to aes
nick: is this all there is to it? :)


svn:r366
2003-07-08 08:38:24 +00:00
Roger Dingledine deef56b9b2 implemented total read rate limiting
svn:r365
2003-07-05 07:10:34 +00:00
Roger Dingledine 7da057fdf2 clean up main.c a bit
svn:r364
2003-07-05 05:46:06 +00:00
Roger Dingledine 961de193a1 fix many bugs in package_window handling
svn:r363
2003-07-03 03:40:47 +00:00
Nick Mathewson 62d26c077f Add AES counter-mode support to the crypt library
svn:r362
2003-06-30 19:18:32 +00:00
Nick Mathewson 2570b70e50 Add a the public-domain AES implementation, with a minimal counter-mode wrapper.
svn:r361
2003-06-30 19:18:12 +00:00
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