]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
22 years agoreshuffle functions for cleaner organization
Roger Dingledine [Fri, 12 Sep 2003 22:45:31 +0000 (22:45 +0000)] 
reshuffle functions for cleaner organization

svn:r451

22 years agotls works between routers now too
Roger Dingledine [Fri, 12 Sep 2003 06:50:21 +0000 (06:50 +0000)] 
tls works between routers now too
things are still a bit shaky

svn:r450

22 years agotls works with onion proxies now.
Roger Dingledine [Fri, 12 Sep 2003 06:20:36 +0000 (06:20 +0000)] 
tls works with onion proxies now.

svn:r449

22 years agoserious bug in cpuworker. need to think about redesign or how to handle it.
Roger Dingledine [Fri, 12 Sep 2003 06:18:38 +0000 (06:18 +0000)] 
serious bug in cpuworker. need to think about redesign or how to handle it.

svn:r448

22 years agoFix bugs in certificate generation and SSL context creation. Both seem to work now.
Nick Mathewson [Thu, 11 Sep 2003 23:26:31 +0000 (23:26 +0000)] 
Fix bugs in certificate generation and SSL context creation.  Both seem to work now.

svn:r447

22 years agoupdate onion router configs for tls
Roger Dingledine [Thu, 11 Sep 2003 22:20:16 +0000 (22:20 +0000)] 
update onion router configs for tls

svn:r446

22 years agocheck for funny business from the remote peer
Roger Dingledine [Thu, 11 Sep 2003 22:19:48 +0000 (22:19 +0000)] 
check for funny business from the remote peer

svn:r445

22 years agoNon-debugging messages are nice to log too
Nick Mathewson [Thu, 11 Sep 2003 22:13:13 +0000 (22:13 +0000)] 
Non-debugging messages are nice to log too

svn:r444

22 years agoResolve XXXXs in tortls.c
Nick Mathewson [Thu, 11 Sep 2003 21:38:57 +0000 (21:38 +0000)] 
Resolve XXXXs in tortls.c

svn:r443

22 years agoSimplify some code paths in TLS; cut down on memory leaks; use
Nick Mathewson [Thu, 11 Sep 2003 21:12:39 +0000 (21:12 +0000)] 
Simplify some code paths in TLS; cut down on memory leaks; use
reasonable ciphers if not everyone has OpenSSL 0.9.7.

svn:r442

22 years agoAdd router_get_by_pk function; use in connection_tls_finish_handshake.
Nick Mathewson [Thu, 11 Sep 2003 20:32:15 +0000 (20:32 +0000)] 
Add router_get_by_pk function; use in connection_tls_finish_handshake.

svn:r441

22 years agofix typo that's been bugging me
Roger Dingledine [Thu, 11 Sep 2003 20:10:39 +0000 (20:10 +0000)] 
fix typo that's been bugging me

svn:r440

22 years agocollect info from peer we just handshaked with
Roger Dingledine [Thu, 11 Sep 2003 20:06:55 +0000 (20:06 +0000)] 
collect info from peer we just handshaked with

svn:r439

22 years agoAdd certificate verification functions
Nick Mathewson [Wed, 10 Sep 2003 00:47:39 +0000 (00:47 +0000)] 
Add certificate verification functions

svn:r438

22 years agoMake crypto structures private to crypto.c
Nick Mathewson [Wed, 10 Sep 2003 00:47:24 +0000 (00:47 +0000)] 
Make crypto structures private to crypto.c

svn:r437

22 years agoAdd prototypes for functions to check whether the peer certificate is
Nick Mathewson [Wed, 10 Sep 2003 00:10:37 +0000 (00:10 +0000)] 
Add prototypes for functions to check whether the peer certificate is
valid (if it is present); and to get a public key from a peer
certificate (in order to identify the peer).

svn:r436

22 years agofix confirmed win32 bug
Roger Dingledine [Mon, 8 Sep 2003 23:10:24 +0000 (23:10 +0000)] 
fix confirmed win32 bug

svn:r435

22 years agotls infrastructure now in place, give or take
Roger Dingledine [Mon, 8 Sep 2003 10:59:00 +0000 (10:59 +0000)] 
tls infrastructure now in place, give or take

svn:r434

22 years agoanother wishlist function for the tls interface
Roger Dingledine [Mon, 8 Sep 2003 10:46:19 +0000 (10:46 +0000)] 
another wishlist function for the tls interface

svn:r433

22 years agoadd CertFile, Nickname
Roger Dingledine [Mon, 8 Sep 2003 06:26:38 +0000 (06:26 +0000)] 
add CertFile, Nickname
write new certfile if you don't have one already
set up a tls context on startup

svn:r432

22 years agohide the global tls context inside tortls.c
Roger Dingledine [Mon, 8 Sep 2003 06:22:19 +0000 (06:22 +0000)] 
hide the global tls context inside tortls.c

svn:r431

