Nick Mathewson
41dfd5c77e
Remove bogus */ so util.c compiles
...
svn:r1759
2004-05-01 21:50:53 +00:00
Nick Mathewson
e796693da7
Finish documenting the functions in common
...
svn:r1758
2004-05-01 21:41:23 +00:00
Nick Mathewson
48fff46d26
Fix windows compile
...
svn:r1757
2004-05-01 20:55:31 +00:00
Nick Mathewson
6ddafdc332
Handle windows socket errors correctly; comment most of common.
...
svn:r1756
2004-05-01 20:46:28 +00:00
Roger Dingledine
5c1f89ff5b
fix a seg fault (whoops)
...
svn:r1755
2004-04-30 16:35:48 +00:00
Roger Dingledine
13f943434f
note another bug to be fixed sometime
...
svn:r1754
2004-04-30 05:42:52 +00:00
Roger Dingledine
f35e9f4ce4
tell people the default location of torrc
...
svn:r1753
2004-04-30 04:12:57 +00:00
(no author)
c30b38bd4e
This commit was manufactured by cvs2svn to create tag
...
'debian_version_0_0_5+0_0_6rc3-1'.
svn:r1752
2004-04-29 09:52:59 +00:00
Peter Palfrader
8eaf4b849e
New upstream release candidate.
...
svn:r1751
2004-04-29 09:52:59 +00:00
Roger Dingledine
65d8a4f7af
update the built-in dirservers default
...
svn:r1750
2004-04-29 08:10:13 +00:00
Roger Dingledine
97c1839e26
and then bump to rc4-cvs
...
svn:r1749
2004-04-29 02:53:36 +00:00
Roger Dingledine
428f95dc4f
bump to rc3
...
svn:r1748
2004-04-29 02:53:06 +00:00
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