Commit Graph

1746 Commits

Author SHA1 Message Date
Roger Dingledine f251c1ffcc some cosmetic fixes
svn:r1747
2004-04-29 02:52:49 +00:00
Nick Mathewson 079b967ee1 Oops -- the Windows function is closesocket, not socketclose
svn:r1746
2004-04-28 21:17:42 +00:00
Nick Mathewson b7fa6385a4 Use socketclose on windows as appropriate; end pid files with newline
svn:r1745
2004-04-28 21:14:56 +00:00
Roger Dingledine 4049ee558d use tor_lookup_hostname for binding local addresses too
svn:r1744
2004-04-28 20:57:03 +00:00
Nick Mathewson d52c8188d8 Regenerate windows orconfig.h to match current autoheader generated orconfig.h
svn:r1743
2004-04-28 20:43:30 +00:00
Nick Mathewson 675cc3149c Remove IVs from cipher code, since AES-ctr has none.
svn:r1742
2004-04-28 20:31:32 +00:00
Roger Dingledine 7a68467b1d use nick's _ARRAYSIZE abstraction
svn:r1741
2004-04-28 20:22:37 +00:00
Roger Dingledine 8416dc33ce nick, is this what you meant?
svn:r1740
2004-04-28 20:18:22 +00:00
Nick Mathewson b36cb2fd9d Make Tor build on win32 with VC6 without warnings.
svn:r1739
2004-04-28 20:13:21 +00:00
Roger Dingledine 80250bbb67 bug resolved (hopefully), so remove comment
svn:r1738
2004-04-28 20:12:44 +00:00
Roger Dingledine 798a9f5c79 clean dns.c better
svn:r1737
2004-04-28 20:11:37 +00:00
Roger Dingledine 056b514e01 clarify the hybrid encryption in our spec
svn:r1736
2004-04-28 20:01:54 +00:00
Roger Dingledine f57bc863a0 fix a bug in dns.c, note but don't fix another one
svn:r1735
2004-04-28 19:55:20 +00:00
Nick Mathewson ac32568e30 Workarounds for a couple of pieces of windows strangeness.
svn:r1734
2004-04-28 19:35:12 +00:00
Roger Dingledine 926f5e4541 clean some dead code (right?)
svn:r1733
2004-04-28 00:05:56 +00:00
Roger Dingledine cb5f039526 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
2004-04-27 23:50:35 +00:00
Roger Dingledine 8d8e010939 set Content-Type on the directory and hidserv descriptor
svn:r1731
2004-04-27 21:48:37 +00:00
Roger Dingledine 7457e93222 make my assumption explicit
svn:r1730
2004-04-27 11:28:45 +00:00
Roger Dingledine b2b18b3cfe 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
2004-04-27 11:23:56 +00:00
Roger Dingledine 97209da869 don't expire joined-rend circs that have an exit connection attached
and don't expire non-general excess circuits


svn:r1728
2004-04-27 10:16:31 +00:00
Nick Mathewson f924f040a8 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
2004-04-26 23:19:21 +00:00
Nick Mathewson 1c5215847e Log number of bytes pending after read.
svn:r1726
2004-04-26 23:05:58 +00:00
Roger Dingledine 1e3feabc6a rendmid says it drops but actually sends nack
fix log messages


svn:r1725
2004-04-26 23:02:20 +00:00
Nick Mathewson a27c5738e4 Remove spurious semi
svn:r1724
2004-04-26 23:01:15 +00:00
Nick Mathewson d5601cd792 Add a macro to catch unhandled openssl errors.
svn:r1723
2004-04-26 23:00:07 +00:00
Roger Dingledine ed4c5dcc38 and other debugs
svn:r1722
2004-04-26 22:22:18 +00:00
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