Commit Graph

1720 Commits

Author SHA1 Message Date
Roger Dingledine 08c890e360 log debug so nick can see it too
svn:r1721
2004-04-26 22:22:11 +00:00
Peter Palfrader c8f8d2b892 The dots are there so you see test doing something. Therefore we should flush them after printing
svn:r1720
2004-04-26 22:12:13 +00:00
Roger Dingledine fa8ee87fd0 add a debugging entry, to find the wants-to-read-but-can't bug
svn:r1719
2004-04-26 21:15:06 +00:00
Nick Mathewson a187299a6d Include strerror(errno) with tls syscall errors
svn:r1718
2004-04-26 18:11:58 +00:00
Nick Mathewson 303a820bc6 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
2004-04-26 18:09:50 +00:00
Nick Mathewson 4e4c311c20 Log pending TLS errors in a couple more places, in case they are possible.
svn:r1716
2004-04-26 16:52:47 +00:00
(no author) 885af20126 This commit was manufactured by cvs2svn to create tag
'debian_version_0_0_5+0_0_6rc2-1'.

svn:r1715
2004-04-26 10:23:55 +00:00
Peter Palfrader bf5b5f50ee New upstream release candidate.
svn:r1714
2004-04-26 10:23:55 +00:00
Roger Dingledine 9fea807a58 bump us to rc2
svn:r1713
2004-04-26 09:33:11 +00:00
Roger Dingledine 8949995925 tell us when we're rotating things
svn:r1712
2004-04-26 09:32:51 +00:00
Roger Dingledine e779388eb9 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
2004-04-26 04:32:01 +00:00
Roger Dingledine 33b0e953ef 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
2004-04-26 03:42:41 +00:00
Nick Mathewson 27437e013d 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
2004-04-26 03:09:17 +00:00
Nick Mathewson 1ce0b58715 Better error msg on unknown circuit id.
svn:r1708
2004-04-26 03:00:33 +00:00
Nick Mathewson 5c7841b148 Very blunt debugging code: log pending errors at start and end of tor_tls_verify
svn:r1707
2004-04-26 02:33:12 +00:00
Roger Dingledine 5a21e7b7dc tell us the nickname of the OR that hung up on us
svn:r1706
2004-04-26 01:50:08 +00:00
Nick Mathewson 0cfcc619b0 Check for machine/limits.h in addition to sys/limits.h
svn:r1705
2004-04-25 23:47:26 +00:00
Roger Dingledine 76b49bebeb don't crash, if a conn that sent a begin has suddenly lost its circuit
svn:r1704
2004-04-25 22:48:47 +00:00
Peter Palfrader eae4bb3d21 Note another item I changed since the last package release in changelog
svn:r1703
2004-04-25 22:24:00 +00:00
Roger Dingledine 400d4af82e resolve a double-mark-for-close when things die inside connection_handle_write
svn:r1702
2004-04-25 22:23:54 +00:00
Peter Palfrader 3e3ca2c422 New upstream release candidate.
svn:r1701
2004-04-25 22:07:33 +00:00
Roger Dingledine 1ec0a64bf1 give us a new dirservers file
svn:r1700
2004-04-25 21:56:52 +00:00
Roger Dingledine 1b8d7ebb90 now assume all routers support rendezvous cells
svn:r1699
2004-04-25 21:32:04 +00:00
Roger Dingledine fd6d9548bf bump version to 0.0.6rc1
svn:r1698
2004-04-25 20:44:23 +00:00
Roger Dingledine fff9a6dce9 use tor_assert
remove obsolete BUF_OK macro


svn:r1697
2004-04-25 20:37:37 +00:00
Roger Dingledine c60ddf8d6f use tor_assert and PUBLIC_KEY_OK
but don't use tor_assert inside log.c, to avoid loops


svn:r1696
2004-04-25 19:59:38 +00:00
Nick Mathewson 46daedcb9f Add a tor_assert macro that logs failed assertions.
svn:r1695
2004-04-25 19:37:39 +00:00
Nick Mathewson d77c18c462 Add assert on crypto_pk_write_private_key,and macros to make sure we have real keys
svn:r1694
2004-04-25 19:21:44 +00:00
Nick Mathewson 892de90063 Remove onion_pkey from connection, since onion keys can change more often than connections. Also add more log messages
svn:r1693
2004-04-25 19:04:11 +00:00
Nick Mathewson 8d0151a1c3 remove spurious router_rebuild_descriptor
svn:r1692
2004-04-25 19:01:49 +00:00
Roger Dingledine 72b3face41 don't build and upload a new desc twice in a row
svn:r1691
2004-04-25 05:19:03 +00:00
Roger Dingledine 9d182f8107 log correctly if decoding onion failed
svn:r1690
2004-04-25 04:49:11 +00:00
Roger Dingledine fc2d7020ca don't warn when private_decrypt_hybrid fails
svn:r1689
2004-04-25 04:32:59 +00:00
Roger Dingledine a65af8cc9b bugfix: when rotating onion key, do it (more) correctly
svn:r1688
2004-04-25 03:38:19 +00:00
Roger Dingledine a915586d81 more touch-ups
svn:r1687
2004-04-24 23:32:24 +00:00
Nick Mathewson 724fb514d0 Spurious link-key should not be an error
svn:r1686
2004-04-24 22:50:09 +00:00
Nick Mathewson 86862da43f Note router addr:port in log messages
svn:r1685
2004-04-24 22:40:32 +00:00
Nick Mathewson 062ae30ce5 Compare nicknames casei.
svn:r1684
2004-04-24 22:34:31 +00:00
Nick Mathewson 8789c762e5 Merge flagday into main branch.
svn:r1683
2004-04-24 22:17:50 +00:00
Peter Palfrader bbb4515997 Mention tor web site and mailinglists in description.
svn:r1682
2004-04-24 17:42:30 +00:00
Roger Dingledine 4420c1f1af rewrite the todo list
svn:r1681
2004-04-22 03:50:42 +00:00
Roger Dingledine 3daa1d153c another maybe-todo item
svn:r1680
2004-04-21 21:57:49 +00:00
Nick Mathewson 474f2f69ba Update flag-day status
svn:r1679
2004-04-21 21:56:21 +00:00
(no author) d33e3bbe71 This commit was manufactured by cvs2svn to create tag
'tor-0_0_6incompat-merged'.

svn:r1678
2004-04-21 21:56:20 +00:00
Nick Mathewson 3913e3fde8 Add bandwidthrate and directory-signer to router/directory format; make unit tests pass.
svn:r1677
2004-04-21 21:56:20 +00:00
Roger Dingledine 3873bfd453 only expire wedged dir conns that haven't already been expired
svn:r1676
2004-04-20 17:27:54 +00:00
Roger Dingledine d169a9955f use the real socketpair if we've got it
now it's just windows that has to use the kludged one


svn:r1675
2004-04-19 21:31:32 +00:00
Roger Dingledine 454e912b2e the socketpair bug is no longer a bug
now it is a documented behavior


svn:r1674
2004-04-19 21:25:48 +00:00
Roger Dingledine 95f1846cdc expire wedged dir conns after 5min without write, not simply after 5min
svn:r1673
2004-04-19 20:08:42 +00:00
Roger Dingledine 958355d3a1 bump cvs version to 0.0.6pre6-cvs
svn:r1672
2004-04-19 02:56:03 +00:00