]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
22 years agobugfixes and note missing features
Roger Dingledine [Sun, 21 Sep 2003 06:15:43 +0000 (06:15 +0000)] 
bugfixes and note missing features

deal with content-length headers better when reading http
don't assume struct socks4_info is a packed struct
fail the socks handshake if destip is zero
flesh out conn_state_to_string() for dir conn
fix typo (bug) in connection_handle_read()
directory get is now called fetch, post is now upload
reopen logs on sighup

svn:r475

22 years agoadd a lot of todo entries, from today's meeting
Roger Dingledine [Sat, 20 Sep 2003 06:56:15 +0000 (06:56 +0000)] 
add a lot of todo entries, from today's meeting

svn:r474

22 years agofix a segfault on truncated log lines
Roger Dingledine [Fri, 19 Sep 2003 09:30:34 +0000 (09:30 +0000)] 
fix a segfault on truncated log lines

svn:r473

22 years agoleave the socks handshake on the inbuf until it's complete
Roger Dingledine [Thu, 18 Sep 2003 08:11:31 +0000 (08:11 +0000)] 
leave the socks handshake on the inbuf until it's complete
this paves the way for supporting socks5 and other handshakes
it also removes those pesky AP-only variables from connection_t

also hacked a fix for a bug where some streams weren't ending properly --
maybe because marked connections weren't flushing properly?

svn:r472

22 years agoadd in directory 'post' support
Roger Dingledine [Wed, 17 Sep 2003 20:09:06 +0000 (20:09 +0000)] 
add in directory 'post' support

svn:r471

22 years agophase out non-tls handshake, now that tls is stable.
Roger Dingledine [Tue, 16 Sep 2003 21:20:09 +0000 (21:20 +0000)] 
phase out non-tls handshake, now that tls is stable.

svn:r470

22 years agobugfixes and refactorings tor-0.0.2pre8
Roger Dingledine [Tue, 16 Sep 2003 20:57:09 +0000 (20:57 +0000)] 
bugfixes and refactorings

svn:r468

22 years agoMore fine-grained logging messages on ZeroReturn/Syscall error cases
Nick Mathewson [Tue, 16 Sep 2003 20:53:09 +0000 (20:53 +0000)] 
More fine-grained logging messages on ZeroReturn/Syscall error cases

svn:r467

22 years agoMake sequential ACI selection logic handle HIGHER/LOWER
Nick Mathewson [Tue, 16 Sep 2003 20:13:43 +0000 (20:13 +0000)] 
Make sequential ACI selection logic handle HIGHER/LOWER

svn:r466

22 years agoUse EXIT properly in assert_connection_ok
Nick Mathewson [Tue, 16 Sep 2003 19:51:09 +0000 (19:51 +0000)] 
Use EXIT properly in assert_connection_ok

svn:r465

22 years agoAdd first cut of assert_*_ok functions
Nick Mathewson [Tue, 16 Sep 2003 19:36:19 +0000 (19:36 +0000)] 
Add first cut of assert_*_ok functions

svn:r464

22 years agoAdd backend support for multiple logfiles, including console logs.
Nick Mathewson [Tue, 16 Sep 2003 17:58:36 +0000 (17:58 +0000)] 
Add backend support for multiple logfiles, including console logs.

Also optimize logging by formatting messages in memory before sending
them through stdio.  (It turns out (according to gprof) that logging
performance matters.)

svn:r463

22 years agoAdd #ifdef'd code (on by default) to allocate ACIs sequentially.
Nick Mathewson [Tue, 16 Sep 2003 17:17:39 +0000 (17:17 +0000)] 
Add #ifdef'd code (on by default) to allocate ACIs sequentially.

svn:r462

22 years agoclean up exported api's
Roger Dingledine [Tue, 16 Sep 2003 05:41:49 +0000 (05:41 +0000)] 
clean up exported api's

svn:r461

22 years agorefactor connects into connection_connect()
Roger Dingledine [Tue, 16 Sep 2003 01:58:46 +0000 (01:58 +0000)] 
refactor connects into connection_connect()

svn:r460

22 years agoCipher lists need to be colon separated. Also make initialization more bulletproof
Nick Mathewson [Mon, 15 Sep 2003 19:38:52 +0000 (19:38 +0000)] 
Cipher lists need to be colon separated.  Also make initialization more bulletproof

svn:r459

22 years agoFix TLS error logging
Nick Mathewson [Mon, 15 Sep 2003 18:37:49 +0000 (18:37 +0000)] 
Fix TLS error logging

svn:r458

22 years agoLog protocol errors
Nick Mathewson [Mon, 15 Sep 2003 18:18:37 +0000 (18:18 +0000)] 
Log protocol errors

svn:r457

22 years agobugfix: onion pending queue now works
Roger Dingledine [Sun, 14 Sep 2003 08:17:14 +0000 (08:17 +0000)] 
bugfix: onion pending queue now works
and fixed recent memory leak

svn:r456

22 years agofinally tracked down the seg fault
Roger Dingledine [Sun, 14 Sep 2003 06:43:18 +0000 (06:43 +0000)] 
finally tracked down the seg fault

svn:r455

22 years agofix the cpuworker circ-had-vanished bug (maybe)
Roger Dingledine [Sun, 14 Sep 2003 02:58:50 +0000 (02:58 +0000)] 
fix the cpuworker circ-had-vanished bug (maybe)

still several (many) tls-related bugs outstanding.

svn:r454

22 years agolet tor compile with tls on rh9
Roger Dingledine [Sun, 14 Sep 2003 01:44:44 +0000 (01:44 +0000)] 
let tor compile with tls on rh9

nick: is this the right way to do the autoconf stuff? what happens when
/usr/kerberos/include/ doesn't exist?
an alternate way is to add `pkg-config --cflags openssl` to CFLAGS, but
it seems that command only works on rh9. yay portability issues.

svn:r453

22 years agofix two more bugs
Roger Dingledine [Sat, 13 Sep 2003 21:53:38 +0000 (21:53 +0000)] 
fix two more bugs

svn:r452

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