Nick Mathewson
4bab46d5d7
r16041@catbus: nickm | 2007-10-22 13:02:14 -0400
...
Reattempt certificate downloads immediately on failure, as appropriate.
svn:r12106
2007-10-22 17:31:22 +00:00
Nick Mathewson
25a68907a1
r16035@catbus: nickm | 2007-10-22 12:31:22 -0400
...
fix compile
svn:r12105
2007-10-22 16:32:10 +00:00
Nick Mathewson
f06ac50d45
r16034@catbus: nickm | 2007-10-22 12:30:38 -0400
...
Move an XXX020 to the logical place.
svn:r12104
2007-10-22 16:32:08 +00:00
Nick Mathewson
7b80011990
r16033@catbus: nickm | 2007-10-22 12:26:13 -0400
...
Download some XXXX020s in dirvote.c and mark some functions that may not belong there.
svn:r12103
2007-10-22 16:32:06 +00:00
Nick Mathewson
c47eb2c8d9
r16032@catbus: nickm | 2007-10-22 11:56:53 -0400
...
When our directory status or our v3 authority status changes, reschedule operations as appropriate. (Fixes some xxxx020 items)
svn:r12102
2007-10-22 16:32:04 +00:00
Nick Mathewson
db05869466
r16031@catbus: nickm | 2007-10-22 11:45:00 -0400
...
Remove an unused and unneeded layer of abstraction: we only have one store for routers. (I had thought we might need a second one for annotated routers, but that's silly.
svn:r12101
2007-10-22 16:32:01 +00:00
Roger Dingledine
ed130b1e07
and synchronize that with the ReleaseNotes file
...
svn:r12094
2007-10-22 08:54:32 +00:00
Roger Dingledine
4ee6f6369e
put the release blurbs in the changelog file, so they can be
...
kept for posterity, and so we can unclutter the download page.
svn:r12093
2007-10-22 08:52:01 +00:00
Nick Mathewson
42172829ce
r16016@catbus: nickm | 2007-10-21 20:44:19 -0400
...
Check a platform assumption we have made without checking for too long: "Characters are represented in ascii."
svn:r12088
2007-10-22 00:44:42 +00:00
Nick Mathewson
b481036266
r16014@catbus: nickm | 2007-10-21 20:29:14 -0400
...
Fix a unit test in test_crypto_base32_decode that would fail one time in 32.
svn:r12087
2007-10-22 00:29:39 +00:00
Nick Mathewson
722c7bdff4
r15997@catbus: nickm | 2007-10-21 20:25:40 -0400
...
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
2007-10-22 00:26:02 +00:00
Peter Palfrader
bacbf984ca
Only create pid dir if we are about to start Tor (Luca Capello, closes : #447508 )
...
svn:r12085
2007-10-21 22:12:24 +00:00
Nick Mathewson
4a8cf7b517
r15995@catbus: nickm | 2007-10-21 00:40:46 -0400
...
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
2007-10-21 04:41:00 +00:00
Roger Dingledine
b4a28f8b83
Bugfix on r7072, which turned out to basically be a no-op:
...
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
2007-10-21 04:15:28 +00:00
Nick Mathewson
5ada3cc09a
r15991@catbus: nickm | 2007-10-20 20:08:29 -0400
...
Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum.
svn:r12069
2007-10-21 00:08:35 +00:00
Nick Mathewson
9f93d48697
r15989@catbus: nickm | 2007-10-20 19:48:29 -0400
...
Fix implementation of sdmap_size and rimap_size() and eimap_size(). Nobody was using them, so no backport needed.
svn:r12068
2007-10-20 23:48:35 +00:00
Nick Mathewson
dc4e710e27
r15976@catbus: nickm | 2007-10-20 19:44:47 -0400
...
Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs.
svn:r12067
2007-10-20 23:45:07 +00:00
Nick Mathewson
9b5af75835
r15974@catbus: nickm | 2007-10-19 16:47:27 -0400
...
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
2007-10-19 20:48:46 +00:00
Nick Mathewson
5f8f498207
r15968@catbus: nickm | 2007-10-19 14:39:51 -0400
...
Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation.
svn:r12054
2007-10-19 18:56:30 +00:00
Nick Mathewson
b0a18d1bfa
r15967@catbus: nickm | 2007-10-19 14:14:47 -0400
...
Change meaning of "freefn" argument to smartlist_uniq so that we can remove duplicates from a list without freeing them.
svn:r12053
2007-10-19 18:56:28 +00:00
Nick Mathewson
6ca4eebb57
r15966@catbus: nickm | 2007-10-19 13:56:28 -0400
...
Voting side of proposal 122
svn:r12052
2007-10-19 18:56:26 +00:00
Nick Mathewson
7bb202fd19
r15965@catbus: nickm | 2007-10-19 13:32:11 -0400
...
Client-side implementation for proposal 122.
svn:r12051
2007-10-19 18:56:24 +00:00
Nick Mathewson
ee2b770dee
r15964@catbus: nickm | 2007-10-19 12:43:49 -0400
...
Sort out that need_to_mirror is for routerstatuses in v2 networkstatuses only.
svn:r12050
2007-10-19 18:56:21 +00:00
Nick Mathewson
24317c75a9
r15961@catbus: nickm | 2007-10-19 12:40:15 -0400
...
Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative.
svn:r12049
2007-10-19 16:41:32 +00:00
Nick Mathewson
53f9fe7dc5
r15960@catbus: nickm | 2007-10-19 12:30:17 -0400
...
Make authority_certs_fetch_missing() honor should_delay_dir_fetches()
svn:r12048
2007-10-19 16:41:30 +00:00
Nick Mathewson
140ef7d0f8
r15957@catbus: nickm | 2007-10-19 12:22:18 -0400
...
Report our IP address in our vote if it turns out that our hostname isn't a fqdn.
svn:r12047
2007-10-19 16:28:13 +00:00
Nick Mathewson
106e01db3d
r15956@catbus: nickm | 2007-10-19 11:18:14 -0400
...
Encode address in certificates. Also, make it possible to create certs reusing an old key.
svn:r12046
2007-10-19 16:28:10 +00:00
Peter Palfrader
fb295ba4dd
typo
...
svn:r12044
2007-10-19 02:31:43 +00:00
Nick Mathewson
a7e9115611
r15951@catbus: nickm | 2007-10-18 22:27:38 -0400
...
More TODO notes.
svn:r12043
2007-10-19 02:28:47 +00:00
Nick Mathewson
6dc3c6cbf7
r15949@catbus: nickm | 2007-10-18 22:18:41 -0400
...
Add a bit of my TODO for tomorrow, so I can close my emacs for the evening.
svn:r12042
2007-10-19 02:19:49 +00:00
Nick Mathewson
29dfdac923
r15939@catbus: nickm | 2007-10-18 22:14:15 -0400
...
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
2007-10-19 02:15:47 +00:00
Nick Mathewson
90de3ca9ae
r15938@catbus: nickm | 2007-10-18 22:04:59 -0400
...
Misc clarifications and corrections in dir-spec.txt
svn:r12040
2007-10-19 02:15:43 +00:00
Peter Palfrader
829801c476
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
2007-10-19 00:29:16 +00:00
Roger Dingledine
85e746d060
revert a tiny bit of r12035
...
svn:r12037
2007-10-18 23:18:28 +00:00
Roger Dingledine
0a865bc277
various fixes from reading or-cvs the past few days
...
svn:r12035
2007-10-18 23:14:58 +00:00
Roger Dingledine
322eddb045
changelog entry for r11985 (bug 529)
...
svn:r12034
2007-10-18 23:14:42 +00:00
Nick Mathewson
5bfb422157
r15934@catbus: nickm | 2007-10-18 15:32:56 -0400
...
When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly.
svn:r12033
2007-10-18 19:51:14 +00:00
Peter Palfrader
0e0ca9700b
Ammend 122 (Unnamed flag) with v2 discussion
...
svn:r12032
2007-10-18 19:24:05 +00:00
Nick Mathewson
9265b52afa
r15931@catbus: nickm | 2007-10-18 14:34:05 -0400
...
Changes to proposal 105 based on recent or-dev exchange with sjmurdoch.
svn:r12031
2007-10-18 18:35:06 +00:00
Nick Mathewson
fce823180b
r15925@catbus: nickm | 2007-10-18 14:13:57 -0400
...
Add tor-ctrl.sh to dist, and make it fit in 80-col terminals.
svn:r12029
2007-10-18 18:15:06 +00:00
Nick Mathewson
4807d8c966
r15924@catbus: nickm | 2007-10-18 14:06:11 -0400
...
Import tor-ctrl.sh by Stefan Behte into svn repository.
svn:r12028
2007-10-18 18:15:04 +00:00
Nick Mathewson
b5fefbeee5
r15921@catbus: nickm | 2007-10-18 11:16:38 -0400
...
Apply clarifications and comments from Karsten to rend-spec, with my own clarifications and comments.
svn:r12027
2007-10-18 18:15:01 +00:00
Nick Mathewson
db2c5132c9
r15919@catbus: nickm | 2007-10-18 10:57:47 -0400
...
Add a log message to router_remove_old_routers to try to figure out why peacetime has such a big cache.
svn:r12024
2007-10-18 14:58:45 +00:00
Nick Mathewson
5ff0e4ed56
r15917@catbus: nickm | 2007-10-18 10:50:01 -0400
...
Better log messages about extrainfo downloads.
svn:r12023
2007-10-18 14:50:59 +00:00
Nick Mathewson
192e3d71d4
r15915@catbus: nickm | 2007-10-18 10:26:44 -0400
...
Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority.
svn:r12022
2007-10-18 14:27:42 +00:00
Nick Mathewson
959c4963b2
r15913@catbus: nickm | 2007-10-18 10:22:19 -0400
...
Fix segfault in init_keys()
svn:r12021
2007-10-18 14:23:19 +00:00
Nick Mathewson
8f21a0a0b7
r15907@catbus: nickm | 2007-10-18 10:18:53 -0400
...
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
2007-10-18 14:19:56 +00:00
Nick Mathewson
c96167a6bd
r15906@catbus: nickm | 2007-10-18 10:00:08 -0400
...
Remove the obsolete warned_conflicts field: a v3 consensus cannot conflict with itself.
svn:r12019
2007-10-18 14:19:53 +00:00
Nick Mathewson
59b1b08753
r15905@catbus: nickm | 2007-10-18 09:58:54 -0400
...
Document some functions while I can still rememberf what they do. Fix up some whitespace.
svn:r12018
2007-10-18 14:19:51 +00:00
Nick Mathewson
35abfa1f77
r15899@catbus: nickm | 2007-10-18 07:49:15 -0400
...
"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
2007-10-18 11:50:20 +00:00