]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
22 years agoAdopt socketpair implementation from perl. For now, always use it.
Nick Mathewson [Tue, 12 Aug 2003 07:43:15 +0000 (07:43 +0000)] 
Adopt socketpair implementation from perl. For now, always use it.

svn:r389

22 years agouse the spawn_func / spawn_exit abstraction for dnsworkers
Roger Dingledine [Tue, 12 Aug 2003 07:35:17 +0000 (07:35 +0000)] 
use the spawn_func / spawn_exit abstraction for dnsworkers

svn:r388

22 years agoAdd abstraction for fork vs thread.
Nick Mathewson [Tue, 12 Aug 2003 07:01:20 +0000 (07:01 +0000)] 
Add abstraction for fork vs thread.

svn:r387

22 years agoDont use explicit paths for orconfig.h -- it messes up the windows build
Nick Mathewson [Tue, 12 Aug 2003 06:45:03 +0000 (06:45 +0000)] 
Dont use explicit paths for orconfig.h -- it messes up the windows build

svn:r386

22 years agoreap exited dns/cpuworkers
Roger Dingledine [Tue, 12 Aug 2003 06:41:53 +0000 (06:41 +0000)] 
reap exited dns/cpuworkers

svn:r385

22 years agoReorder includes so that fakepoll.c gets built when it should
Nick Mathewson [Tue, 12 Aug 2003 06:41:40 +0000 (06:41 +0000)] 
Reorder includes so that fakepoll.c gets built when it should

svn:r384

22 years agowe must have openssl, so HAVE_OPENSSL is redundant
Roger Dingledine [Tue, 12 Aug 2003 05:48:26 +0000 (05:48 +0000)] 
we must have openssl, so HAVE_OPENSSL is redundant

svn:r383

22 years agoremove obsolete (we hope) file
Roger Dingledine [Tue, 12 Aug 2003 05:29:07 +0000 (05:29 +0000)] 
remove obsolete (we hope) file

svn:r382

22 years agounbork windows line endings
Nick Mathewson [Tue, 12 Aug 2003 03:16:15 +0000 (03:16 +0000)] 
unbork windows line endings

svn:r381

22 years agoStart of port to win32. Missing are:
Nick Mathewson [Tue, 12 Aug 2003 03:08:41 +0000 (03:08 +0000)] 
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

22 years agoWork on systems with broken AC_CHECK_TYPE
Nick Mathewson [Mon, 11 Aug 2003 23:21:51 +0000 (23:21 +0000)] 
Work on systems with broken AC_CHECK_TYPE

svn:r379

22 years agoWho would have thought that some systems define intfoo_t, but not uintfoo_t? Cygwin...
Nick Mathewson [Mon, 11 Aug 2003 21:16:13 +0000 (21:16 +0000)] 
Who would have thought that some systems define intfoo_t, but not uintfoo_t? Cygwin is such a system.

svn:r378

22 years agoCope better on platforms that define some of intFOO_t in sys/types.h or elsewhere
Nick Mathewson [Mon, 11 Aug 2003 20:50:30 +0000 (20:50 +0000)] 
Cope better on platforms that define some of intFOO_t in sys/types.h or elsewhere

svn:r377

22 years agoautoconf around missing stdint.h
Nick Mathewson [Mon, 11 Aug 2003 20:40:21 +0000 (20:40 +0000)] 
autoconf around missing stdint.h

svn:r376

22 years agobetter log output for debugging
Roger Dingledine [Mon, 11 Aug 2003 20:22:48 +0000 (20:22 +0000)] 
better log output for debugging

svn:r375

22 years agoFix typo: ports are 16 bits.
Nick Mathewson [Mon, 11 Aug 2003 19:48:22 +0000 (19:48 +0000)] 
Fix typo: ports are 16 bits.

svn:r374

22 years agohypothetical new wording of license
Roger Dingledine [Wed, 6 Aug 2003 18:42:25 +0000 (18:42 +0000)] 
hypothetical new wording of license

svn:r373

22 years agopatch to let poll() recognize eof on more architectures
Roger Dingledine [Wed, 6 Aug 2003 18:38:46 +0000 (18:38 +0000)] 
patch to let poll() recognize eof on more architectures

svn:r372

22 years agosrc/or
Nick Mathewson [Wed, 30 Jul 2003 19:12:03 +0000 (19:12 +0000)] 
src/or

