]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
18 years agofinish cleaning up r12175 tor-0.2.0.9-alpha
Roger Dingledine [Thu, 25 Oct 2007 04:17:59 +0000 (04:17 +0000)] 
finish cleaning up r12175

svn:r12179

18 years agoispell dir-spec; inspired by r12175.
Roger Dingledine [Thu, 25 Oct 2007 04:01:08 +0000 (04:01 +0000)] 
ispell dir-spec; inspired by r12175.

svn:r12178

18 years ago r16136@catbus: nickm | 2007-10-24 23:40:15 -0400
Nick Mathewson [Thu, 25 Oct 2007 03:41:30 +0000 (03:41 +0000)] 
 r16136@catbus:  nickm | 2007-10-24 23:40:15 -0400
 Proposal 103 is closed too: it has been implemented and merged into dir-spec.  Proposal 111 is "finished": it has been implemented, but still needs to be merged into the spec.

svn:r12177

18 years ago r16135@catbus: nickm | 2007-10-24 23:36:55 -0400
Nick Mathewson [Thu, 25 Oct 2007 03:41:28 +0000 (03:41 +0000)] 
 r16135@catbus:  nickm | 2007-10-24 23:36:55 -0400
 Proposals 101 and 104 are now implemented and merged into dir-spec.txt.

svn:r12176

18 years ago r16134@catbus: nickm | 2007-10-24 23:34:59 -0400
Nick Mathewson [Thu, 25 Oct 2007 03:41:25 +0000 (03:41 +0000)] 
 r16134@catbus:  nickm | 2007-10-24 23:34:59 -0400
 Merge 122 into dir-spec.txt; mark it closed.

svn:r12175

18 years ago r16130@catbus: nickm | 2007-10-24 23:28:00 -0400
Nick Mathewson [Thu, 25 Oct 2007 03:29:11 +0000 (03:29 +0000)] 
 r16130@catbus:  nickm | 2007-10-24 23:28:00 -0400
 Fix null-pointer dereference in set_current_consensus.

svn:r12174

18 years agobump to 0.2.0.9-alpha in preparation for a release
Roger Dingledine [Thu, 25 Oct 2007 03:13:51 +0000 (03:13 +0000)] 
bump to 0.2.0.9-alpha in preparation for a release

svn:r12173

18 years agomore cleanups
Roger Dingledine [Thu, 25 Oct 2007 03:03:52 +0000 (03:03 +0000)] 
more cleanups

svn:r12172

18 years ago r16128@catbus: nickm | 2007-10-24 22:52:16 -0400
Nick Mathewson [Thu, 25 Oct 2007 02:53:24 +0000 (02:53 +0000)] 
 r16128@catbus:  nickm | 2007-10-24 22:52:16 -0400
 Fix windows mmap changes.

svn:r12171

18 years ago r16124@catbus: nickm | 2007-10-24 22:11:09 -0400
Nick Mathewson [Thu, 25 Oct 2007 02:12:16 +0000 (02:12 +0000)] 
 r16124@catbus:  nickm | 2007-10-24 22:11:09 -0400
 We want to extend the valid_until for "reasonably live", not the valid_after time

svn:r12169

18 years ago r16115@catbus: nickm | 2007-10-24 21:52:33 -0400
Nick Mathewson [Thu, 25 Oct 2007 01:53:49 +0000 (01:53 +0000)] 
 r16115@catbus:  nickm | 2007-10-24 21:52:33 -0400
 Tolerate a slightly dead consensus when deciding whether to download descriptors and build circuits.

svn:r12167

18 years ago r16112@catbus: nickm | 2007-10-24 15:52:03 -0400
Nick Mathewson [Wed, 24 Oct 2007 19:53:11 +0000 (19:53 +0000)] 
 r16112@catbus:  nickm | 2007-10-24 15:52:03 -0400
 Fix logic for downloading consensuses: make getting an duplicate or not-currently-valid consensus count as a failure.  Make running out of time to get certificates count as a failure.  Delay while fetching certificates.

svn:r12159

