]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agoWorkarounds for a couple of pieces of windows strangeness.
Nick Mathewson [Wed, 28 Apr 2004 19:35:12 +0000 (19:35 +0000)] 
Workarounds for a couple of pieces of windows strangeness.

svn:r1734

21 years agoclean some dead code (right?)
Roger Dingledine [Wed, 28 Apr 2004 00:05:56 +0000 (00:05 +0000)] 
clean some dead code (right?)

svn:r1733

21 years agosome compilers don't like an array of length zero
Roger Dingledine [Tue, 27 Apr 2004 23:50:35 +0000 (23:50 +0000)] 
some compilers don't like an array of length zero

nick: should we remove support for IVs for now, since we don't
use them and don't plan to use them?

svn:r1732

21 years agoset Content-Type on the directory and hidserv descriptor
Roger Dingledine [Tue, 27 Apr 2004 21:48:37 +0000 (21:48 +0000)] 
set Content-Type on the directory and hidserv descriptor

svn:r1731

21 years agomake my assumption explicit
Roger Dingledine [Tue, 27 Apr 2004 11:28:45 +0000 (11:28 +0000)] 
make my assumption explicit

svn:r1730

21 years agoit was the second bug that was nailing us.
Roger Dingledine [Tue, 27 Apr 2004 11:23:56 +0000 (11:23 +0000)] 
it was the second bug that was nailing us.
periodically we expire some circuits if we already have
enough, and we were counting rend circs in that number.

