| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
New tool to generate key certificates as in proposal 103. needs cleanup
svn:r10075
|
|
|
|
|
|
|
| |
Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h
svn:r10074
|
|
|
|
|
|
|
| |
Minimize the libraries that we link things against: there is no reason to link tor-resolve against zlib, openssl, or libevent, for example.
svn:r10072
|
|
|
|
|
|
|
| |
Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller.
svn:r10071
|
|
|
|
|
|
|
| |
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly.
svn:r10070
|
|
|
|
|
|
|
| |
(Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST. This will make implementing the client side of proposal 104 a lot simpler.
svn:r10069
|
|
|
|
|
|
|
| |
Minor cleanups on hidden service usage patch from Karsten: tidy documentation; make free_all idempotent (and safe to call even if we have not yet initialized rephist); and stop using "l" as a variable name (it is too easy to confuse with "1").
svn:r10068
|
|
|
|
|
|
|
| |
Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker.
svn:r10067
|
|
|
|
|
|
|
| |
Oops. Routerlist_check_bug_417 should work even if we are not on a server.
svn:r10066
|
|
|
|
|
|
|
| |
Check for more HAVE_* header defines when building eventdns.c
svn:r10063
|
|
|
|
|
|
|
| |
Add an extra lock to try to get unit tessts passing reliably again.
svn:r10062
|
|
|
|
|
|
|
| |
Do not use micro-revision.i on MSVC; it will only be useful to people who have make.
svn:r10061
|
|
|
|
|
|
| |
-1, not 0.
svn:r10060
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Misc cleanup and bulletproofing on r10056.
svn:r10058
|
|
|
|
|
|
|
| |
Fix bug 421: Only set the revision number from SVK if we have a runnable svk _and_ a ~/.svk directory.
svn:r10057
|
|
|
|
|
|
|
| |
so we can exit from the middle of the circuit.
svn:r10056
|
|
|
|
|
|
|
|
| |
use by the controller, when we don't want Tor to build any circuits
preemptively.
svn:r10054
|
|
|
|
|
|
|
| |
Oops; the rest of the last patch. If that one gets backported, this should too.
svn:r10053
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r10050
|
|
|
|
|
|
|
| |
Correctly report win98se and win95osr2 versions.
svn:r10047
|
|
|
|
|
|
|
| |
Fix an assertion when we call tor_free_all before calling do_main_loop(). Discovered by weasel.
svn:r10046
|
|
|
|
|
|
|
|
| |
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.
svn:r10035
|
|
|
|
|
|
|
| |
hope this doesn't break it
svn:r10025
|
|
|
|
| |
svn:r10024
|
|
|
|
| |
svn:r10023
|
|
|
|
| |
svn:r10022
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Avoid a segfault when freeing a buffer with size 0.
svn:r10010
|
|
|
|
|
|
|
| |
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t.
svn:r10006
|
|
|
|
|
|
|
| |
When logging memory usage, break down memory used in buffers by buffer type.
svn:r10004
|
|
|
|
|
|
|
| |
Even more asserts to try to catch bug 404/417.
svn:r10003
|
|
|
|
|
|
|
| |
Document some fields in or.h
svn:r9998
|
|
|
|
|
|
|
| |
Suppress display of version-detection junk in Makefile.am
svn:r9997
|
|
|
|
|
|
|
| |
Rename a couple of confusing fields
svn:r9996
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Make dumpmemusage() dump cell pool usage information.
svn:r9991
|
|
|
|
|
|
|
| |
When advancing a string pointer, make sure we do not later free the altered pointer. Fixes bug 416, introduced in r9971.
svn:r9990
|
|
|
|
|
|
|
| |
Make svn revision number visible in version even if building from a .tar.gz. This was remarkably painless.
svn:r9988
|
|
|
|
|
|
|
| |
Detect the svn version correctly when building from an svk checkout too. Whee, fun with bash and make.
svn:r9985
|
|
|
|
|
|
|
| |
Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness.
svn:r9977
|
|
|
|
|
|
|
|
|
| |
from an SVN repository, use the current svn revision in the platform
string and in the output of --version.
svn:r9976
|
|
|
|
|
|
|
| |
More proposal-104 stuff: actually remember extra-info stuff.
svn:r9975
|
|
|
|
| |
svn:r9972
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc.
svn:r9970
|
|
|
|
|
|
|
| |
Enforce checks for number of arguments to items in directory objects more uniformly.
svn:r9968
|