18 years ago r16111@catbus: nickm | 2007-10-24 15:03:57 -0400
Nick Mathewson [Wed, 24 Oct 2007 19:53:08 +0000 (19:53 +0000)] 
 r16111@catbus:  nickm | 2007-10-24 15:03:57 -0400
 Allow multiple download schedules to exist.  At the moment, we use one for consensus, and the other one for everything else.

svn:r12158

18 years ago r16108@catbus: nickm | 2007-10-24 14:41:12 -0400
Nick Mathewson [Wed, 24 Oct 2007 18:42:16 +0000 (18:42 +0000)] 
 r16108@catbus:  nickm | 2007-10-24 14:41:12 -0400
 Refactor the arguments for router_pick_{directory_|trusteddir}server[_impl] so that they all take the same flags, and so that their flags have names.  Fix their documentation too.

svn:r12157

18 years ago r16101@catbus: nickm | 2007-10-24 11:44:40 -0400
Nick Mathewson [Wed, 24 Oct 2007 15:45:45 +0000 (15:45 +0000)] 
 r16101@catbus:  nickm | 2007-10-24 11:44:40 -0400
 Detect mmap failures from empty descriptor files, and only warn if the file was not supposed to be empty.  Fixes bug 533

svn:r12154

18 years ago r16100@catbus: nickm | 2007-10-24 11:33:52 -0400
Nick Mathewson [Wed, 24 Oct 2007 15:45:42 +0000 (15:45 +0000)] 
 r16100@catbus:  nickm | 2007-10-24 11:33:52 -0400
 Make tor_mmap_file() set and preserve errno in a useful way.

svn:r12153

18 years ago r16097@catbus: nickm | 2007-10-24 10:16:31 -0400
Nick Mathewson [Wed, 24 Oct 2007 14:17:47 +0000 (14:17 +0000)] 
 r16097@catbus:  nickm | 2007-10-24 10:16:31 -0400
 answer question from arma

svn:r12151

18 years agoready or not, 0.2.0.9-alpha comes out today. let's be ready.
Roger Dingledine [Wed, 24 Oct 2007 12:23:49 +0000 (12:23 +0000)] 
ready or not, 0.2.0.9-alpha comes out today. let's be ready.
(nick, i added a question for you in here.)

svn:r12141

18 years ago<edmanm> 3. Commands
Roger Dingledine [Wed, 24 Oct 2007 07:22:33 +0000 (07:22 +0000)] 
<edmanm> 3. Commands
<edmanm> All commands and other keywords are case-insensitive.
<edmanm> that lying control-spec.txt!
<edmanm> getinfo Address
<edmanm> 552 Unrecognized key "Address"
<edmanm> getinfo address
<edmanm> 250-address=72.230.11.78
<edmanm> 250 OK

svn:r12140

18 years agoUpdate torbutton version and spacing updates for the readme.
Andrew Lewman [Wed, 24 Oct 2007 04:24:14 +0000 (04:24 +0000)] 
Update torbutton version and spacing updates for the readme.

svn:r12138

18 years agoupdate torbutton version.
Andrew Lewman [Wed, 24 Oct 2007 04:23:09 +0000 (04:23 +0000)] 
update torbutton version.

svn:r12137

18 years agoAuthorities no longer send back "400 you're unreachable please fix
Roger Dingledine [Wed, 24 Oct 2007 03:34:03 +0000 (03:34 +0000)] 
Authorities no longer send back "400 you're unreachable please fix
it" errors to Tor servers that aren't online all the time. We're
supposed to tolerate these servers now.

svn:r12136

18 years agotrivial changes that have been sitting in my sandbox
Roger Dingledine [Wed, 24 Oct 2007 03:31:12 +0000 (03:31 +0000)] 
trivial changes that have been sitting in my sandbox

svn:r12135

18 years agoDisabled remote http config var
Andrew Lewman [Tue, 23 Oct 2007 16:29:45 +0000 (16:29 +0000)] 
Disabled remote http config var

svn:r12134

18 years agoDon't complain that "your server has not managed to confirm that its
Roger Dingledine [Tue, 23 Oct 2007 15:44:13 +0000 (15:44 +0000)] 
Don't complain that "your server has not managed to confirm that its
ports are reachable" if we haven't been able to build any circuits
yet. Bug found by spending four hours without a v3 consensus.