svn:r371

22 years agoBe smarter about getting key matter from DH.
Nick Mathewson [Wed, 30 Jul 2003 19:10:20 +0000 (19:10 +0000)] 
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

22 years agomore tweaks to the readme, from paul's comments
Roger Dingledine [Mon, 14 Jul 2003 20:58:23 +0000 (20:58 +0000)] 
more tweaks to the readme, from paul's comments

svn:r369

22 years agoclean up the readme, so we can try it on paul
Roger Dingledine [Mon, 14 Jul 2003 17:54:56 +0000 (17:54 +0000)] 
clean up the readme, so we can try it on paul

svn:r368

22 years agoskeletal design paper
Roger Dingledine [Fri, 11 Jul 2003 19:28:36 +0000 (19:28 +0000)] 
skeletal design paper

svn:r367

22 years agoswitch to aes
Roger Dingledine [Tue, 8 Jul 2003 08:38:24 +0000 (08:38 +0000)] 
switch to aes

nick: is this all there is to it? :)

svn:r366

22 years agoimplemented total read rate limiting
Roger Dingledine [Sat, 5 Jul 2003 07:10:34 +0000 (07:10 +0000)] 
implemented total read rate limiting

svn:r365

22 years agoclean up main.c a bit
Roger Dingledine [Sat, 5 Jul 2003 05:46:06 +0000 (05:46 +0000)] 
clean up main.c a bit

svn:r364

22 years agofix many bugs in package_window handling
Roger Dingledine [Thu, 3 Jul 2003 03:40:47 +0000 (03:40 +0000)] 
fix many bugs in package_window handling

svn:r363

22 years agoAdd AES counter-mode support to the crypt library
Nick Mathewson [Mon, 30 Jun 2003 19:18:32 +0000 (19:18 +0000)] 
Add AES counter-mode support to the crypt library

svn:r362

22 years agoAdd a the public-domain AES implementation, with a minimal counter-mode wrapper.
Nick Mathewson [Mon, 30 Jun 2003 19:18:12 +0000 (19:18 +0000)] 
Add a the public-domain AES implementation, with a minimal counter-mode wrapper.

svn:r361

22 years agobugfix: a connection-level sendme cell would cause a connection to start
Roger Dingledine [Sat, 28 Jun 2003 06:17:01 +0000 (06:17 +0000)] 
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

22 years agoif stream ends before resolve finishes, inform resolver
Roger Dingledine [Fri, 27 Jun 2003 00:57:04 +0000 (00:57 +0000)] 
if stream ends before resolve finishes, inform resolver

svn:r359

22 years agofix memleak in dump_signed_directory_to_string
Roger Dingledine [Thu, 26 Jun 2003 23:38:21 +0000 (23:38 +0000)] 
fix memleak in dump_signed_directory_to_string

svn:r358

22 years agoupdate todo for finished items
Roger Dingledine [Wed, 25 Jun 2003 07:28:34 +0000 (07:28 +0000)] 
update todo for finished items

svn:r357

22 years agoentries in the dns cache now expire
Roger Dingledine [Wed, 25 Jun 2003 07:19:30 +0000 (07:19 +0000)] 
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

22 years agoclean up sev_to_string hack in log.c
Roger Dingledine [Wed, 25 Jun 2003 04:47:54 +0000 (04:47 +0000)] 
clean up sev_to_string hack in log.c

svn:r355

22 years agosimplify fetch_from_buf; cull idle dnsworkers.
Roger Dingledine [Wed, 25 Jun 2003 00:31:41 +0000 (00:31 +0000)] 
simplify fetch_from_buf; cull idle dnsworkers.

svn:r354

22 years agonon-buggy robustness, even
Roger Dingledine [Tue, 24 Jun 2003 23:14:39 +0000 (23:14 +0000)] 
non-buggy robustness, even

svn:r353

22 years agoimprove robustness: connection_get_by_* ignores conns marked for close
Roger Dingledine [Tue, 24 Jun 2003 23:09:21 +0000 (23:09 +0000)] 
improve robustness: connection_get_by_* ignores conns marked for close

svn:r352

22 years agoclean up a broken comment in crypto.c
Roger Dingledine [Tue, 24 Jun 2003 21:34:19 +0000 (21:34 +0000)] 
clean up a broken comment in crypto.c

svn:r351

