Commit Graph

5063 Commits

Author SHA1 Message Date
Nick Mathewson
52376dc9e8 Rename buf->start to buf->cur; fix bug in read_to_buf; still debug with paranoia.
svn:r4130
2005-04-27 02:55:21 +00:00
Nick Mathewson
746768df5d Add even more debugging code; temporarily disable inlines in buffers.c
svn:r4129
2005-04-27 00:53:44 +00:00
Roger Dingledine
914ee87e07 stop re-reading and re-parsing the directory as soon as we make it.
it was nice for checking if we've got bugs, but it's really quite
expensive too. it was also nice for updating our routerinfo's
immediately, but we'll update them like everybody else when we fetch
a new dir from somebody else.


svn:r4128
2005-04-27 00:48:05 +00:00
Roger Dingledine
adaf3d31e6 hidden service client connections were using some of their
60 seconds fetching the hidserv descriptor, which made them
more likely to fail on the first attempt, yet they work fine
on the second. so now give them extra time for the first try.


svn:r4127
2005-04-26 22:36:00 +00:00
Roger Dingledine
2a7aec0ffd fix function prototype, fix typo
svn:r4126
2005-04-26 21:29:20 +00:00
Nick Mathewson
ecc76d8245 Avoid overflow on wrapping a TLS read.
svn:r4125
2005-04-26 21:20:22 +00:00
Nick Mathewson
e6794e5808 Fix unit tests for buffers.
svn:r4124
2005-04-26 21:10:31 +00:00
Roger Dingledine
15c7c73c5e bump to 0.1.0.4-rc-cvs while we're testing
svn:r4123
2005-04-26 20:59:36 +00:00
Nick Mathewson
9ba2dd7ea1 Clean/renormalize whitespace
svn:r4122
2005-04-26 20:55:32 +00:00
Nick Mathewson
ef2409e4ed Change the implementation of buf_t a lot: make it a ring buffer to minimize memmove on flush. This may break the universe, but it is probably Necessary For Perfomance.
svn:r4121
2005-04-26 20:53:22 +00:00
Roger Dingledine
a1fee5db63 add a note in the man page about using fascistfirewall with
httpsproxyauthenticator


svn:r4120
2005-04-26 20:47:53 +00:00
Roger Dingledine
4eb3cf9330 a bit more debug info
svn:r4119
2005-04-26 20:05:15 +00:00
Roger Dingledine
5704c3f0e0 add HttpsProxyAuthenticator to the man page
svn:r4118
2005-04-26 19:26:47 +00:00
Roger Dingledine
953cf91ecd add more debugging info to help us find the weird dns freebsd pthreads bug.
svn:r4117
2005-04-26 19:08:06 +00:00
Roger Dingledine
509405a5f7 clean up this TOR_FRAGILE business
svn:r4116
2005-04-26 18:52:16 +00:00
Roger Dingledine
5e86e87124 Add basic HttpsProxyAuthenticator support, based on patch
from Adam Langley.


svn:r4115
2005-04-26 18:33:33 +00:00
Roger Dingledine
95a01599ae mention in the signals section of the man page that the sigint
timeout can be configured with ShutdownWaitLength.


svn:r4114
2005-04-26 00:52:21 +00:00
Roger Dingledine
4fafa81f32 help debug: when we close a conn due to timeout, tell us its
file descriptor, not its connectionarray index.


svn:r4113
2005-04-25 17:24:16 +00:00
Roger Dingledine
662cfc976d only call the connection open once we've decided we like the cert.
svn:r4112
2005-04-25 17:23:52 +00:00
Roger Dingledine
f3ea883ccd bugfix: stop trying to print a null pointer if an OR conn fails
because we didn't like its cert.