svn:r12133

18 years agouh. yeah. nothing to see here.
Roger Dingledine [Tue, 23 Oct 2007 06:42:46 +0000 (06:42 +0000)] 
uh. yeah. nothing to see here.

svn:r12130

18 years agoWhen there's no concensus, we were forming a vote every 30
Roger Dingledine [Tue, 23 Oct 2007 06:38:16 +0000 (06:38 +0000)] 
When there's no concensus, we were forming a vote every 30
minutes, but writing the "valid-after" line in our vote based
on our configured V3AuthVotingInterval: so unless the intervals
matched up, we immediately rejected our own vote because it didn't
start at the voting interval that caused us to construct a vote.

This caused log entries like:

Oct 23 01:16:16.303 [notice] Choosing expected valid-after time
as 2007-10-23 05:30:00: consensus_set=0, interval=1800
...
Oct 23 01:20:01.203 [notice] Choosing valid-after time in vote as
2007-10-23 06:00:00: consensus_set=0, interval=3600
Oct 23 01:20:01.290 [warn] Rejecting vote with valid-after time of
2007-10-23 06:00:00; we were expecting 2007-10-23 05:30:00
Oct 23 01:20:01.291 [warn] Couldn't store my own vote! (I told
myself, 'Bad valid-after time'.)

Nick, you should look at this, as it's your design. :)

svn:r12129

18 years ago r16057@catbus: nickm | 2007-10-23 00:08:31 -0400
Nick Mathewson [Tue, 23 Oct 2007 04:09:18 +0000 (04:09 +0000)] 
 r16057@catbus:  nickm | 2007-10-23 00:08:31 -0400
 What the heck is wrong with me that I can not type un?

svn:r12128

18 years ago<phobos> I want TorbuttonInfo.plist and TorbuttonDesc.plist included
Roger Dingledine [Tue, 23 Oct 2007 01:15:44 +0000 (01:15 +0000)] 
<phobos> I want TorbuttonInfo.plist and TorbuttonDesc.plist included
in the tarball.

svn:r12123

18 years agoRemove torbutton plists from makefile, as there is nothing to be updated
Andrew Lewman [Tue, 23 Oct 2007 00:59:55 +0000 (00:59 +0000)] 
Remove torbutton plists from makefile, as there is nothing to be updated
in the torbutton plists.

svn:r12118

18 years agoAdd torbutton to the osx packages.
Andrew Lewman [Tue, 23 Oct 2007 00:58:07 +0000 (00:58 +0000)] 
Add torbutton to the osx packages.

svn:r12116

18 years ago r16054@catbus: nickm | 2007-10-22 20:22:13 -0400
Nick Mathewson [Tue, 23 Oct 2007 00:23:33 +0000 (00:23 +0000)] 
 r16054@catbus:  nickm | 2007-10-22 20:22:13 -0400
 Make authorities start accepting (and advertising their acceptance of) consensus method 2.  If all goes well, we'll have a working Unnamed flag.  Otherwise, we'll have a fun backtrace.

svn:r12113

18 years ago r16053@catbus: nickm | 2007-10-22 20:20:23 -0400
Nick Mathewson [Tue, 23 Oct 2007 00:23:32 +0000 (00:23 +0000)] 
 r16053@catbus:  nickm | 2007-10-22 20:20:23 -0400
 Note that consensus-method is not a means for making backward-incompatible format changes.  Because any point that confuses Roger will *definitely* confuse many non-Roger readers of dir-spec.txt ;)

svn:r12112

18 years ago r16051@catbus: nickm | 2007-10-22 18:53:53 -0400
Nick Mathewson [Mon, 22 Oct 2007 22:54:28 +0000 (22:54 +0000)] 
 r16051@catbus:  nickm | 2007-10-22 18:53:53 -0400
 fix a dumb bug in r12102.

svn:r12111