22 years agocorrect log()'s comment
Roger Dingledine [Tue, 24 Jun 2003 05:18:12 +0000 (05:18 +0000)] 
correct log()'s comment

svn:r350

22 years agoslightly happier on 64-bit archs
Roger Dingledine [Tue, 24 Jun 2003 05:17:48 +0000 (05:17 +0000)] 
slightly happier on 64-bit archs

svn:r349

22 years agoclean out some old comments
Roger Dingledine [Tue, 24 Jun 2003 05:17:39 +0000 (05:17 +0000)] 
clean out some old comments

svn:r348

22 years agoa pointer to async-dns alternatives.
Roger Dingledine [Tue, 24 Jun 2003 05:17:09 +0000 (05:17 +0000)] 
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

22 years agoupdate spec: OR/OR and OP/OR handshakes have merged
Roger Dingledine [Mon, 23 Jun 2003 09:44:35 +0000 (09:44 +0000)] 
update spec: OR/OR and OP/OR handshakes have merged

svn:r346

22 years agoa few more clarifications to rendezvous spec
Roger Dingledine [Sun, 22 Jun 2003 20:39:10 +0000 (20:39 +0000)] 
a few more clarifications to rendezvous spec

svn:r345

22 years agorewrite rendezvous spec so normal people can follow it
Roger Dingledine [Sun, 22 Jun 2003 10:33:21 +0000 (10:33 +0000)] 
rewrite rendezvous spec so normal people can follow it

svn:r344

22 years agoMy copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define const...
Nick Mathewson [Sat, 21 Jun 2003 21:46:17 +0000 (21:46 +0000)] 
My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define constants before using them.

svn:r343

22 years agoReorder connection_or and make unexported functions static. Partially convert to...
Nick Mathewson [Sat, 21 Jun 2003 19:29:32 +0000 (19:29 +0000)] 
Reorder connection_or and make unexported functions static.  Partially convert to symbolic constants -- Roger, was this what you had in mind?

svn:r342

22 years agoMake cvsignores reflect build process
Nick Mathewson [Sat, 21 Jun 2003 19:09:09 +0000 (19:09 +0000)] 
Make cvsignores reflect build process

svn:r341

22 years agoRemove false warnings from printf checks
Nick Mathewson [Sat, 21 Jun 2003 19:03:22 +0000 (19:03 +0000)] 
Remove false warnings from printf checks

svn:r340

22 years agoFix a bug where we'd sometimes run off the end of an array while
Nick Mathewson [Fri, 20 Jun 2003 08:17:25 +0000 (08:17 +0000)] 
Fix a bug where we'd sometimes run off the end of an array while
testing stream encryption.

svn:r339

22 years agoAdd specification for half-open connections, modified from last week's
Nick Mathewson [Thu, 19 Jun 2003 23:23:35 +0000 (23:23 +0000)] 
Add specification for half-open connections, modified from last week's
conversation enough to correspond to real TCP.

svn:r338

22 years agofix typos, streamline
Roger Dingledine [Wed, 18 Jun 2003 07:44:48 +0000 (07:44 +0000)] 
fix typos, streamline

svn:r337

22 years agoremove obsolete ss.h
Roger Dingledine [Wed, 18 Jun 2003 07:42:13 +0000 (07:42 +0000)] 
remove obsolete ss.h

svn:r336

22 years agomove to 0.0.2pre6; remove zlib include check
Roger Dingledine [Wed, 18 Jun 2003 05:53:03 +0000 (05:53 +0000)] 
move to 0.0.2pre6; remove zlib include check

svn:r335

22 years agoquestion for nick about daemonizing
Roger Dingledine [Wed, 18 Jun 2003 05:52:32 +0000 (05:52 +0000)] 
question for nick about daemonizing

svn:r334

22 years agoChange many files to new log_fn format
Nick Mathewson [Tue, 17 Jun 2003 22:18:26 +0000 (22:18 +0000)] 
Change many files to new log_fn format

svn:r333

22 years agoHave GCC catch errors in format strings
Nick Mathewson [Tue, 17 Jun 2003 22:14:44 +0000 (22:14 +0000)] 
Have GCC catch errors in format strings

svn:r332

22 years agoCome up with a less macro-happy, even more portable log_fn implementation
Nick Mathewson [Tue, 17 Jun 2003 21:36:44 +0000 (21:36 +0000)] 
Come up with a less macro-happy, even more portable log_fn implementation

