]>
git.ipfire.org Git - thirdparty/tor.git/log
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
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
Roger Dingledine [Fri, 19 Sep 2003 09:30:34 +0000 (09:30 +0000)]
fix a segfault on truncated log lines
svn:r473
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
Roger Dingledine [Wed, 17 Sep 2003 20:09:06 +0000 (20:09 +0000)]
add in directory 'post' support
svn:r471
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
Roger Dingledine [Tue, 16 Sep 2003 20:57:09 +0000 (20:57 +0000)]
bugfixes and refactorings
svn:r468
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
Nick Mathewson [Tue, 16 Sep 2003 20:13:43 +0000 (20:13 +0000)]
Make sequential ACI selection logic handle HIGHER/LOWER
svn:r466
Nick Mathewson [Tue, 16 Sep 2003 19:51:09 +0000 (19:51 +0000)]
Use EXIT properly in assert_connection_ok
svn:r465
Nick Mathewson [Tue, 16 Sep 2003 19:36:19 +0000 (19:36 +0000)]
Add first cut of assert_*_ok functions
svn:r464
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
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
Roger Dingledine [Tue, 16 Sep 2003 05:41:49 +0000 (05:41 +0000)]
clean up exported api's
svn:r461
Roger Dingledine [Tue, 16 Sep 2003 01:58:46 +0000 (01:58 +0000)]
refactor connects into connection_connect()
svn:r460
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
Nick Mathewson [Mon, 15 Sep 2003 18:37:49 +0000 (18:37 +0000)]
Fix TLS error logging
svn:r458
Nick Mathewson [Mon, 15 Sep 2003 18:18:37 +0000 (18:18 +0000)]
Log protocol errors
svn:r457
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
Roger Dingledine [Sun, 14 Sep 2003 06:43:18 +0000 (06:43 +0000)]
finally tracked down the seg fault
svn:r455
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
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
Roger Dingledine [Sat, 13 Sep 2003 21:53:38 +0000 (21:53 +0000)]
fix two more bugs
svn:r452
Roger Dingledine [Fri, 12 Sep 2003 22:45:31 +0000 (22:45 +0000)]
reshuffle functions for cleaner organization
svn:r451
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
Roger Dingledine [Fri, 12 Sep 2003 06:20:36 +0000 (06:20 +0000)]
tls works with onion proxies now.
svn:r449
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
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
Roger Dingledine [Thu, 11 Sep 2003 22:20:16 +0000 (22:20 +0000)]
update onion router configs for tls
svn:r446
Roger Dingledine [Thu, 11 Sep 2003 22:19:48 +0000 (22:19 +0000)]
check for funny business from the remote peer
svn:r445
Nick Mathewson [Thu, 11 Sep 2003 22:13:13 +0000 (22:13 +0000)]
Non-debugging messages are nice to log too
svn:r444
Nick Mathewson [Thu, 11 Sep 2003 21:38:57 +0000 (21:38 +0000)]
Resolve XXXXs in tortls.c
svn:r443
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
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
Roger Dingledine [Thu, 11 Sep 2003 20:10:39 +0000 (20:10 +0000)]
fix typo that's been bugging me
svn:r440
Roger Dingledine [Thu, 11 Sep 2003 20:06:55 +0000 (20:06 +0000)]
collect info from peer we just handshaked with
svn:r439
Nick Mathewson [Wed, 10 Sep 2003 00:47:39 +0000 (00:47 +0000)]
Add certificate verification functions
svn:r438
Nick Mathewson [Wed, 10 Sep 2003 00:47:24 +0000 (00:47 +0000)]
Make crypto structures private to crypto.c
svn:r437
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
Roger Dingledine [Mon, 8 Sep 2003 23:10:24 +0000 (23:10 +0000)]
fix confirmed win32 bug
svn:r435
Roger Dingledine [Mon, 8 Sep 2003 10:59:00 +0000 (10:59 +0000)]
tls infrastructure now in place, give or take
svn:r434
Roger Dingledine [Mon, 8 Sep 2003 10:46:19 +0000 (10:46 +0000)]
another wishlist function for the tls interface
svn:r433
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
Roger Dingledine [Mon, 8 Sep 2003 06:22:19 +0000 (06:22 +0000)]
hide the global tls context inside tortls.c
svn:r431
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
Roger Dingledine [Sun, 7 Sep 2003 10:24:40 +0000 (10:24 +0000)]
more futzing towards tls
not there yet
svn:r429
Roger Dingledine [Fri, 5 Sep 2003 11:25:24 +0000 (11:25 +0000)]
clean read_to_buf more
svn:r428
Roger Dingledine [Fri, 5 Sep 2003 06:46:39 +0000 (06:46 +0000)]
fill in a gap in the spec
svn:r427
Roger Dingledine [Fri, 5 Sep 2003 06:04:03 +0000 (06:04 +0000)]
general cleanup and reabstraction, to prepare for tls
svn:r426
Roger Dingledine [Fri, 5 Sep 2003 05:58:21 +0000 (05:58 +0000)]
move variable declarations to top of function
svn:r425
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
Roger Dingledine [Sun, 31 Aug 2003 00:11:01 +0000 (00:11 +0000)]
update the TODO
svn:r423
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
Nick Mathewson [Thu, 28 Aug 2003 04:21:57 +0000 (04:21 +0000)]
Fix memory leaks in directory parsing
svn:r421
Roger Dingledine [Wed, 27 Aug 2003 22:45:10 +0000 (22:45 +0000)]
remove op_port from the spec also
svn:r420
Roger Dingledine [Wed, 27 Aug 2003 22:42:39 +0000 (22:42 +0000)]
router formats don't include op_port now either
svn:r419
Roger Dingledine [Wed, 27 Aug 2003 22:42:10 +0000 (22:42 +0000)]
remove last vestiges of op_port
svn:r418
Roger Dingledine [Mon, 25 Aug 2003 22:02:42 +0000 (22:02 +0000)]
note an assert bug that's still around
svn:r417
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
Nick Mathewson [Mon, 25 Aug 2003 20:57:23 +0000 (20:57 +0000)]
Attempt to track down bug in conn->package_window
svn:r415
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
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
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
Roger Dingledine [Mon, 25 Aug 2003 07:06:12 +0000 (07:06 +0000)]
fix formatting in crypto.c for my sanity
svn:r411
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
Roger Dingledine [Mon, 25 Aug 2003 03:00:31 +0000 (03:00 +0000)]
add router twins to the spec
svn:r409
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
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
Roger Dingledine [Fri, 22 Aug 2003 03:34:51 +0000 (03:34 +0000)]
patch the spec somewhat. it's still quite stale.
svn:r406
Roger Dingledine [Fri, 22 Aug 2003 03:21:51 +0000 (03:21 +0000)]
move finished todo entries to bottom of list
svn:r405
Roger Dingledine [Fri, 22 Aug 2003 03:17:14 +0000 (03:17 +0000)]
update TODO to reflect current reality
svn:r404
Roger Dingledine [Thu, 21 Aug 2003 17:59:06 +0000 (17:59 +0000)]
Is there a backdoor in tor?
svn:r403
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
Roger Dingledine [Thu, 14 Aug 2003 21:46:24 +0000 (21:46 +0000)]
include torint.h in 'make dist'
svn:r401
Nick Mathewson [Thu, 14 Aug 2003 17:51:36 +0000 (17:51 +0000)]
Tor now builds on win32.
svn:r400
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
Nick Mathewson [Thu, 14 Aug 2003 17:13:52 +0000 (17:13 +0000)]
Attempt to make sockets code work right on windows.
svn:r398
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
Roger Dingledine [Wed, 13 Aug 2003 22:38:46 +0000 (22:38 +0000)]
bugfix: if a dnsworker dies, remember that.
svn:r396
Nick Mathewson [Tue, 12 Aug 2003 15:34:50 +0000 (15:34 +0000)]
oops - or/or.plg is not needed
svn:r395
Nick Mathewson [Tue, 12 Aug 2003 15:32:46 +0000 (15:32 +0000)]
Adding project/workspace/build files for Visual Studio 6
svn:r394
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
Nick Mathewson [Tue, 12 Aug 2003 08:18:13 +0000 (08:18 +0000)]
Make windows happier still
svn:r392
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
Nick Mathewson [Tue, 12 Aug 2003 07:49:29 +0000 (07:49 +0000)]
Stop trying to #include the world in util.c
svn:r390
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
Roger Dingledine [Tue, 12 Aug 2003 07:35:17 +0000 (07:35 +0000)]
use the spawn_func / spawn_exit abstraction for dnsworkers
svn:r388
Nick Mathewson [Tue, 12 Aug 2003 07:01:20 +0000 (07:01 +0000)]
Add abstraction for fork vs thread.
svn:r387
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
Roger Dingledine [Tue, 12 Aug 2003 06:41:53 +0000 (06:41 +0000)]
reap exited dns/cpuworkers
svn:r385
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
Roger Dingledine [Tue, 12 Aug 2003 05:48:26 +0000 (05:48 +0000)]
we must have openssl, so HAVE_OPENSSL is redundant
svn:r383
Roger Dingledine [Tue, 12 Aug 2003 05:29:07 +0000 (05:29 +0000)]
remove obsolete (we hope) file
svn:r382
Nick Mathewson [Tue, 12 Aug 2003 03:16:15 +0000 (03:16 +0000)]
unbork windows line endings
svn:r381
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
Nick Mathewson [Mon, 11 Aug 2003 23:21:51 +0000 (23:21 +0000)]
Work on systems with broken AC_CHECK_TYPE
svn:r379
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
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
Nick Mathewson [Mon, 11 Aug 2003 20:40:21 +0000 (20:40 +0000)]
autoconf around missing stdint.h
svn:r376
Roger Dingledine [Mon, 11 Aug 2003 20:22:48 +0000 (20:22 +0000)]
better log output for debugging
svn:r375