22 years agoclean up config.c so it doesn't expose as much
Roger Dingledine [Mon, 8 Sep 2003 05:16:18 +0000 (05:16 +0000)] 
clean up config.c so it doesn't expose as much

svn:r430

22 years agomore futzing towards tls
Roger Dingledine [Sun, 7 Sep 2003 10:24:40 +0000 (10:24 +0000)] 
more futzing towards tls
not there yet

svn:r429

22 years agoclean read_to_buf more
Roger Dingledine [Fri, 5 Sep 2003 11:25:24 +0000 (11:25 +0000)] 
clean read_to_buf more

svn:r428

22 years agofill in a gap in the spec
Roger Dingledine [Fri, 5 Sep 2003 06:46:39 +0000 (06:46 +0000)] 
fill in a gap in the spec

svn:r427

22 years agogeneral cleanup and reabstraction, to prepare for tls
Roger Dingledine [Fri, 5 Sep 2003 06:04:03 +0000 (06:04 +0000)] 
general cleanup and reabstraction, to prepare for tls

svn:r426

22 years agomove variable declarations to top of function
Roger Dingledine [Fri, 5 Sep 2003 05:58:21 +0000 (05:58 +0000)] 
move variable declarations to top of function

svn:r425

22 years agoAdd initial interfaces and code for TLS support. Interfaces are right; code needs...
Nick Mathewson [Thu, 4 Sep 2003 16:05:08 +0000 (16:05 +0000)] 
Add initial interfaces and code for TLS support.  Interfaces are right; code needs work and testing.

svn:r424

22 years agoupdate the TODO
Roger Dingledine [Sun, 31 Aug 2003 00:11:01 +0000 (00:11 +0000)] 
update the TODO

svn:r423

22 years agopoint out why router_forget_router probably doesn't work
Roger Dingledine [Fri, 29 Aug 2003 21:50:53 +0000 (21:50 +0000)] 
point out why router_forget_router probably doesn't work

svn:r422

22 years agoFix memory leaks in directory parsing
Nick Mathewson [Thu, 28 Aug 2003 04:21:57 +0000 (04:21 +0000)] 
Fix memory leaks in directory parsing

svn:r421

22 years agoremove op_port from the spec also
Roger Dingledine [Wed, 27 Aug 2003 22:45:10 +0000 (22:45 +0000)] 
remove op_port from the spec also

svn:r420

22 years agorouter formats don't include op_port now either
Roger Dingledine [Wed, 27 Aug 2003 22:42:39 +0000 (22:42 +0000)] 
router formats don't include op_port now either

svn:r419

22 years agoremove last vestiges of op_port
Roger Dingledine [Wed, 27 Aug 2003 22:42:10 +0000 (22:42 +0000)] 
remove last vestiges of op_port

svn:r418

22 years agonote an assert bug that's still around
Roger Dingledine [Mon, 25 Aug 2003 22:02:42 +0000 (22:02 +0000)] 
note an assert bug that's still around

svn:r417

22 years agomake the conn->package_window bug go away.
Roger Dingledine [Mon, 25 Aug 2003 21:43:51 +0000 (21:43 +0000)] 
make the conn->package_window bug go away.

not resolved, but at least the servers will stop crashing.

svn:r416

22 years agoAttempt to track down bug in conn->package_window
Nick Mathewson [Mon, 25 Aug 2003 20:57:23 +0000 (20:57 +0000)] 
Attempt to track down bug in conn->package_window

svn:r415

22 years agoCorrect description of extracting Kf and Kb from g^xy.
Nick Mathewson [Mon, 25 Aug 2003 18:50:29 +0000 (18:50 +0000)] 
Correct description of extracting Kf and Kb from g^xy.

svn:r414

22 years agoremove bandwidth negotation from the code
Roger Dingledine [Mon, 25 Aug 2003 08:28:34 +0000 (08:28 +0000)] 
remove bandwidth negotation from the code

we still use bandwidth on a per-connection basis for rate
limiting. but it's unclear if we need this infrastructure in
addition to the total-bandwidth rate limiting that we also do.

i'll leave both infrastructures in, and we'll remove the
per-connection one if it starts rotting too much.

svn:r413

22 years agoremove bandwidth from handshake negotiations
Roger Dingledine [Mon, 25 Aug 2003 08:26:34 +0000 (08:26 +0000)] 
remove bandwidth from handshake negotiations

replace too-prescriptive link throttling spec with handwavy one

svn:r412

22 years agofix formatting in crypto.c for my sanity
Roger Dingledine [Mon, 25 Aug 2003 07:06:12 +0000 (07:06 +0000)] 
fix formatting in crypto.c for my sanity

svn:r411

22 years agofix a mild memory leak (10 bytes each time an OR connected to an OR)
Roger Dingledine [Mon, 25 Aug 2003 06:24:17 +0000 (06:24 +0000)] 
fix a mild memory leak (10 bytes each time an OR connected to an OR)