18 years ago r16049@catbus: nickm | 2007-10-22 15:31:16 -0400
Nick Mathewson [Mon, 22 Oct 2007 19:31:50 +0000 (19:31 +0000)] 
 r16049@catbus:  nickm | 2007-10-22 15:31:16 -0400
 fix trunk compile

svn:r12110

18 years ago r16047@catbus: nickm | 2007-10-22 14:00:46 -0400
Nick Mathewson [Mon, 22 Oct 2007 18:21:22 +0000 (18:21 +0000)] 
 r16047@catbus:  nickm | 2007-10-22 14:00:46 -0400
 Resolve some XXX020s in networkstatus.c

svn:r12109

18 years ago r16045@catbus: nickm | 2007-10-22 13:35:02 -0400
Nick Mathewson [Mon, 22 Oct 2007 17:43:07 +0000 (17:43 +0000)] 
 r16045@catbus:  nickm | 2007-10-22 13:35:02 -0400
 Oops; fix a typo that would have messed with the Unnamed implementation.

svn:r12108

18 years ago r16042@catbus: nickm | 2007-10-22 13:30:49 -0400
Nick Mathewson [Mon, 22 Oct 2007 17:31:26 +0000 (17:31 +0000)] 
 r16042@catbus:  nickm | 2007-10-22 13:30:49 -0400
 Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality.

svn:r12107

18 years ago r16041@catbus: nickm | 2007-10-22 13:02:14 -0400
Nick Mathewson [Mon, 22 Oct 2007 17:31:22 +0000 (17:31 +0000)] 
 r16041@catbus:  nickm | 2007-10-22 13:02:14 -0400
 Reattempt certificate downloads immediately on failure, as appropriate.

svn:r12106

18 years ago r16035@catbus: nickm | 2007-10-22 12:31:22 -0400
Nick Mathewson [Mon, 22 Oct 2007 16:32:10 +0000 (16:32 +0000)] 
 r16035@catbus:  nickm | 2007-10-22 12:31:22 -0400
 fix compile

svn:r12105

18 years ago r16034@catbus: nickm | 2007-10-22 12:30:38 -0400
Nick Mathewson [Mon, 22 Oct 2007 16:32:08 +0000 (16:32 +0000)] 
 r16034@catbus:  nickm | 2007-10-22 12:30:38 -0400
 Move an XXX020 to the logical place.

svn:r12104

18 years ago r16033@catbus: nickm | 2007-10-22 12:26:13 -0400
Nick Mathewson [Mon, 22 Oct 2007 16:32:06 +0000 (16:32 +0000)] 
 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

18 years ago r16032@catbus: nickm | 2007-10-22 11:56:53 -0400
Nick Mathewson [Mon, 22 Oct 2007 16:32:04 +0000 (16:32 +0000)] 
 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

18 years ago r16031@catbus: nickm | 2007-10-22 11:45:00 -0400
Nick Mathewson [Mon, 22 Oct 2007 16:32:01 +0000 (16:32 +0000)] 
 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

18 years agoand synchronize that with the ReleaseNotes file
Roger Dingledine [Mon, 22 Oct 2007 08:54:32 +0000 (08:54 +0000)] 
and synchronize that with the ReleaseNotes file

svn:r12094

18 years agoput the release blurbs in the changelog file, so they can be
Roger Dingledine [Mon, 22 Oct 2007 08:52:01 +0000 (08:52 +0000)] 
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

18 years ago r16016@catbus: nickm | 2007-10-21 20:44:19 -0400
Nick Mathewson [Mon, 22 Oct 2007 00:44:42 +0000 (00:44 +0000)] 
 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

18 years ago r16014@catbus: nickm | 2007-10-21 20:29:14 -0400
Nick Mathewson [Mon, 22 Oct 2007 00:29:39 +0000 (00:29 +0000)] 
 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

18 years ago r15997@catbus: nickm | 2007-10-21 20:25:40 -0400
Nick Mathewson [Mon, 22 Oct 2007 00:26:02 +0000 (00:26 +0000)] 
 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

