| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Add an AutomapHostsOnResolve option. It seems to work.
svn:r10324
|
|
|
|
|
|
|
| |
Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit.
svn:r10317
|
|
|
|
|
|
|
| |
Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more.
svn:r10304
|
|
|
|
|
|
|
| |
First draft of code to generate votes. needs testing. does not yet upload or serve votes. Shares most of its code with the old generate_v2_networkstatus.
svn:r10295
|
|
|
|
|
|
|
| |
Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus().
svn:r10294
|
|
|
|
|
|
|
| |
More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities.
svn:r10293
|
|
|
|
| |
svn:r10236
|
|
|
|
|
|
|
| |
Note that we do not permit you to exit to port 0, no matter what. Closes bug 409.
svn:r10211
|
|
|
|
|
|
|
| |
First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG).
svn:r10209
|
|
|
|
|
|
|
| |
Checkpoint some more dir-spec.txt edits.
svn:r10165
|
|
|
|
|
|
|
| |
Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree.
svn:r10162
|
|
|
|
| |
svn:r10122
|
|
|
|
| |
svn:r10111
|
|
|
|
|
|
|
| |
Start implementing key certificate parsing. Note TODO items for combined 101/103.
svn:r10097
|
|
|
|
|
|
|
| |
Remove the _UploadExtraInfo option, since I tried turning it on and moria[12] seem not to have exploded.
svn:r10089
|
|
|
|
|
|
|
| |
Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later.
svn:r10086
|
|
|
|
|
|
|
| |
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly.
svn:r10070
|
|
|
|
|
|
|
| |
this will encourage nick to comment on it. :)
svn:r10051
|
|
|
|
| |
svn:r10050
|
|
|
|
| |
svn:r10021
|
|
|
|
|
|
|
| |
Mark more proposals for inclusion in 0.2.0. Arma, please take this out or question them if you disagree.
svn:r9999
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r9961
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Document memory pool implementation, and tweak it even mor. See? Programming is fun.
svn:r9940
|
|
|
|
|
|
|
| |
Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor.
svn:r9937
|
|
|
|
|
|
|
| |
Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little.
svn:r9931
|
|
|
|
|
|
|
| |
A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway.
svn:r9905
|
|
|
|
|
|
|
| |
Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly.
svn:r9904
|
|
|
|
|
|
|
| |
Remove a redundant check for event.h; add some comments, and reformat.
svn:r9790
|
|
|
|
|
|
|
| |
Twiddle TODO around a bit: remove redundant items; mark completed and abandoned items; pull sub-items from redundant items into 0.2.0.x section; move items from aclocal.m4 into TODO; move some TODO items into 098-todo.txt; move one item onto flyspray.
svn:r9785
|
|
|
|
|
|
|
| |
Try to refine 0.2.0 priorities in TODO
svn:r9784
|
|
|
|
|
|
|
| |
Remove support for v0 control protocol from 0.2.0.x trunk; send back error when we receive a v0 control message. (Leave "if(v1){...}"blocks indented for now so this patch is easier to read.) ((Finally, the linecount goes _down_ a little.))
svn:r9735
|
|
|
|
|
|
|
| |
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.)
svn:r9733
|
|
|
|
|
|
|
| |
nt_service_is_stopping should not load the NT service library calls: if they are not loaded, we cannot possibly be a service trying to shut own. Bug found by "norvid" on or-talk. Also, rename function to something slightly less error-prone.
svn:r9720
|
|
|
|
|
|
|
| |
Add some more 020 items to the TODO.
svn:r9711
|
|
|
|
| |
svn:r9702
|
|
|
|
|
|
|
|
| |
descriptor for the destination. We'll get this working again in
the 0.2.0 branch.
svn:r9700
|
|
|
|
|
|
|
| |
Niels has accepted the patch from Scott Lamb to implement better signal handling: I can take "get the pthread_sigprocmask situation under control" off my plate.
svn:r9696
|
|
|
|
| |
svn:r9655
|
|
|
|
| |
svn:r9646
|
|
|
|
|
|
|
| |
Remove completed TODO items; move more doc tasks to docs section.
svn:r9641
|
|
|
|
|
|
|
| |
Note another fun way that we could replace the more automatable parts of arma with software, thus leaving the less automatable bits free to do less automatable stuff.
svn:r9636
|
|
|
|
| |
svn:r9627
|