(the first one wasn't a bug after all)

svn:r1729

21 years agodon't expire joined-rend circs that have an exit connection attached
Roger Dingledine [Tue, 27 Apr 2004 10:16:31 +0000 (10:16 +0000)] 
don't expire joined-rend circs that have an exit connection attached

and don't expire non-general excess circuits

svn:r1728

21 years agoSome versions of openssl have an SSL_pending function that erroneously
Nick Mathewson [Mon, 26 Apr 2004 23:19:21 +0000 (23:19 +0000)] 
Some versions of openssl have an SSL_pending function that erroneously
returns bytes when there is a non-application record pending.

I have no idea when/why this would even happen, but let's catch it and
make sure tor_tls_get_pending_bytes stays correct.

svn:r1727

21 years agoLog number of bytes pending after read.
Nick Mathewson [Mon, 26 Apr 2004 23:05:58 +0000 (23:05 +0000)] 
Log number of bytes pending after read.

svn:r1726

21 years agorendmid says it drops but actually sends nack
Roger Dingledine [Mon, 26 Apr 2004 23:02:20 +0000 (23:02 +0000)] 
rendmid says it drops but actually sends nack
fix log messages

svn:r1725

21 years agoRemove spurious semi
Nick Mathewson [Mon, 26 Apr 2004 23:01:15 +0000 (23:01 +0000)] 
Remove spurious semi

svn:r1724

21 years agoAdd a macro to catch unhandled openssl errors.
Nick Mathewson [Mon, 26 Apr 2004 23:00:07 +0000 (23:00 +0000)] 
Add a macro to catch unhandled openssl errors.

svn:r1723

21 years agoand other debugs
Roger Dingledine [Mon, 26 Apr 2004 22:22:18 +0000 (22:22 +0000)] 
and other debugs

svn:r1722

21 years agolog debug so nick can see it too
Roger Dingledine [Mon, 26 Apr 2004 22:22:11 +0000 (22:22 +0000)] 
log debug so nick can see it too

svn:r1721

21 years agoThe dots are there so you see test doing something. Therefore we should flush them...
Peter Palfrader [Mon, 26 Apr 2004 22:12:13 +0000 (22:12 +0000)] 
The dots are there so you see test doing something.  Therefore we should flush them after printing

svn:r1720

21 years agoadd a debugging entry, to find the wants-to-read-but-can't bug
Roger Dingledine [Mon, 26 Apr 2004 21:15:06 +0000 (21:15 +0000)] 
add a debugging entry, to find the wants-to-read-but-can't bug

svn:r1719

21 years agoInclude strerror(errno) with tls syscall errors
Nick Mathewson [Mon, 26 Apr 2004 18:11:58 +0000 (18:11 +0000)] 
Include strerror(errno) with tls syscall errors

svn:r1718

21 years agoRefactor crypto error handling to be more like TLS error handling:
Nick Mathewson [Mon, 26 Apr 2004 18:09:50 +0000 (18:09 +0000)] 
Refactor crypto error handling to be more like TLS error handling:
crypto_perror is a no-no, since an operation can set more than one
error.

Also, fix a bug in the unix crypto_seed_rng: mixing stdio with
/dev/urandom is a bad idea, since fopen can make all kinds of weird
extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends
to buffer data in big chunks, thus depleting the entropy pool.

svn:r1717

21 years agoLog pending TLS errors in a couple more places, in case they are possible.
Nick Mathewson [Mon, 26 Apr 2004 16:52:47 +0000 (16:52 +0000)] 
Log pending TLS errors in a couple more places, in case they are possible.

svn:r1716

21 years agoNew upstream release candidate. debian-version-0.0.5+0.0.6rc2-1
Peter Palfrader [Mon, 26 Apr 2004 10:23:55 +0000 (10:23 +0000)] 
New upstream release candidate.

svn:r1714

21 years agobump us to rc2
Roger Dingledine [Mon, 26 Apr 2004 09:33:11 +0000 (09:33 +0000)] 
bump us to rc2

svn:r1713

21 years agotell us when we're rotating things
Roger Dingledine [Mon, 26 Apr 2004 09:32:51 +0000 (09:32 +0000)] 
tell us when we're rotating things

svn:r1712

21 years agosince we don't support truncateds much, don't bother sending them;
Roger Dingledine [Mon, 26 Apr 2004 04:32:01 +0000 (04:32 +0000)] 
since we don't support truncateds much, don't bother sending them;
just close the circ.

(this wasn't relevant before, because we were mis-handling destroys.)

svn:r1711

21 years agofix a bug that's been lurking since 27 may 03 (!)
Roger Dingledine [Mon, 26 Apr 2004 03:42:41 +0000 (03:42 +0000)] 
fix a bug that's been lurking since 27 may 03 (!)
when passing back a destroy cell, we would use the wrong circ id.
how the heck did this work?

svn:r1710

21 years agoCall tls_log_errors at a more appropriate location; we can remove the other calls...
Nick Mathewson [Mon, 26 Apr 2004 03:09:17 +0000 (03:09 +0000)] 
Call tls_log_errors at a more appropriate location; we can remove the other calls in tor_tls_verify once we are sure they never happen.

svn:r1709

21 years agoBetter error msg on unknown circuit id.
Nick Mathewson [Mon, 26 Apr 2004 03:00:33 +0000 (03:00 +0000)] 
Better error msg on unknown circuit id.

svn:r1708

21 years agoVery blunt debugging code: log pending errors at start and end of tor_tls_verify
Nick Mathewson [Mon, 26 Apr 2004 02:33:12 +0000 (02:33 +0000)] 
Very blunt debugging code: log pending errors at start and end of tor_tls_verify

svn:r1707

21 years agotell us the nickname of the OR that hung up on us
Roger Dingledine [Mon, 26 Apr 2004 01:50:08 +0000 (01:50 +0000)] 
tell us the nickname of the OR that hung up on us

svn:r1706

21 years agoCheck for machine/limits.h in addition to sys/limits.h
Nick Mathewson [Sun, 25 Apr 2004 23:47:26 +0000 (23:47 +0000)] 
Check for machine/limits.h in addition to sys/limits.h

svn:r1705

21 years agodon't crash, if a conn that sent a begin has suddenly lost its circuit
Roger Dingledine [Sun, 25 Apr 2004 22:48:47 +0000 (22:48 +0000)] 
don't crash, if a conn that sent a begin has suddenly lost its circuit

svn:r1704

21 years agoNote another item I changed since the last package release in changelog
Peter Palfrader [Sun, 25 Apr 2004 22:24:00 +0000 (22:24 +0000)] 
Note another item I changed since the last package release in changelog

svn:r1703

21 years agoresolve a double-mark-for-close when things die inside connection_handle_write
Roger Dingledine [Sun, 25 Apr 2004 22:23:54 +0000 (22:23 +0000)] 
resolve a double-mark-for-close when things die inside connection_handle_write

svn:r1702

21 years agoNew upstream release candidate.
Peter Palfrader [Sun, 25 Apr 2004 22:07:33 +0000 (22:07 +0000)] 
New upstream release candidate.

svn:r1701

21 years agogive us a new dirservers file
Roger Dingledine [Sun, 25 Apr 2004 21:56:52 +0000 (21:56 +0000)] 
give us a new dirservers file

svn:r1700

21 years agonow assume all routers support rendezvous cells
Roger Dingledine [Sun, 25 Apr 2004 21:32:04 +0000 (21:32 +0000)] 
now assume all routers support rendezvous cells

svn:r1699

21 years agobump version to 0.0.6rc1
Roger Dingledine [Sun, 25 Apr 2004 20:44:23 +0000 (20:44 +0000)] 
bump version to 0.0.6rc1

svn:r1698

21 years agouse tor_assert
Roger Dingledine [Sun, 25 Apr 2004 20:37:37 +0000 (20:37 +0000)] 
use tor_assert
remove obsolete BUF_OK macro

svn:r1697

21 years agouse tor_assert and PUBLIC_KEY_OK
Roger Dingledine [Sun, 25 Apr 2004 19:59:38 +0000 (19:59 +0000)] 
use tor_assert and PUBLIC_KEY_OK
but don't use tor_assert inside log.c, to avoid loops

svn:r1696

21 years agoAdd a tor_assert macro that logs failed assertions.
Nick Mathewson [Sun, 25 Apr 2004 19:37:39 +0000 (19:37 +0000)] 
Add a tor_assert macro that logs failed assertions.

svn:r1695

21 years agoAdd assert on crypto_pk_write_private_key,and macros to make sure we have real keys
Nick Mathewson [Sun, 25 Apr 2004 19:21:44 +0000 (19:21 +0000)] 
Add assert on crypto_pk_write_private_key,and macros to make sure we have real keys

svn:r1694

21 years agoRemove onion_pkey from connection, since onion keys can change more often than connec...
Nick Mathewson [Sun, 25 Apr 2004 19:04:11 +0000 (19:04 +0000)] 
Remove onion_pkey from connection, since onion keys can change more often than connections. Also add more log messages

svn:r1693

21 years agoremove spurious router_rebuild_descriptor
Nick Mathewson [Sun, 25 Apr 2004 19:01:49 +0000 (19:01 +0000)] 
remove spurious router_rebuild_descriptor

svn:r1692

21 years agodon't build and upload a new desc twice in a row
Roger Dingledine [Sun, 25 Apr 2004 05:19:03 +0000 (05:19 +0000)] 
don't build and upload a new desc twice in a row

svn:r1691

21 years agolog correctly if decoding onion failed
Roger Dingledine [Sun, 25 Apr 2004 04:49:11 +0000 (04:49 +0000)] 
log correctly if decoding onion failed

svn:r1690

21 years agodon't warn when private_decrypt_hybrid fails
Roger Dingledine [Sun, 25 Apr 2004 04:32:59 +0000 (04:32 +0000)] 
don't warn when private_decrypt_hybrid fails

svn:r1689

21 years agobugfix: when rotating onion key, do it (more) correctly
Roger Dingledine [Sun, 25 Apr 2004 03:38:19 +0000 (03:38 +0000)] 
bugfix: when rotating onion key, do it (more) correctly

svn:r1688

21 years agomore touch-ups
Roger Dingledine [Sat, 24 Apr 2004 23:32:24 +0000 (23:32 +0000)] 
more touch-ups

svn:r1687

21 years agoSpurious link-key should not be an error
Nick Mathewson [Sat, 24 Apr 2004 22:50:09 +0000 (22:50 +0000)] 
Spurious link-key should not be an error

svn:r1686

21 years agoNote router addr:port in log messages
Nick Mathewson [Sat, 24 Apr 2004 22:40:32 +0000 (22:40 +0000)] 
Note router addr:port in log messages

svn:r1685

21 years agoCompare nicknames casei.
Nick Mathewson [Sat, 24 Apr 2004 22:34:31 +0000 (22:34 +0000)] 
Compare nicknames casei.

svn:r1684

21 years agoMerge flagday into main branch.
Nick Mathewson [Sat, 24 Apr 2004 22:17:50 +0000 (22:17 +0000)] 
Merge flagday into main branch.

svn:r1683

21 years agoMention tor web site and mailinglists in description.
Peter Palfrader [Sat, 24 Apr 2004 17:42:30 +0000 (17:42 +0000)] 
Mention tor web site and mailinglists in description.

svn:r1682

21 years agorewrite the todo list
Roger Dingledine [Thu, 22 Apr 2004 03:50:42 +0000 (03:50 +0000)] 
rewrite the todo list

svn:r1681

21 years agoanother maybe-todo item
Roger Dingledine [Wed, 21 Apr 2004 21:57:49 +0000 (21:57 +0000)] 
another maybe-todo item

svn:r1680

21 years agoUpdate flag-day status
Nick Mathewson [Wed, 21 Apr 2004 21:56:21 +0000 (21:56 +0000)] 
Update flag-day status

svn:r1679

21 years agoonly expire wedged dir conns that haven't already been expired
Roger Dingledine [Tue, 20 Apr 2004 17:27:54 +0000 (17:27 +0000)] 
only expire wedged dir conns that haven't already been expired

svn:r1676

21 years agouse the real socketpair if we've got it
Roger Dingledine [Mon, 19 Apr 2004 21:31:32 +0000 (21:31 +0000)] 
use the real socketpair if we've got it
now it's just windows that has to use the kludged one

svn:r1675

21 years agothe socketpair bug is no longer a bug
Roger Dingledine [Mon, 19 Apr 2004 21:25:48 +0000 (21:25 +0000)] 
the socketpair bug is no longer a bug
now it is a documented behavior

svn:r1674

21 years agoexpire wedged dir conns after 5min without write, not simply after 5min
Roger Dingledine [Mon, 19 Apr 2004 20:08:42 +0000 (20:08 +0000)] 
expire wedged dir conns after 5min without write, not simply after 5min

svn:r1673

21 years agobump cvs version to 0.0.6pre6-cvs
Roger Dingledine [Mon, 19 Apr 2004 02:56:03 +0000 (02:56 +0000)] 
bump cvs version to 0.0.6pre6-cvs

svn:r1672

21 years agogive wedged dir conns a last chance to flush
Roger Dingledine [Mon, 19 Apr 2004 01:59:20 +0000 (01:59 +0000)] 
give wedged dir conns a last chance to flush

svn:r1671

21 years agoAdd and tenatively assign some items in flag-day todo
Nick Mathewson [Sun, 18 Apr 2004 20:44:04 +0000 (20:44 +0000)] 
Add and tenatively assign some items in flag-day todo

svn:r1669

21 years agotmp patch to also expire old clean rend_ready circs for now
Roger Dingledine [Sun, 18 Apr 2004 09:27:05 +0000 (09:27 +0000)] 
tmp patch to also expire old clean rend_ready circs for now
will have to be fixed once we build-and-open rend circs preemptively

svn:r1668

21 years agobugfix: you mean we're supposed to reuse fresh descriptors and
Roger Dingledine [Sun, 18 Apr 2004 09:04:37 +0000 (09:04 +0000)] 
bugfix: you mean we're supposed to reuse fresh descriptors and
refetch stale ones, not reuse stale ones and refetch fresh ones?

svn:r1667

21 years agowhen you get an intro ack, don't also count it as an intro nack
Roger Dingledine [Sun, 18 Apr 2004 08:38:40 +0000 (08:38 +0000)] 
when you get an intro ack, don't also count it as an intro nack

svn:r1666

21 years agoif an intro circ waiting for an ack dies before getting one, then
Roger Dingledine [Sun, 18 Apr 2004 07:37:16 +0000 (07:37 +0000)] 
if an intro circ waiting for an ack dies before getting one, then
count it as a nack

svn:r1665

21 years agoreverse the logic, captain
Roger Dingledine [Sun, 18 Apr 2004 06:42:13 +0000 (06:42 +0000)] 
reverse the logic, captain

svn:r1664

21 years agoexpire dir connections that live for more than 5 minutes
Roger Dingledine [Sun, 18 Apr 2004 06:35:31 +0000 (06:35 +0000)] 
expire dir connections that live for more than 5 minutes

svn:r1663

21 years agoadd more flagday items to todo
Nick Mathewson [Sun, 18 Apr 2004 03:13:58 +0000 (03:13 +0000)] 
add more flagday items to todo

svn:r1661

21 years agobugfix: give dir_conn a state before building the bridge, so it has
Roger Dingledine [Sat, 17 Apr 2004 20:19:43 +0000 (20:19 +0000)] 
bugfix: give dir_conn a state before building the bridge, so it has
a state if things fail

svn:r1660

21 years agolog n_circ_ids when attaching rend streams
Roger Dingledine [Sat, 17 Apr 2004 10:25:38 +0000 (10:25 +0000)] 
log n_circ_ids when attaching rend streams

svn:r1657

21 years agoa ! goes a long way toward more helpful debug messages
Roger Dingledine [Sat, 17 Apr 2004 10:04:00 +0000 (10:04 +0000)] 
a ! goes a long way toward more helpful debug messages

svn:r1656

21 years agoadd back in a todo that i thought we'd got but we clearly haven't
Roger Dingledine [Sat, 17 Apr 2004 09:16:30 +0000 (09:16 +0000)] 
add back in a todo that i thought we'd got but we clearly haven't
(thanks weasel)

svn:r1655

21 years agoinclude sys/limits.h if it's found
Roger Dingledine [Sat, 17 Apr 2004 06:35:18 +0000 (06:35 +0000)] 
include sys/limits.h if it's found

svn:r1654

21 years agoutil.c uses LONG_MAX, needs another include on fbsd 5.x
Roger Dingledine [Sat, 17 Apr 2004 06:35:03 +0000 (06:35 +0000)] 
util.c uses LONG_MAX, needs another include on fbsd 5.x

svn:r1653

21 years agofreebsd 5.x needs sys/limits.h
Roger Dingledine [Sat, 17 Apr 2004 06:34:36 +0000 (06:34 +0000)] 
freebsd 5.x needs sys/limits.h

svn:r1652

21 years agoclean up some warnings
Roger Dingledine [Sat, 17 Apr 2004 06:34:20 +0000 (06:34 +0000)] 
clean up some warnings

svn:r1651

21 years agoadd a list of backward-incompatible things we need to do
Roger Dingledine [Sat, 17 Apr 2004 05:25:44 +0000 (05:25 +0000)] 
add a list of backward-incompatible things we need to do

svn:r1650

21 years agomore useful logs to track weasel's bug
Roger Dingledine [Sat, 17 Apr 2004 05:17:40 +0000 (05:17 +0000)] 
more useful logs to track weasel's bug

svn:r1649

21 years agomore debugging to hunt for a bug
Roger Dingledine [Sat, 17 Apr 2004 01:33:04 +0000 (01:33 +0000)] 
more debugging to hunt for a bug

svn:r1647

21 years agobugfix: when you sleep your hidden-service laptop, as soon
Roger Dingledine [Sat, 17 Apr 2004 00:46:05 +0000 (00:46 +0000)] 
bugfix: when you sleep your hidden-service laptop, as soon
as it wakes up it tries to upload a service descriptor, but
socketpair fails for some reason (localhost not up yet?)

now we simply give up on that upload, and we'll try again later.

svn:r1646

21 years agofix another rare bug: when we had tried all the intro tor-0.0.6incompat-merged
Roger Dingledine [Fri, 16 Apr 2004 14:35:28 +0000 (14:35 +0000)] 
fix another rare bug: when we had tried all the intro
points for a hidden service, we fetched the descriptor
again, but we left our introcirc thinking it had already
sent an intro, so it kept waiting for a response...

svn:r1644

21 years agofix a pair of duplicate mark-for-closes
Roger Dingledine [Fri, 16 Apr 2004 14:26:23 +0000 (14:26 +0000)] 
fix a pair of duplicate mark-for-closes

svn:r1643

21 years agowhen alice uses a port that the hidden service doesn't accept,
Roger Dingledine [Fri, 16 Apr 2004 13:49:14 +0000 (13:49 +0000)] 
when alice uses a port that the hidden service doesn't accept,
it now sends back an end cell (denied by exit policy). otherwise
alice would just have to wait to time out.

svn:r1642

21 years agomore useful logging for rend services and clients
Roger Dingledine [Fri, 16 Apr 2004 11:48:03 +0000 (11:48 +0000)] 
more useful logging for rend services and clients

svn:r1641

21 years agoweasel convinced me not to call it pre5 until it's actually pre5
Roger Dingledine [Fri, 16 Apr 2004 09:01:33 +0000 (09:01 +0000)] 
weasel convinced me not to call it pre5 until it's actually pre5

svn:r1640

21 years agowait a minute, weasel said there was a memory-stomping bug here
Roger Dingledine [Fri, 16 Apr 2004 08:49:14 +0000 (08:49 +0000)] 
wait a minute, weasel said there was a memory-stomping bug here
let's see if we find it

svn:r1639

21 years agobump cvs to 0.0.6pre5
Roger Dingledine [Fri, 16 Apr 2004 08:43:09 +0000 (08:43 +0000)] 
bump cvs to 0.0.6pre5

svn:r1638

21 years agoi was wrong about one of my invariants
Roger Dingledine [Fri, 16 Apr 2004 08:21:35 +0000 (08:21 +0000)] 
i was wrong about one of my invariants
now it's commented
this should fix asserts when you try an intro point, get a nack,
and try a second one and it works.

svn:r1637

21 years agoput in an extra assert, might find a bug these way
Roger Dingledine [Fri, 16 Apr 2004 04:41:07 +0000 (04:41 +0000)] 
put in an extra assert, might find a bug these way

svn:r1636

21 years agocompress end-of-second summary into one line
Roger Dingledine [Thu, 15 Apr 2004 22:09:14 +0000 (22:09 +0000)] 
compress end-of-second summary into one line

svn:r1635

21 years agoquiet a -l info that should be -l debug
Roger Dingledine [Thu, 15 Apr 2004 22:08:37 +0000 (22:08 +0000)] 
quiet a -l info that should be -l debug

svn:r1634

21 years agoa todo item for sometime
Roger Dingledine [Thu, 15 Apr 2004 03:54:33 +0000 (03:54 +0000)] 
a todo item for sometime

svn:r1633

21 years agoMust detach before attaching, or else we infinite-loop
Nick Mathewson [Thu, 15 Apr 2004 03:48:26 +0000 (03:48 +0000)] 
Must detach before attaching, or else we infinite-loop

svn:r1632

21 years agobump version to 0.0.6pre4
Roger Dingledine [Thu, 15 Apr 2004 03:07:01 +0000 (03:07 +0000)] 
bump version to 0.0.6pre4

svn:r1631

21 years agoStrings need room for a NUL.
Nick Mathewson [Thu, 15 Apr 2004 02:02:46 +0000 (02:02 +0000)] 
Strings need room for a NUL.

svn:r1630

21 years agoAdd a missing return -1
Nick Mathewson [Thu, 15 Apr 2004 01:23:43 +0000 (01:23 +0000)] 
Add a missing return -1

svn:r1629

21 years agomake unattached rend streams expire after a while (60s)
Roger Dingledine [Thu, 15 Apr 2004 01:08:59 +0000 (01:08 +0000)] 
make unattached rend streams expire after a while (60s)
(they were darned persistent)

also make intro circs that are waiting for acks expire after a while (20s)

svn:r1628

21 years agonarrow in closer
Roger Dingledine [Thu, 15 Apr 2004 00:03:48 +0000 (00:03 +0000)] 
narrow in closer

svn:r1627

21 years agoprune abandoned circs better
Roger Dingledine [Wed, 14 Apr 2004 23:52:29 +0000 (23:52 +0000)] 
prune abandoned circs better
add debugging info for the bug weasel found

svn:r1626