]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Wed, 28 Apr 2004 19:35:12 +0000 (19:35 +0000)]
Workarounds for a couple of pieces of windows strangeness.
svn:r1734
Roger Dingledine [Wed, 28 Apr 2004 00:05:56 +0000 (00:05 +0000)]
clean some dead code (right?)
svn:r1733
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
Roger Dingledine [Tue, 27 Apr 2004 21:48:37 +0000 (21:48 +0000)]
set Content-Type on the directory and hidserv descriptor
svn:r1731
Roger Dingledine [Tue, 27 Apr 2004 11:28:45 +0000 (11:28 +0000)]
make my assumption explicit
svn:r1730
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
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
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
Nick Mathewson [Mon, 26 Apr 2004 23:05:58 +0000 (23:05 +0000)]
Log number of bytes pending after read.
svn:r1726
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
Nick Mathewson [Mon, 26 Apr 2004 23:01:15 +0000 (23:01 +0000)]
Remove spurious semi
svn:r1724
Nick Mathewson [Mon, 26 Apr 2004 23:00:07 +0000 (23:00 +0000)]
Add a macro to catch unhandled openssl errors.
svn:r1723
Roger Dingledine [Mon, 26 Apr 2004 22:22:18 +0000 (22:22 +0000)]
and other debugs
svn:r1722
Roger Dingledine [Mon, 26 Apr 2004 22:22:11 +0000 (22:22 +0000)]
log debug so nick can see it too
svn:r1721
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
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
Nick Mathewson [Mon, 26 Apr 2004 18:11:58 +0000 (18:11 +0000)]
Include strerror(errno) with tls syscall errors
svn:r1718
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
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
Peter Palfrader [Mon, 26 Apr 2004 10:23:55 +0000 (10:23 +0000)]
New upstream release candidate.
svn:r1714
Roger Dingledine [Mon, 26 Apr 2004 09:33:11 +0000 (09:33 +0000)]
bump us to rc2
svn:r1713
Roger Dingledine [Mon, 26 Apr 2004 09:32:51 +0000 (09:32 +0000)]
tell us when we're rotating things
svn:r1712
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
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
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
Nick Mathewson [Mon, 26 Apr 2004 03:00:33 +0000 (03:00 +0000)]
Better error msg on unknown circuit id.
svn:r1708
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
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
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
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
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
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
Peter Palfrader [Sun, 25 Apr 2004 22:07:33 +0000 (22:07 +0000)]
New upstream release candidate.
svn:r1701
Roger Dingledine [Sun, 25 Apr 2004 21:56:52 +0000 (21:56 +0000)]
give us a new dirservers file
svn:r1700
Roger Dingledine [Sun, 25 Apr 2004 21:32:04 +0000 (21:32 +0000)]
now assume all routers support rendezvous cells
svn:r1699
Roger Dingledine [Sun, 25 Apr 2004 20:44:23 +0000 (20:44 +0000)]
bump version to 0.0.6rc1
svn:r1698
Roger Dingledine [Sun, 25 Apr 2004 20:37:37 +0000 (20:37 +0000)]
use tor_assert
remove obsolete BUF_OK macro
svn:r1697
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
Nick Mathewson [Sun, 25 Apr 2004 19:37:39 +0000 (19:37 +0000)]
Add a tor_assert macro that logs failed assertions.
svn:r1695
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
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
Nick Mathewson [Sun, 25 Apr 2004 19:01:49 +0000 (19:01 +0000)]
remove spurious router_rebuild_descriptor
svn:r1692
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
Roger Dingledine [Sun, 25 Apr 2004 04:49:11 +0000 (04:49 +0000)]
log correctly if decoding onion failed
svn:r1690
Roger Dingledine [Sun, 25 Apr 2004 04:32:59 +0000 (04:32 +0000)]
don't warn when private_decrypt_hybrid fails
svn:r1689
Roger Dingledine [Sun, 25 Apr 2004 03:38:19 +0000 (03:38 +0000)]
bugfix: when rotating onion key, do it (more) correctly
svn:r1688
Roger Dingledine [Sat, 24 Apr 2004 23:32:24 +0000 (23:32 +0000)]
more touch-ups
svn:r1687
Nick Mathewson [Sat, 24 Apr 2004 22:50:09 +0000 (22:50 +0000)]
Spurious link-key should not be an error
svn:r1686
Nick Mathewson [Sat, 24 Apr 2004 22:40:32 +0000 (22:40 +0000)]
Note router addr:port in log messages
svn:r1685
Nick Mathewson [Sat, 24 Apr 2004 22:34:31 +0000 (22:34 +0000)]
Compare nicknames casei.
svn:r1684
Nick Mathewson [Sat, 24 Apr 2004 22:17:50 +0000 (22:17 +0000)]
Merge flagday into main branch.
svn:r1683
Peter Palfrader [Sat, 24 Apr 2004 17:42:30 +0000 (17:42 +0000)]
Mention tor web site and mailinglists in description.
svn:r1682
Roger Dingledine [Thu, 22 Apr 2004 03:50:42 +0000 (03:50 +0000)]
rewrite the todo list
svn:r1681
Roger Dingledine [Wed, 21 Apr 2004 21:57:49 +0000 (21:57 +0000)]
another maybe-todo item
svn:r1680
Nick Mathewson [Wed, 21 Apr 2004 21:56:21 +0000 (21:56 +0000)]
Update flag-day status
svn:r1679
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
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
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
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
Roger Dingledine [Mon, 19 Apr 2004 02:56:03 +0000 (02:56 +0000)]
bump cvs version to 0.0.6pre6-cvs
svn:r1672
Roger Dingledine [Mon, 19 Apr 2004 01:59:20 +0000 (01:59 +0000)]
give wedged dir conns a last chance to flush
svn:r1671
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
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
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
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
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
Roger Dingledine [Sun, 18 Apr 2004 06:42:13 +0000 (06:42 +0000)]
reverse the logic, captain
svn:r1664
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
Nick Mathewson [Sun, 18 Apr 2004 03:13:58 +0000 (03:13 +0000)]
add more flagday items to todo
svn:r1661
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
Roger Dingledine [Sat, 17 Apr 2004 10:25:38 +0000 (10:25 +0000)]
log n_circ_ids when attaching rend streams
svn:r1657
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
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
Roger Dingledine [Sat, 17 Apr 2004 06:35:18 +0000 (06:35 +0000)]
include sys/limits.h if it's found
svn:r1654
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
Roger Dingledine [Sat, 17 Apr 2004 06:34:36 +0000 (06:34 +0000)]
freebsd 5.x needs sys/limits.h
svn:r1652
Roger Dingledine [Sat, 17 Apr 2004 06:34:20 +0000 (06:34 +0000)]
clean up some warnings
svn:r1651
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
Roger Dingledine [Sat, 17 Apr 2004 05:17:40 +0000 (05:17 +0000)]
more useful logs to track weasel's bug
svn:r1649
Roger Dingledine [Sat, 17 Apr 2004 01:33:04 +0000 (01:33 +0000)]
more debugging to hunt for a bug
svn:r1647
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
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
Roger Dingledine [Fri, 16 Apr 2004 14:26:23 +0000 (14:26 +0000)]
fix a pair of duplicate mark-for-closes
svn:r1643
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
Roger Dingledine [Fri, 16 Apr 2004 11:48:03 +0000 (11:48 +0000)]
more useful logging for rend services and clients
svn:r1641
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
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
Roger Dingledine [Fri, 16 Apr 2004 08:43:09 +0000 (08:43 +0000)]
bump cvs to 0.0.6pre5
svn:r1638
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
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
Roger Dingledine [Thu, 15 Apr 2004 22:09:14 +0000 (22:09 +0000)]
compress end-of-second summary into one line
svn:r1635
Roger Dingledine [Thu, 15 Apr 2004 22:08:37 +0000 (22:08 +0000)]
quiet a -l info that should be -l debug
svn:r1634
Roger Dingledine [Thu, 15 Apr 2004 03:54:33 +0000 (03:54 +0000)]
a todo item for sometime
svn:r1633
Nick Mathewson [Thu, 15 Apr 2004 03:48:26 +0000 (03:48 +0000)]
Must detach before attaching, or else we infinite-loop
svn:r1632
Roger Dingledine [Thu, 15 Apr 2004 03:07:01 +0000 (03:07 +0000)]
bump version to 0.0.6pre4
svn:r1631
Nick Mathewson [Thu, 15 Apr 2004 02:02:46 +0000 (02:02 +0000)]
Strings need room for a NUL.
svn:r1630
Nick Mathewson [Thu, 15 Apr 2004 01:23:43 +0000 (01:23 +0000)]
Add a missing return -1
svn:r1629
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
Roger Dingledine [Thu, 15 Apr 2004 00:03:48 +0000 (00:03 +0000)]
narrow in closer
svn:r1627
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