]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
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

22 years agoOne is the language; the other is the compiler
Nick Mathewson [Fri, 9 May 2003 02:41:27 +0000 (02:41 +0000)] 
One is the language; the other is the compiler

svn:r289

22 years agowork on versioning; new log_fn function
Nick Mathewson [Fri, 9 May 2003 02:25:37 +0000 (02:25 +0000)] 
work on versioning; new log_fn function

svn:r288

22 years agomake router_dump_token only for debugging; clean backslashes
Roger Dingledine [Fri, 9 May 2003 02:20:16 +0000 (02:20 +0000)] 
make router_dump_token only for debugging; clean backslashes

svn:r287

22 years agostill removing version.h
Roger Dingledine [Fri, 9 May 2003 02:14:01 +0000 (02:14 +0000)] 
still removing version.h

svn:r286

22 years agoremoved obsolete version.h
Roger Dingledine [Fri, 9 May 2003 02:12:52 +0000 (02:12 +0000)] 
removed obsolete version.h

svn:r285

22 years agoobsolete, removed
Roger Dingledine [Fri, 9 May 2003 02:12:33 +0000 (02:12 +0000)] 
obsolete, removed

svn:r284

22 years agoRouterinfos are no longer linked
Nick Mathewson [Fri, 9 May 2003 02:00:33 +0000 (02:00 +0000)] 
Routerinfos are no longer linked

svn:r283

22 years agoWe cant recognize ourself until we resolve all the routers.
Nick Mathewson [Fri, 9 May 2003 01:24:44 +0000 (01:24 +0000)] 
We cant recognize ourself until we resolve all the routers.

svn:r282

22 years agomore debugging on build_directory
Nick Mathewson [Fri, 9 May 2003 01:11:56 +0000 (01:11 +0000)] 
more debugging on build_directory

svn:r281

22 years agomore debugging on build_directory
Nick Mathewson [Fri, 9 May 2003 01:10:57 +0000 (01:10 +0000)] 
more debugging on build_directory

svn:r280

22 years agoThats the letter I and the number 2. (Apologies to Negativland)
Nick Mathewson [Fri, 9 May 2003 01:04:58 +0000 (01:04 +0000)] 
Thats the letter I and the number 2. (Apologies to Negativland)

svn:r279

22 years agoGet directories working.
Nick Mathewson [Thu, 8 May 2003 21:35:11 +0000 (21:35 +0000)] 
Get directories working.

Or at least, directories get generated, signed, download, and checked, with
nobody seeming to crash.