18 years agoOnly create pid dir if we are about to start Tor (Luca Capello, closes: #447508)
Peter Palfrader [Sun, 21 Oct 2007 22:12:24 +0000 (22:12 +0000)] 
Only create pid dir if we are about to start Tor (Luca Capello, closes: #447508)

svn:r12085

18 years ago r15995@catbus: nickm | 2007-10-21 00:40:46 -0400
Nick Mathewson [Sun, 21 Oct 2007 04:41:00 +0000 (04:41 +0000)] 
 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

18 years agoBugfix on r7072, which turned out to basically be a no-op:
Roger Dingledine [Sun, 21 Oct 2007 04:15:28 +0000 (04:15 +0000)] 
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

18 years ago r15991@catbus: nickm | 2007-10-20 20:08:29 -0400
Nick Mathewson [Sun, 21 Oct 2007 00:08:35 +0000 (00:08 +0000)] 
 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

18 years ago r15989@catbus: nickm | 2007-10-20 19:48:29 -0400
Nick Mathewson [Sat, 20 Oct 2007 23:48:35 +0000 (23:48 +0000)] 
 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

18 years ago r15976@catbus: nickm | 2007-10-20 19:44:47 -0400
Nick Mathewson [Sat, 20 Oct 2007 23:45:07 +0000 (23:45 +0000)] 
 r15976@catbus:  nickm | 2007-10-20 19:44:47 -0400
 Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs.

svn:r12067

18 years ago r15974@catbus: nickm | 2007-10-19 16:47:27 -0400
Nick Mathewson [Fri, 19 Oct 2007 20:48:46 +0000 (20:48 +0000)] 
 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

18 years ago r15968@catbus: nickm | 2007-10-19 14:39:51 -0400
Nick Mathewson [Fri, 19 Oct 2007 18:56:30 +0000 (18:56 +0000)] 
 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

18 years ago r15967@catbus: nickm | 2007-10-19 14:14:47 -0400
Nick Mathewson [Fri, 19 Oct 2007 18:56:28 +0000 (18:56 +0000)] 
 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

18 years ago r15966@catbus: nickm | 2007-10-19 13:56:28 -0400
Nick Mathewson [Fri, 19 Oct 2007 18:56:26 +0000 (18:56 +0000)] 
 r15966@catbus:  nickm | 2007-10-19 13:56:28 -0400
 Voting side of proposal 122

svn:r12052

18 years ago r15965@catbus: nickm | 2007-10-19 13:32:11 -0400
Nick Mathewson [Fri, 19 Oct 2007 18:56:24 +0000 (18:56 +0000)] 
 r15965@catbus:  nickm | 2007-10-19 13:32:11 -0400
 Client-side implementation for proposal 122.

svn:r12051

18 years ago r15964@catbus: nickm | 2007-10-19 12:43:49 -0400
Nick Mathewson [Fri, 19 Oct 2007 18:56:21 +0000 (18:56 +0000)] 
 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

18 years ago r15961@catbus: nickm | 2007-10-19 12:40:15 -0400
Nick Mathewson [Fri, 19 Oct 2007 16:41:32 +0000 (16:41 +0000)] 
 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

18 years ago r15960@catbus: nickm | 2007-10-19 12:30:17 -0400
Nick Mathewson [Fri, 19 Oct 2007 16:41:30 +0000 (16:41 +0000)] 
 r15960@catbus:  nickm | 2007-10-19 12:30:17 -0400
 Make authority_certs_fetch_missing() honor should_delay_dir_fetches()

svn:r12048

18 years ago r15957@catbus: nickm | 2007-10-19 12:22:18 -0400
Nick Mathewson [Fri, 19 Oct 2007 16:28:13 +0000 (16:28 +0000)] 
 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

18 years ago r15956@catbus: nickm | 2007-10-19 11:18:14 -0400
Nick Mathewson [Fri, 19 Oct 2007 16:28:10 +0000 (16:28 +0000)] 
 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

18 years agotypo
Peter Palfrader [Fri, 19 Oct 2007 02:31:43 +0000 (02:31 +0000)] 
typo

svn:r12044

18 years ago r15951@catbus: nickm | 2007-10-18 22:27:38 -0400
Nick Mathewson [Fri, 19 Oct 2007 02:28:47 +0000 (02:28 +0000)] 
 r15951@catbus:  nickm | 2007-10-18 22:27:38 -0400
 More TODO notes.

svn:r12043

18 years ago r15949@catbus: nickm | 2007-10-18 22:18:41 -0400
Nick Mathewson [Fri, 19 Oct 2007 02:19:49 +0000 (02:19 +0000)] 
 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

18 years ago r15939@catbus: nickm | 2007-10-18 22:14:15 -0400
Nick Mathewson [Fri, 19 Oct 2007 02:15:47 +0000 (02:15 +0000)] 
 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

18 years ago r15938@catbus: nickm | 2007-10-18 22:04:59 -0400
Nick Mathewson [Fri, 19 Oct 2007 02:15:43 +0000 (02:15 +0000)] 
 r15938@catbus:  nickm | 2007-10-18 22:04:59 -0400
 Misc clarifications and corrections in dir-spec.txt

svn:r12040

18 years agoCall routers_update_all_from_networkstatus() from router_reload_consensus_networkstat...
Peter Palfrader [Fri, 19 Oct 2007 00:29:16 +0000 (00:29 +0000)] 
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 years agorevert a tiny bit of r12035
Roger Dingledine [Thu, 18 Oct 2007 23:18:28 +0000 (23:18 +0000)] 
revert a tiny bit of r12035

svn:r12037

18 years agovarious fixes from reading or-cvs the past few days
Roger Dingledine [Thu, 18 Oct 2007 23:14:58 +0000 (23:14 +0000)] 
various fixes from reading or-cvs the past few days

svn:r12035

18 years agochangelog entry for r11985 (bug 529)
Roger Dingledine [Thu, 18 Oct 2007 23:14:42 +0000 (23:14 +0000)] 
changelog entry for r11985 (bug 529)

svn:r12034

18 years ago r15934@catbus: nickm | 2007-10-18 15:32:56 -0400
Nick Mathewson [Thu, 18 Oct 2007 19:51:14 +0000 (19:51 +0000)] 
 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

18 years agoAmmend 122 (Unnamed flag) with v2 discussion
Peter Palfrader [Thu, 18 Oct 2007 19:24:05 +0000 (19:24 +0000)] 
Ammend 122 (Unnamed flag) with v2 discussion

svn:r12032

18 years ago r15931@catbus: nickm | 2007-10-18 14:34:05 -0400
Nick Mathewson [Thu, 18 Oct 2007 18:35:06 +0000 (18:35 +0000)] 
 r15931@catbus:  nickm | 2007-10-18 14:34:05 -0400
 Changes to proposal 105 based on recent or-dev exchange with sjmurdoch.

svn:r12031

18 years ago r15925@catbus: nickm | 2007-10-18 14:13:57 -0400
Nick Mathewson [Thu, 18 Oct 2007 18:15:06 +0000 (18:15 +0000)] 
 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

18 years ago r15924@catbus: nickm | 2007-10-18 14:06:11 -0400
Nick Mathewson [Thu, 18 Oct 2007 18:15:04 +0000 (18:15 +0000)] 
 r15924@catbus:  nickm | 2007-10-18 14:06:11 -0400
 Import tor-ctrl.sh by Stefan Behte into svn repository.

svn:r12028

18 years ago r15921@catbus: nickm | 2007-10-18 11:16:38 -0400
Nick Mathewson [Thu, 18 Oct 2007 18:15:01 +0000 (18:15 +0000)] 
 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

18 years ago r15919@catbus: nickm | 2007-10-18 10:57:47 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:58:45 +0000 (14:58 +0000)] 
 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

18 years ago r15917@catbus: nickm | 2007-10-18 10:50:01 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:50:59 +0000 (14:50 +0000)] 
 r15917@catbus:  nickm | 2007-10-18 10:50:01 -0400
 Better log messages about extrainfo downloads.