svn:r331

22 years agoMake log_fn work on apples with no workarounds needed in main code
Nick Mathewson [Tue, 17 Jun 2003 21:15:25 +0000 (21:15 +0000)] 
Make log_fn work on apples with no workarounds needed in main code

svn:r330

22 years agoMake sure crypt_seed_rng succeeds
Nick Mathewson [Tue, 17 Jun 2003 20:19:54 +0000 (20:19 +0000)] 
Make sure crypt_seed_rng succeeds

svn:r329

22 years agoUse fread instead of fgets for binary data
Nick Mathewson [Tue, 17 Jun 2003 20:19:41 +0000 (20:19 +0000)] 
Use fread instead of fgets for binary data

svn:r328

22 years agooverhaul the dns farm: cut its size in half
Roger Dingledine [Tue, 17 Jun 2003 14:31:05 +0000 (14:31 +0000)] 
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

22 years agofolding in nick's suggestion
Roger Dingledine [Sat, 14 Jun 2003 07:27:45 +0000 (07:27 +0000)] 
folding in nick's suggestion

svn:r326

22 years agoAdd comment about hostnames; all else looks reasonable as discussed
Nick Mathewson [Sat, 14 Jun 2003 03:35:02 +0000 (03:35 +0000)] 
Add comment about hostnames; all else looks reasonable as discussed

svn:r325

22 years agoDont test handshakes in an infinite loop
Nick Mathewson [Sat, 14 Jun 2003 01:39:23 +0000 (01:39 +0000)] 
Dont test handshakes in an infinite loop

svn:r324

22 years agoWhen debugging, dump key material
Nick Mathewson [Sat, 14 Jun 2003 01:34:39 +0000 (01:34 +0000)] 
When debugging, dump key material

svn:r323

22 years agoFix the periodic bug that would make handshaking fail.
Nick Mathewson [Sat, 14 Jun 2003 01:30:53 +0000 (01:30 +0000)] 
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

22 years agoDo not use pseudorandom nonces
Nick Mathewson [Sat, 14 Jun 2003 01:29:16 +0000 (01:29 +0000)] 
Do not use pseudorandom nonces

svn:r321

22 years agoFix MacOS build
Nick Mathewson [Sat, 14 Jun 2003 01:28:25 +0000 (01:28 +0000)] 
Fix MacOS build

svn:r320

22 years agoBetter test messages for onion skin bug
Nick Mathewson [Fri, 13 Jun 2003 21:23:14 +0000 (21:23 +0000)] 
Better test messages for onion skin bug

svn:r319

22 years agoAdd RNG seeding
Nick Mathewson [Fri, 13 Jun 2003 21:13:37 +0000 (21:13 +0000)] 
Add RNG seeding

svn:r318

22 years agoanother revision of the rendezvous spec
Roger Dingledine [Fri, 13 Jun 2003 12:44:43 +0000 (12:44 +0000)] 
another revision of the rendezvous spec

this time the application-side behavior is more plausible

svn:r317

22 years agoremove on-the-fly compression feature
Roger Dingledine [Fri, 13 Jun 2003 10:23:42 +0000 (10:23 +0000)] 
remove on-the-fly compression feature

it wasn't working, and it was harder than we'd anticipated

not worth it.

svn:r316

22 years agorelay queues are obsolete (woo!)
Roger Dingledine [Fri, 13 Jun 2003 09:59:33 +0000 (09:59 +0000)] 
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

22 years agoimprove portability: inet_aton is missing on solaris
Roger Dingledine [Fri, 13 Jun 2003 09:25:55 +0000 (09:25 +0000)] 
improve portability: inet_aton is missing on solaris

svn:r314

22 years agosend truncates AP-ward in a circuit, not destroys
Roger Dingledine [Fri, 13 Jun 2003 09:20:23 +0000 (09:20 +0000)] 
send truncates AP-ward in a circuit, not destroys

svn:r313

22 years agoimplement truncate and truncated (untested)
Roger Dingledine [Thu, 12 Jun 2003 10:16:33 +0000 (10:16 +0000)] 
implement truncate and truncated (untested)

clean up circuit_deliver_relay_cell convention

svn:r312

22 years agofurther spec cleanup
Roger Dingledine [Thu, 12 Jun 2003 07:13:01 +0000 (07:13 +0000)] 
further spec cleanup