In config/*, added 'signing-key' blocks to dirservers and routers.or, so
that everyone will know about the directories' signing keys.

In or/directory.c, refrained from using a dirserver's signing key when
no such key is known; added more debugging output.

In or/main.c, added debugging output and fixed a few logic errors.

In or/routers.c, added debugging output and prevented a segfault on
routers_resolve_directory.  The interleaving of arrays and lists on
routerinfo_t is still messy, but at least it seems to work again.

svn:r278

22 years ago(possibly incorrect) code to make routers get resolved when they're
Nick Mathewson [Thu, 8 May 2003 12:32:30 +0000 (12:32 +0000)] 
(possibly incorrect) code to make routers get resolved when they're
inserted into the directory.

Roger: If you can answer the question with your name on it, you may
prevent a segfault before it happens. :)

svn:r277

22 years agoCall the right signed-directory functions; try to describe the difference between...
Nick Mathewson [Thu, 8 May 2003 03:36:53 +0000 (03:36 +0000)] 
Call the right signed-directory functions; try to describe the difference between everything; remove some unused interfaces

svn:r276

22 years agocheap hack so the dirservers have a signing key
Roger Dingledine [Wed, 7 May 2003 22:41:12 +0000 (22:41 +0000)] 
cheap hack so the dirservers have a signing key

svn:r275

22 years agosign directories with the signing key
Roger Dingledine [Wed, 7 May 2003 22:40:03 +0000 (22:40 +0000)] 
sign directories with the signing key

svn:r274

22 years agohints for nick on where to integrate
Roger Dingledine [Wed, 7 May 2003 21:42:17 +0000 (21:42 +0000)] 
hints for nick on where to integrate

svn:r273

22 years agoDo not replace old directory if new one is invalid
Nick Mathewson [Wed, 7 May 2003 18:39:44 +0000 (18:39 +0000)] 
Do not replace old directory if new one is invalid

svn:r272

22 years agoTested backends for directory signing and checking. Directory parser completely...
Nick Mathewson [Wed, 7 May 2003 18:30:46 +0000 (18:30 +0000)] 
Tested backends for directory signing and checking.  Directory parser completely refactored.  Need documentation and integration.  Explanitory mail forthcoming.

svn:r271

22 years agofix double-semicolon parse error
Roger Dingledine [Wed, 7 May 2003 03:32:18 +0000 (03:32 +0000)] 
fix double-semicolon parse error

svn:r270

22 years agoDecrease DH group length to 1024. (Roger, you may want to read section 1 of the...
Nick Mathewson [Wed, 7 May 2003 02:28:42 +0000 (02:28 +0000)] 
Decrease DH group length to 1024.  (Roger, you may want to read section 1 of the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.)

svn:r269

22 years agoMore work on directories. Signed directories not yet tested. No support for checking...
Nick Mathewson [Wed, 7 May 2003 02:13:23 +0000 (02:13 +0000)] 
More work on directories.  Signed directories not yet tested. No support for checking sigs yet

svn:r268

22 years agoupdate the todo
Roger Dingledine [Wed, 7 May 2003 02:02:52 +0000 (02:02 +0000)] 
update the todo

svn:r267

22 years agoRefactor directories; add unit tests; add router keyword
Nick Mathewson [Tue, 6 May 2003 17:38:16 +0000 (17:38 +0000)] 
Refactor directories; add unit tests; add router keyword

svn:r266

22 years agoput some symbolic constants to the onion skin lengths
Roger Dingledine [Tue, 6 May 2003 05:54:42 +0000 (05:54 +0000)] 
put some symbolic constants to the onion skin lengths

svn:r265

22 years agoincremental path building in; uses ephemeral DH; onions are gone
Roger Dingledine [Mon, 5 May 2003 23:24:46 +0000 (23:24 +0000)] 
incremental path building in; uses ephemeral DH; onions are gone
still need to change circuit-level sendmes

svn:r264

22 years agoTests, headers, and debugging for onion skin backend
Nick Mathewson [Mon, 5 May 2003 04:27:00 +0000 (04:27 +0000)] 
Tests, headers, and debugging for onion skin backend

svn:r263

22 years agostreams are now 8 bytes, and are recognized by intermediate hops
Roger Dingledine [Fri, 2 May 2003 21:29:25 +0000 (21:29 +0000)] 
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

22 years agoremove obsolete test code
Roger Dingledine [Thu, 1 May 2003 23:22:35 +0000 (23:22 +0000)] 
remove obsolete test code

svn:r261

22 years agocpath is now a doubly linked list, not an array
Roger Dingledine [Thu, 1 May 2003 22:55:51 +0000 (22:55 +0000)] 
cpath is now a doubly linked list, not an array

svn:r260

22 years agoImplement core of onion-skin-based handshake
Nick Mathewson [Thu, 1 May 2003 19:42:51 +0000 (19:42 +0000)] 
Implement core of onion-skin-based handshake

svn:r259

22 years agoterminology shift: data->relay, topic->relay, topic->stream
Roger Dingledine [Thu, 1 May 2003 06:42:29 +0000 (06:42 +0000)] 
terminology shift: data->relay, topic->relay, topic->stream

svn:r258

22 years agoBasic diffie-helman wrappers with fixed modulus and tests
Nick Mathewson [Thu, 1 May 2003 00:53:46 +0000 (00:53 +0000)] 
Basic diffie-helman wrappers with fixed modulus and tests

svn:r257

22 years agoupdate based on discussions at discex iii
Roger Dingledine [Fri, 25 Apr 2003 18:29:45 +0000 (18:29 +0000)] 
update based on discussions at discex iii

svn:r256

22 years agobugfix: a circ can't be youngest if it's still connecting to the first hop
Roger Dingledine [Sun, 20 Apr 2003 21:56:44 +0000 (21:56 +0000)] 
bugfix: a circ can't be youngest if it's still connecting to the first hop

svn:r255

22 years agobugfix: refactor to always use circuit_remove
Roger Dingledine [Sun, 20 Apr 2003 19:47:33 +0000 (19:47 +0000)] 
bugfix: refactor to always use circuit_remove
this way we can always check if a new circ needs to be launched

svn:r254

22 years agobugfix: don't segfault if there's no valid circuit open
Roger Dingledine [Sat, 19 Apr 2003 00:24:17 +0000 (00:24 +0000)] 
bugfix: don't segfault if there's no valid circuit open

svn:r253

22 years agoupdate docs to reflect a bit more reality
Roger Dingledine [Fri, 18 Apr 2003 18:57:22 +0000 (18:57 +0000)] 
update docs to reflect a bit more reality

svn:r252

22 years agobugfix: only close old circuits if they have no connections!
Roger Dingledine [Fri, 18 Apr 2003 18:47:49 +0000 (18:47 +0000)] 
bugfix: only close old circuits if they have no connections!

svn:r251

22 years agoAdjust straggling users of payload field
Nick Mathewson [Thu, 17 Apr 2003 17:25:32 +0000 (17:25 +0000)] 
Adjust straggling users of payload field

svn:r250

22 years agoChoose correct abstraction for topic_foo. Abstract random-integer code
Nick Mathewson [Thu, 17 Apr 2003 17:10:41 +0000 (17:10 +0000)] 
Choose correct abstraction for topic_foo.  Abstract random-integer code

svn:r249

22 years agoUse cell.topic* fields in ap_handshake_send_begin
Nick Mathewson [Thu, 17 Apr 2003 16:46:44 +0000 (16:46 +0000)] 
Use cell.topic* fields in ap_handshake_send_begin

svn:r248

22 years agoRebuild or and test binaries when a libor.a changes but or/*.c does not.
Nick Mathewson [Thu, 17 Apr 2003 02:24:55 +0000 (02:24 +0000)] 
Rebuild or and test binaries when a libor.a changes but or/*.c does not.

svn:r247

22 years agoApply algebra; remove a condition
Nick Mathewson [Thu, 17 Apr 2003 02:03:55 +0000 (02:03 +0000)] 
Apply algebra; remove a condition

svn:r246

22 years agotv_udiff: do not modify arguments, and compute results correctly.
Nick Mathewson [Thu, 17 Apr 2003 01:59:41 +0000 (01:59 +0000)] 
tv_udiff: do not modify arguments, and compute results correctly.

svn:r245

22 years ago17 does not divide 1024, but it can stomp some interesting pointers and segfault...
Nick Mathewson [Thu, 17 Apr 2003 01:56:06 +0000 (01:56 +0000)] 
17 does not divide 1024, but it can stomp some interesting pointers and segfault the test suite

svn:r244

22 years agoFix test.h to have once-only evalutation of arguments
Nick Mathewson [Thu, 17 Apr 2003 01:55:13 +0000 (01:55 +0000)] 
Fix test.h to have once-only evalutation of arguments

svn:r243

22 years agomore cleanup
Roger Dingledine [Wed, 16 Apr 2003 23:22:05 +0000 (23:22 +0000)] 
more cleanup

svn:r242

22 years agofurther cleanup, test.c still has some bugs
Roger Dingledine [Wed, 16 Apr 2003 23:21:44 +0000 (23:21 +0000)] 
further cleanup, test.c still has some bugs

svn:r241