svn:r12023

18 years ago r15915@catbus: nickm | 2007-10-18 10:26:44 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:27:42 +0000 (14:27 +0000)] 
 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

18 years ago r15913@catbus: nickm | 2007-10-18 10:22:19 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:23:19 +0000 (14:23 +0000)] 
 r15913@catbus:  nickm | 2007-10-18 10:22:19 -0400
 Fix segfault in init_keys()

svn:r12021

18 years ago r15907@catbus: nickm | 2007-10-18 10:18:53 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:19:56 +0000 (14:19 +0000)] 
 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

18 years ago r15906@catbus: nickm | 2007-10-18 10:00:08 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:19:53 +0000 (14:19 +0000)] 
 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

18 years ago r15905@catbus: nickm | 2007-10-18 09:58:54 -0400
Nick Mathewson [Thu, 18 Oct 2007 14:19:51 +0000 (14:19 +0000)] 
 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

18 years ago r15899@catbus: nickm | 2007-10-18 07:49:15 -0400
Nick Mathewson [Thu, 18 Oct 2007 11:50:20 +0000 (11:50 +0000)] 
 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

18 years agoclean up the privoxy config in an osx config file that
Roger Dingledine [Thu, 18 Oct 2007 07:43:59 +0000 (07:43 +0000)] 
clean up the privoxy config in an osx config file that
i'm not even sure we use.