svn:r311

22 years agoAdd first draft of rendezvous point document
Nick Mathewson [Thu, 12 Jun 2003 06:20:20 +0000 (06:20 +0000)] 
Add first draft of rendezvous point document

svn:r310

22 years agoFinish spec update
Nick Mathewson [Thu, 12 Jun 2003 06:19:34 +0000 (06:19 +0000)] 
Finish spec update

svn:r309

22 years agodon't complain as much when using openssl 0.9.7a
Roger Dingledine [Tue, 10 Jun 2003 20:50:56 +0000 (20:50 +0000)] 
don't complain as much when using openssl 0.9.7a

svn:r308

22 years agoadd TODO notes
Nick Mathewson [Tue, 3 Jun 2003 19:54:26 +0000 (19:54 +0000)] 
add TODO notes

svn:r307

22 years agoa few minor notes, still more work to be done
Roger Dingledine [Tue, 3 Jun 2003 09:51:23 +0000 (09:51 +0000)] 
a few minor notes, still more work to be done

svn:r306

22 years agoCommitting the parts of tor-spec I can write. There are still a
Nick Mathewson [Tue, 3 Jun 2003 06:45:06 +0000 (06:45 +0000)] 
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

22 years agoAnswer question about eliminating symmetric encryption from onion skins
Nick Mathewson [Mon, 2 Jun 2003 02:18:16 +0000 (02:18 +0000)] 
Answer question about eliminating symmetric encryption from onion skins

svn:r304

22 years agobugfix: it was expiring circuits that still had active connections
Roger Dingledine [Sun, 1 Jun 2003 02:09:36 +0000 (02:09 +0000)] 
bugfix: it was expiring circuits that still had active connections

svn:r303

22 years agoand update the todo
Roger Dingledine [Wed, 28 May 2003 06:36:49 +0000 (06:36 +0000)] 
and update the todo

svn:r302

22 years agopartial update of the spec
Roger Dingledine [Wed, 28 May 2003 06:36:26 +0000 (06:36 +0000)] 
partial update of the spec
still wrong in plenty of places

svn:r301

22 years agoupdate config files to not use opport
Roger Dingledine [Wed, 28 May 2003 06:22:18 +0000 (06:22 +0000)] 
update config files to not use opport

svn:r300

22 years agofix (harmless) bug
Roger Dingledine [Wed, 28 May 2003 06:19:58 +0000 (06:19 +0000)] 
fix (harmless) bug

svn:r299

22 years agoOPport is gone. So is conn type OP.
Roger Dingledine [Wed, 28 May 2003 02:03:25 +0000 (02:03 +0000)] 
OPport is gone. So is conn type OP.

svn:r298

22 years agobugfix
Roger Dingledine [Wed, 28 May 2003 00:13:42 +0000 (00:13 +0000)] 
bugfix

svn:r297

22 years agofix design bug: circ->n_conn is shared among circs, so it can't
Roger Dingledine [Tue, 27 May 2003 23:39:04 +0000 (23:39 +0000)] 
fix design bug: circ->n_conn is shared among circs, so it can't
point to the streams for this circ.

svn:r296

22 years agocorrect the comments, plus a question for nick
Roger Dingledine [Mon, 26 May 2003 06:03:16 +0000 (06:03 +0000)] 
correct the comments, plus a question for nick

svn:r295

22 years agoremove dead code
Roger Dingledine [Tue, 20 May 2003 06:53:10 +0000 (06:53 +0000)] 
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

22 years agoadd circuit-level sendme relay cells
Roger Dingledine [Tue, 20 May 2003 06:41:23 +0000 (06:41 +0000)] 
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

22 years agoreplace malloc with tor_malloc; remove broken/unused crypto_pk_set_key
Roger Dingledine [Tue, 20 May 2003 06:37:34 +0000 (06:37 +0000)] 
replace malloc with tor_malloc; remove broken/unused crypto_pk_set_key

svn:r292

22 years agoFail less spectacularly on macos
Nick Mathewson [Fri, 9 May 2003 11:46:39 +0000 (11:46 +0000)] 
Fail less spectacularly on macos

svn:r291

22 years agoFix build on linux; macos is still messed up
Nick Mathewson [Fri, 9 May 2003 03:37:18 +0000 (03:37 +0000)] 
Fix build on linux; macos is still messed up

svn:r290