svn:r4111
2005-04-25 15:43:37 +00:00
Roger Dingledine
12ea3a26b2 bugfix: make a debug log stop lying
svn:r4110
2005-04-25 15:43:05 +00:00
Thomas Sjögren
b381e5d2f4 tor-doc-{osx,win32} now shows the correct date when they were updated
svn:r4109
2005-04-24 18:21:53 +00:00
Roger Dingledine
42d99ed773 bump win32 and osx docs to mention 0.1.0.4
svn:r4107
2005-04-23 22:07:29 +00:00
Peter Palfrader
96b2acf150 Forward port changelog
svn:r4106
2005-04-23 22:01:37 +00:00
Peter Palfrader
92b70813ff New tor snapshot, this one is 0.1.0.4-rc they say
svn:r4102
2005-04-23 21:40:29 +00:00
Roger Dingledine
92b970d2a6 only complain about wedged cpuworkers after an hour, not 100 secs
svn:r4100
2005-04-23 20:58:44 +00:00
Nick Mathewson
4fb95f166e Apparently, ASN1 failures are not treated as SSL connection errors, but are just general OpenSSL errors. Or something. Anyway, bulletproof tor_tls_handshake.
svn:r4098
2005-04-23 20:35:38 +00:00
Roger Dingledine
6128cdead0 let NumCpus be singular without whining
svn:r4097
2005-04-23 19:29:09 +00:00
Roger Dingledine
df18661a28 bump experimental version to 0.1.0.4-rc
svn:r4096
2005-04-23 18:31:25 +00:00
Roger Dingledine
0482606b88 changelog for 0.1.0.4-rc
svn:r4095
2005-04-23 18:31:00 +00:00
Peter Palfrader
a2129c3a30 Another snapshot so we get a newer announced version number
svn:r4091
2005-04-23 16:39:09 +00:00
Peter Palfrader
3e3d5905bb New tor snapshot
svn:r4089
2005-04-23 16:18:04 +00:00
Roger Dingledine
cc620c2afb bump to 0.1.0.3-rc-cvs
svn:r4088
2005-04-23 16:13:56 +00:00
Roger Dingledine
54fd9df23f LOG_ERR is for when you're planning to die.
svn:r4087
2005-04-23 14:35:13 +00:00
Nick Mathewson
5827e2e216 Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for TLS errors when handling certs. Fix2: stop assert(0)ing on uncaught TLS errors.)
svn:r4085
2005-04-23 14:26:02 +00:00
Roger Dingledine
ad4eca60ec add geoff's NoPublish patch
svn:r4084
2005-04-21 10:40:48 +00:00
Peter Palfrader
d2795a6ed3 Update README.Debian to say that upstream now does have a default for DataDirectory
svn:r4083
2005-04-20 15:29:12 +00:00
Nick Mathewson
ce9995a579 Replace an infinite-stack-recursion bug with a generate-infinite-debug-messages bug. Maybe it isnt such a good idea to send LOG_DEBUG messages to the controller after all?
svn:r4082
2005-04-17 22:52:02 +00:00
Nick Mathewson
cf84759b4b zero-out errno before calling event_dispatch, just in case we have misdiagnosed poll(2)/EINVAL bug.
svn:r4081
2005-04-17 22:38:39 +00:00
Roger Dingledine
769541ff7e be willing to load balance over up to 2mB, not 1mB, of advertised capacity
svn:r4080
2005-04-12 22:09:47 +00:00
Roger Dingledine
bf79b5266f those should be notices, not warns
svn:r4079
2005-04-12 22:09:04 +00:00
Thomas Sjögren
494f4777b9 Point to Wiki entry if windows users want to run Tor as a service
svn:r4078
2005-04-11 23:47:38 +00:00
Thomas Sjögren
db68d2d272 Forgot to change when the doc was updated
svn:r4077
2005-04-11 21:31:40 +00:00
Thomas Sjögren
732ed3cad3 Its not a DOS window, its just a window. sort of.
svn:r4076
2005-04-11 21:26:55 +00:00
Thomas Sjögren
0cb1d31fc1 Clarify MapAddress in the man page
svn:r4075
2005-04-11 16:46:58 +00:00
Thomas Sjögren
705674327f The list under #server is now 1-10, instead of 1-5,5,6-9
svn:r4074
2005-04-11 16:02:19 +00:00
Nick Mathewson
f1dfa30064 Fix postdescriptor behavior: on non-complete success, only say "done" once.
svn:r4073
2005-04-11 02:52:09 +00:00
Thomas Sjögren
ae66c97b51 Fix broken link to or-announce
svn:r4072
2005-04-09 17:12:09 +00:00
Thomas Sjögren
6d5bb160d9 Fix where you set proxies in Firefox under Windows, add Opera 7.5x
svn:r4071
2005-04-08 12:21:12 +00:00
Roger Dingledine
03cc944e3e and in win32/osx docs
svn:r4070
2005-04-08 08:16:33 +00:00