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
Roger Dingledine
75271742dd
clean up the privoxy config in an osx config file that
...
i'm not even sure we use.
svn:r12008
2007-10-18 07:43:59 +00:00
Nick Mathewson
b0d1b73b9a
r15891@catbus: nickm | 2007-10-17 17:46:40 -0400
...
Apply changes to rend-spec.txt from Karsten's proposal-114 work. Points that need to be clarified are marked with a [XXXX].
svn:r12007
2007-10-17 21:47:28 +00:00
Nick Mathewson
54ac72f6b0
r15887@catbus: nickm | 2007-10-17 17:25:32 -0400
...
When a networkstatus consensus download fails, do not wait 60 seconds to decide whether to retry. (Also, log the time at which we'll try to replace the current networkstatus.)
svn:r12005
2007-10-17 21:26:22 +00:00
Nick Mathewson
088c1fac39
r15886@catbus: nickm | 2007-10-17 17:21:10 -0400
...
Treat it as an error when a v3 authority cant load its keys or certificates
svn:r12004
2007-10-17 21:26:19 +00:00
Nick Mathewson
e3113502ad
r15882@catbus: nickm | 2007-10-17 15:23:05 -0400
...
oprofile was telling me that a fair bit of our time in openssl was spent in base64_decode, so replace base64_decode with an all-at-once fairly optimized implementation. For decoding keys and digests, it seems 3-3.5x faster than calling out to openssl. (Yes, I wrote it from scratch.)
svn:r12002
2007-10-17 19:23:56 +00:00
Nick Mathewson
e8bd32b347
r15880@catbus: nickm | 2007-10-17 14:56:51 -0400
...
Patch from robert hogan: do not reset trusted dir server list when we get a config option.
svn:r12001
2007-10-17 19:23:52 +00:00
Nick Mathewson
f988f93b1a
r15877@catbus: nickm | 2007-10-17 12:54:56 -0400
...
Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff".
svn:r12000
2007-10-17 16:55:44 +00:00
Nick Mathewson
4088a90d55
r15876@catbus: nickm | 2007-10-17 12:39:05 -0400
...
Treat certificates as reason to note directory info as arrived
svn:r11999
2007-10-17 16:55:41 +00:00
Nick Mathewson
c23409080e
r15871@catbus: nickm | 2007-10-16 14:47:00 -0400
...
Add a debugging info msg to routerlist
svn:r11995
2007-10-16 18:47:32 +00:00
Nick Mathewson
9d7eba6ecc
r15868@catbus: nickm | 2007-10-16 14:18:29 -0400
...
Remove nearly all calls to routerlist_remove_old(). Backport candidate.
svn:r11994
2007-10-16 18:19:02 +00:00
Nick Mathewson
29173560b8
r15862@catbus: nickm | 2007-10-16 13:19:29 -0400
...
Correct mismatches between DirServer lines and authority configuration.
svn:r11992
2007-10-16 17:22:37 +00:00
Nick Mathewson
2e131e31b5
r15861@catbus: nickm | 2007-10-16 13:10:22 -0400
...
Fix example use of hash table iterators
svn:r11991
2007-10-16 17:21:05 +00:00
Nick Mathewson
0dab1a14a5
r15860@catbus: nickm | 2007-10-16 13:09:57 -0400
...
Avoid an infinite loop in networkstatus_reset_download_failures().
svn:r11990
2007-10-16 17:21:03 +00:00
Nick Mathewson
58ecc39141
r15859@catbus: nickm | 2007-10-16 13:09:28 -0400
...
Reset the is_named flag only on non-naming directories.
svn:r11989
2007-10-16 17:21:01 +00:00
Nick Mathewson
bbff989c1a
r15857@catbus: nickm | 2007-10-16 12:59:13 -0400
...
Add proposal 123-autonaming.txt
svn:r11988
2007-10-16 16:59:42 +00:00
Nick Mathewson
9d8d82fa84
svn:r11987
2007-10-16 15:34:18 +00:00
Nick Mathewson
0d26b623ee
r15853@catbus: nickm | 2007-10-16 11:32:55 -0400
...
Fix "Error adding vote: OK" message.
svn:r11986
2007-10-16 15:34:14 +00:00
Nick Mathewson
c5fb1c19eb
r15849@catbus: nickm | 2007-10-16 10:24:38 -0400
...
Correct and additional fix to bug 529.
svn:r11985
2007-10-16 14:25:16 +00:00
Nick Mathewson
03ce9d3ee7
r15848@catbus: nickm | 2007-10-16 10:17:02 -0400
...
Only drop routers for not appearing in the consensus if their purpose is GENERAL.
svn:r11984
2007-10-16 14:25:14 +00:00
Nick Mathewson
9ca2625833
r15847@catbus: nickm | 2007-10-16 10:15:07 -0400
...
Fix the simpler bit of bug 529: update routerinfo_t.is_named from the consensus.
svn:r11983
2007-10-16 14:25:13 +00:00
Nick Mathewson
f3c7eeb4a0
r15843@catbus: nickm | 2007-10-16 09:58:49 -0400
...
Clean up our code to fix a warning under gcc 4.2
svn:r11982
2007-10-16 13:59:37 +00:00
Roger Dingledine
583c15d0db
a few clarifications to the v3 auth dir policy
...
svn:r11974
2007-10-16 04:59:04 +00:00