svn:r410

22 years agoadd router twins to the spec
Roger Dingledine [Mon, 25 Aug 2003 03:00:31 +0000 (03:00 +0000)] 
add router twins to the spec

svn:r409

22 years agostart honoring the recommended_versions string
Roger Dingledine [Sat, 23 Aug 2003 10:09:25 +0000 (10:09 +0000)] 
start honoring the recommended_versions string

your client exits if you're running a version not in the
directory's list of acceptable versions (unless you have a
config variable set to override).

svn:r408

22 years agoremove duplicate packagewindow-checking code,
Roger Dingledine [Sat, 23 Aug 2003 10:06:46 +0000 (10:06 +0000)] 
remove duplicate packagewindow-checking code,
see if we can induce that segfault i just saw more often

svn:r407

22 years agopatch the spec somewhat. it's still quite stale.
Roger Dingledine [Fri, 22 Aug 2003 03:34:51 +0000 (03:34 +0000)] 
patch the spec somewhat. it's still quite stale.

svn:r406

22 years agomove finished todo entries to bottom of list
Roger Dingledine [Fri, 22 Aug 2003 03:21:51 +0000 (03:21 +0000)] 
move finished todo entries to bottom of list

svn:r405

22 years agoupdate TODO to reflect current reality
Roger Dingledine [Fri, 22 Aug 2003 03:17:14 +0000 (03:17 +0000)] 
update TODO to reflect current reality

svn:r404

22 years agoIs there a backdoor in tor?
Roger Dingledine [Thu, 21 Aug 2003 17:59:06 +0000 (17:59 +0000)] 
Is there a backdoor in tor?

svn:r403

22 years agoimplemented cpuworkers
Roger Dingledine [Wed, 20 Aug 2003 23:05:22 +0000 (23:05 +0000)] 
implemented cpuworkers

please poke at it and report bugs

still needs polishing, and only handles onions now (should handle
OR handshakes too)

svn:r402

22 years agoinclude torint.h in 'make dist'
Roger Dingledine [Thu, 14 Aug 2003 21:46:24 +0000 (21:46 +0000)] 
include torint.h in 'make dist'

svn:r401

22 years agoTor now builds on win32.
Nick Mathewson [Thu, 14 Aug 2003 17:51:36 +0000 (17:51 +0000)] 
Tor now builds on win32.

svn:r400

22 years agoAdd empty statement to suppress gcc warning about label at end of compount statement
Nick Mathewson [Thu, 14 Aug 2003 17:16:05 +0000 (17:16 +0000)] 
Add empty statement to suppress gcc warning about label at end of compount statement

svn:r399

22 years agoAttempt to make sockets code work right on windows.
Nick Mathewson [Thu, 14 Aug 2003 17:13:52 +0000 (17:13 +0000)] 
Attempt to make sockets code work right on windows.

svn:r398

22 years agostart refactoring dnsworker so testing won't be so darn hard
Roger Dingledine [Thu, 14 Aug 2003 03:52:51 +0000 (03:52 +0000)] 
start refactoring dnsworker so testing won't be so darn hard
add NumCpus config variable in preparation for cpuworkers
hardcode /etc/torrc path for config (simplifies win32 port)
improve exit policy debugging during router entry parsing

svn:r397

22 years agobugfix: if a dnsworker dies, remember that.
Roger Dingledine [Wed, 13 Aug 2003 22:38:46 +0000 (22:38 +0000)] 
bugfix: if a dnsworker dies, remember that.

svn:r396

22 years agooops - or/or.plg is not needed
Nick Mathewson [Tue, 12 Aug 2003 15:34:50 +0000 (15:34 +0000)] 
oops - or/or.plg is not needed

svn:r395

22 years agoAdding project/workspace/build files for Visual Studio 6
Nick Mathewson [Tue, 12 Aug 2003 15:32:46 +0000 (15:32 +0000)] 
Adding project/workspace/build files for Visual Studio 6

svn:r394

22 years agoMisc patches to make windows build work. Now everything is done except the sockets...
Nick Mathewson [Tue, 12 Aug 2003 15:08:51 +0000 (15:08 +0000)] 
Misc patches to make windows build work.  Now everything is done except the sockets stuff

svn:r393

22 years agoMake windows happier still
Nick Mathewson [Tue, 12 Aug 2003 08:18:13 +0000 (08:18 +0000)] 
Make windows happier still

svn:r392

22 years agodon't mess with signals on windows until we know how
Roger Dingledine [Tue, 12 Aug 2003 08:04:31 +0000 (08:04 +0000)] 
don't mess with signals on windows until we know how

svn:r391

22 years agoStop trying to #include the world in util.c
Nick Mathewson [Tue, 12 Aug 2003 07:49:29 +0000 (07:49 +0000)] 
Stop trying to #include the world in util.c

svn:r390

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