svn:r12008

18 years ago r15891@catbus: nickm | 2007-10-17 17:46:40 -0400
Nick Mathewson [Wed, 17 Oct 2007 21:47:28 +0000 (21:47 +0000)] 
 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

18 years ago r15887@catbus: nickm | 2007-10-17 17:25:32 -0400
Nick Mathewson [Wed, 17 Oct 2007 21:26:22 +0000 (21:26 +0000)] 
 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

18 years ago r15886@catbus: nickm | 2007-10-17 17:21:10 -0400
Nick Mathewson [Wed, 17 Oct 2007 21:26:19 +0000 (21:26 +0000)] 
 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

18 years ago r15882@catbus: nickm | 2007-10-17 15:23:05 -0400
Nick Mathewson [Wed, 17 Oct 2007 19:23:56 +0000 (19:23 +0000)] 
 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

18 years ago r15880@catbus: nickm | 2007-10-17 14:56:51 -0400
Nick Mathewson [Wed, 17 Oct 2007 19:23:52 +0000 (19:23 +0000)] 
 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

18 years ago r15877@catbus: nickm | 2007-10-17 12:54:56 -0400
Nick Mathewson [Wed, 17 Oct 2007 16:55:44 +0000 (16:55 +0000)] 
 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

18 years ago r15876@catbus: nickm | 2007-10-17 12:39:05 -0400
Nick Mathewson [Wed, 17 Oct 2007 16:55:41 +0000 (16:55 +0000)] 
 r15876@catbus:  nickm | 2007-10-17 12:39:05 -0400
 Treat certificates as reason to note directory info as arrived

svn:r11999

18 years ago r15871@catbus: nickm | 2007-10-16 14:47:00 -0400
Nick Mathewson [Tue, 16 Oct 2007 18:47:32 +0000 (18:47 +0000)] 
 r15871@catbus:  nickm | 2007-10-16 14:47:00 -0400
 Add a debugging info msg to routerlist

svn:r11995

18 years ago r15868@catbus: nickm | 2007-10-16 14:18:29 -0400
Nick Mathewson [Tue, 16 Oct 2007 18:19:02 +0000 (18:19 +0000)] 
 r15868@catbus:  nickm | 2007-10-16 14:18:29 -0400
 Remove nearly all calls to routerlist_remove_old().  Backport candidate.

svn:r11994

18 years ago r15862@catbus: nickm | 2007-10-16 13:19:29 -0400
Nick Mathewson [Tue, 16 Oct 2007 17:22:37 +0000 (17:22 +0000)] 
 r15862@catbus:  nickm | 2007-10-16 13:19:29 -0400
 Correct mismatches between DirServer lines and authority configuration.

svn:r11992

18 years ago r15861@catbus: nickm | 2007-10-16 13:10:22 -0400
Nick Mathewson [Tue, 16 Oct 2007 17:21:05 +0000 (17:21 +0000)] 
 r15861@catbus:  nickm | 2007-10-16 13:10:22 -0400
 Fix example use of hash table iterators

svn:r11991