summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-04-30 r12571@catbus: nickm | 2007-04-30 10:51:52 -0400Nick Mathewson
Check for more HAVE_* header defines when building eventdns.c svn:r10063
2007-04-30 r12570@catbus: nickm | 2007-04-30 10:49:50 -0400Nick Mathewson
Add an extra lock to try to get unit tessts passing reliably again. svn:r10062
2007-04-30 r12569@catbus: nickm | 2007-04-30 10:48:51 -0400Nick Mathewson
Do not use micro-revision.i on MSVC; it will only be useful to people who have make. svn:r10061
2007-04-30Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is ↵Nick Mathewson
-1, not 0. svn:r10060
2007-04-30 r12567@catbus: nickm | 2007-04-30 10:26:35 -0400Nick Mathewson
Suggested by weasel: Add a fast function to check for the common failure mode for bug 417/404, and call it a lot. svn:r10059
2007-04-30 r12565@catbus: nickm | 2007-04-30 10:09:07 -0400Nick Mathewson
Misc cleanup and bulletproofing on r10056. svn:r10058
2007-04-30 r12559@catbus: nickm | 2007-04-30 09:17:54 -0400Nick Mathewson
Fix bug 421: Only set the revision number from SVK if we have a runnable svk _and_ a ~/.svk directory. svn:r10057
2007-04-30Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine
so we can exit from the middle of the circuit. svn:r10056
2007-04-30Add a new config option __DisablePredictedCircuits designed forRoger Dingledine
use by the controller, when we don't want Tor to build any circuits preemptively. svn:r10054
2007-04-30 r12557@catbus: nickm | 2007-04-30 01:36:39 -0400Nick Mathewson
Oops; the rest of the last patch. If that one gets backported, this should too. svn:r10053
2007-04-30 r12553@catbus: nickm | 2007-04-30 01:32:54 -0400Nick Mathewson
Backport candidate: Add asserts to dirserv_remove_invalid, and fix a bug in dirserv_remove_invalid that could mess with pointers in a freed routerinfo right after it was freed. svn:r10052
2007-04-30minor cleanupsRoger Dingledine
svn:r10050
2007-04-30 r12546@catbus: nickm | 2007-04-29 21:27:43 -0400Nick Mathewson
Correctly report win98se and win95osr2 versions. svn:r10047
2007-04-30 r12544@catbus: nickm | 2007-04-29 21:08:58 -0400Nick Mathewson
Fix an assertion when we call tor_free_all before calling do_main_loop(). Discovered by weasel. svn:r10046
2007-04-27Make PreferTunneledDirConns and TunnelDirConns work even whenRoger Dingledine
we have no cached directory info. This means Tor clients can now do all of their connections protected by TLS. svn:r10035
2007-04-25simplify connection_watch_events()Roger Dingledine
hope this doesn't break it svn:r10025
2007-04-25fix an assert error in r9995 (unlikely to happen, but still)Roger Dingledine
svn:r10024
2007-04-25stop generating a 6-gig info-level log file after a day of runningRoger Dingledine
svn:r10023
2007-04-25cleanups, and note a bugRoger Dingledine
svn:r10022
2007-04-23 r12784@Kushana: nickm | 2007-04-23 19:24:09 -0400Nick Mathewson
Avoid another assert failure in the new buffer memory code. (This time, it hit when freeing a 4k buffer with some data on it.) svn:r10011
2007-04-23 r12782@Kushana: nickm | 2007-04-23 18:20:19 -0400Nick Mathewson
Avoid a segfault when freeing a buffer with size 0. svn:r10010
2007-04-23 r12499@catbus: nickm | 2007-04-23 10:42:23 -0400Nick Mathewson
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t. svn:r10006
2007-04-23 r12496@catbus: nickm | 2007-04-22 23:04:05 -0400Nick Mathewson
When logging memory usage, break down memory used in buffers by buffer type. svn:r10004
2007-04-23 r12492@catbus: nickm | 2007-04-22 20:24:02 -0400Nick Mathewson
Even more asserts to try to catch bug 404/417. svn:r10003
2007-04-21 r12485@catbus: nickm | 2007-04-21 13:46:14 -0400Nick Mathewson
Document some fields in or.h svn:r9998
2007-04-21 r12484@catbus: nickm | 2007-04-21 13:45:58 -0400Nick Mathewson
Suppress display of version-detection junk in Makefile.am svn:r9997
2007-04-21 r12482@catbus: nickm | 2007-04-21 13:30:24 -0400Nick Mathewson
Rename a couple of confusing fields svn:r9996
2007-04-21 r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400Nick Mathewson
Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention. svn:r9995
2007-04-21 r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400Nick Mathewson
Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections. svn:r9994
2007-04-19 r12458@catbus: nickm | 2007-04-19 15:52:23 -0400Nick Mathewson
Fix a bug in displaying memory pool usage. Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells. svn:r9992
2007-04-19 r12456@catbus: nickm | 2007-04-19 14:47:01 -0400Nick Mathewson
Make dumpmemusage() dump cell pool usage information. svn:r9991
2007-04-19 r12434@catbus: nickm | 2007-04-19 11:23:35 -0400Nick Mathewson
When advancing a string pointer, make sure we do not later free the altered pointer. Fixes bug 416, introduced in r9971. svn:r9990
2007-04-18 r12429@catbus: nickm | 2007-04-18 15:28:41 -0400Nick Mathewson
Make svn revision number visible in version even if building from a .tar.gz. This was remarkably painless. svn:r9988
2007-04-17 r12425@catbus: nickm | 2007-04-17 17:16:38 -0400Nick Mathewson
Detect the svn version correctly when building from an svk checkout too. Whee, fun with bash and make. svn:r9985
2007-04-17 r12418@catbus: nickm | 2007-04-16 20:58:25 -0400Nick Mathewson
Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness. svn:r9977
2007-04-16A hack I've been wanting for a while: when building a -dev versionNick Mathewson
from an SVN repository, use the current svn revision in the platform string and in the output of --version. svn:r9976
2007-04-16 r12414@catbus: nickm | 2007-04-16 17:37:17 -0400Nick Mathewson
More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
2007-04-16Fix some proposal-104 bugs.Nick Mathewson
svn:r9972
2007-04-16 r12406@catbus: nickm | 2007-04-16 14:39:33 -0400Nick Mathewson
More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing. svn:r9971
2007-04-16 r12403@catbus: nickm | 2007-04-16 13:55:03 -0400Nick Mathewson
Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970
2007-04-16 r12401@catbus: nickm | 2007-04-16 12:28:01 -0400Nick Mathewson
Enforce checks for number of arguments to items in directory objects more uniformly. svn:r9968
2007-04-16 r12388@catbus: nickm | 2007-04-16 00:17:29 -0400Nick Mathewson
Now that the directory parser checks for missing items, the rest of the code can just assert that they are there, rather than checking a second time. svn:r9966
2007-04-16 r12387@catbus: nickm | 2007-04-16 00:06:40 -0400Nick Mathewson
Refactor router/directory parsing backend: use a separate token table for everything that we parse, and enforce the correct count of each item. svn:r9965
2007-04-16 r12385@catbus: nickm | 2007-04-15 22:55:58 -0400Nick Mathewson
Initial code to parse extra-info documents as described in proposal 104. This is making me realize that the parsing code in routerparse.c is a little daft. svn:r9963
2007-04-11 r12353@catbus: nickm | 2007-04-11 15:58:46 -0400Nick Mathewson
Apparently some compilers think that anonymous unions are bad C. Technically, they're right, so let's name the union in mempool.c. svn:r9946
2007-04-11 r12351@catbus: nickm | 2007-04-11 12:09:46 -0400Nick Mathewson
More autoconf hacking: use same machinery to find zlib as for openssl and libevent. Have unified library finder include setup for --with variable. Start trying to suggest to the user what packages they should install if finding the library fails. svn:r9945
2007-04-11 r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944
2007-04-11 r12344@catbus: nickm | 2007-04-10 21:27:25 -0400Nick Mathewson
Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942
2007-04-11 r12338@catbus: nickm | 2007-04-10 20:29:05 -0400Nick Mathewson
Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940
2007-04-11 r12337@catbus: nickm | 2007-04-10 17:55:26 -0400Nick Mathewson
Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939