- 22 Oct, 2007 1 commit
-
-
Nick Mathewson authored
New code (disabled for now) to use the SSL context's cert store instead of using its "extra chain cert" list to get our identity certificate sent. This is a little close to what OpenSSL expects people to do, and it has the advantage that we should be able to keep the id cert from being sent by setting the NO_CHAIN_CERT bit. I have tried turning new code on, and it seemed to work fine. svn:r12086
-
- 21 Oct, 2007 4 commits
-
-
Peter Palfrader authored
svn:r12085
-
Nick Mathewson authored
More fixes for bad behavior when downloading extrainfos: do not download an ei if we lack the key to verify it, and do not download it if we already got it and found (weirdly) that it didn't match the corresponding server descriptor. svn:r12071
-
Roger Dingledine authored
Respond to INT and TERM SIGNAL commands before we execute the signal, in case the signal shuts us down. We had a patch in 0.1.2.1-alpha that tried to do this by queueing the response on the connection's buffer before shutting down, but that really isn't the same thing. Bug located by Matt Edman. This is a bug in 0.1.2.x too, but there's no way we should backport this fix. Speaking of which, can somebody double-check it? :) svn:r12070
-
Nick Mathewson authored
Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum. svn:r12069
-
- 20 Oct, 2007 2 commits
-
-
Nick Mathewson authored
Fix implementation of sdmap_size and rimap_size() and eimap_size(). Nobody was using them, so no backport needed. svn:r12068
-
Nick Mathewson authored
Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs. svn:r12067
-
- 19 Oct, 2007 16 commits
-
-
Nick Mathewson authored
When we decode to use consensus method 2 or later, compute Unnamed and Named more or less as described in 122. Don't actually use consensus method 2 yet, so we can be sure we didn't screw up v1.. svn:r12055
-
Nick Mathewson authored
Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation. svn:r12054
-
Nick Mathewson authored
Change meaning of "freefn" argument to smartlist_uniq so that we can remove duplicates from a list without freeing them. svn:r12053
-
Nick Mathewson authored
Voting side of proposal 122 svn:r12052
-
Nick Mathewson authored
Client-side implementation for proposal 122. svn:r12051
-
Nick Mathewson authored
Sort out that need_to_mirror is for routerstatuses in v2 networkstatuses only. svn:r12050
-
Nick Mathewson authored
Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative. svn:r12049
-
Nick Mathewson authored
Make authority_certs_fetch_missing() honor should_delay_dir_fetches() svn:r12048
-
Nick Mathewson authored
Report our IP address in our vote if it turns out that our hostname isn't a fqdn. svn:r12047
-
Nick Mathewson authored
Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046
-
Peter Palfrader authored
svn:r12044
-
Nick Mathewson authored
More TODO notes. svn:r12043
-
Nick Mathewson authored
Add a bit of my TODO for tomorrow, so I can close my emacs for the evening. svn:r12042
-
Nick Mathewson authored
Remember the valid-until time of the most recent consensus that listed a router, and (if we are a cache) never delete the routerdesc until that conensus is expired. This is way easier than retaining multiple consensuses. (Of course, the info isn't retained across restarts, but that only affects a few caches at a time.) svn:r12041
-
Nick Mathewson authored
Misc clarifications and corrections in dir-spec.txt svn:r12040
-
Peter Palfrader authored
Call routers_update_all_from_networkstatus() from router_reload_consensus_networkstatus() so that we warn about old versions when we startup Tor, not when we fetch the next consensus document svn:r12038
-
- 18 Oct, 2007 17 commits
-
-
Roger Dingledine authored
svn:r12037
-
Roger Dingledine authored
svn:r12035
-
Roger Dingledine authored
svn:r12034
-
Nick Mathewson authored
When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly. svn:r12033
-
Peter Palfrader authored
svn:r12032
-
Nick Mathewson authored
Changes to proposal 105 based on recent or-dev exchange with sjmurdoch. svn:r12031
-
Nick Mathewson authored
Add tor-ctrl.sh to dist, and make it fit in 80-col terminals. svn:r12029
-
Nick Mathewson authored
Import tor-ctrl.sh by Stefan Behte into svn repository. svn:r12028
-
Nick Mathewson authored
Apply clarifications and comments from Karsten to rend-spec, with my own clarifications and comments. svn:r12027
-
Nick Mathewson authored
Add a log message to router_remove_old_routers to try to figure out why peacetime has such a big cache. svn:r12024
-
Nick Mathewson authored
Better log messages about extrainfo downloads. svn:r12023
-
Nick Mathewson authored
Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority. svn:r12022
-
Nick Mathewson authored
Fix segfault in init_keys() svn:r12021
-
Nick Mathewson authored
Fix up logic for choosing the time at which to download a consensus: Never attempt it when the current consensus is still the most recent. svn:r12020
-
Nick Mathewson authored
Remove the obsolete warned_conflicts field: a v3 consensus cannot conflict with itself. svn:r12019
-
Nick Mathewson authored
Document some functions while I can still rememberf what they do. Fix up some whitespace. svn:r12018
-
Nick Mathewson authored
"if (!router_get_trusted_dirservers())" is a bad test: router_get_trusted_dirservers() always returns a list. Instead, check for whether the list is empty. svn:r12013
-