[tor-bugs] #17668 [Tor]: moria1, with updated v3 cert: Bug: Generated a networkstatus consensus we couldn't parse.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 26 17:53:41 UTC 2015


#17668: moria1, with updated v3 cert: Bug: Generated a networkstatus consensus we
couldn't parse.
---------------------+------------------------------------
 Reporter:  arma     |          Owner:
     Type:  defect   |         Status:  new
 Priority:  High     |      Milestone:  Tor: 0.2.7.x-final
Component:  Tor      |        Version:
 Severity:  Blocker  |     Resolution:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
  Sponsor:           |
---------------------+------------------------------------

Comment (by nickm):

 Hm.  When I try to parse it I get ...
 {{{
 Nov 26 12:47:31.000 [warn] ID on signature on network-status vote does not
 match any declared directory source.
 Nov 26 12:47:31.000 [warn] Unable to parse networkstatus consensus
 Nov 26 12:47:31.000 [warn] Couldn't load consensus ns networkstatus from
 "/Users/nickm/.tor/cached-consensus"
 }}}

 That comes from:
 {{{
     if (!(v = networkstatus_get_voter_by_id(ns, declared_identity))) {
       log_warn(LD_DIR, "ID on signature on network-status vote does not
 match "
                "any declared directory source.");
       goto err;
     }
 }}}

 So apparently it's complaining because it got a signature on this document
 that didn't have a corresponding dir-source block.  That's pretty weird --
 there's only one signature on it, and that signature should be from moria.
 But apparently moria is omitting its own dir-source block in the
 consensus:
 {{{
 dir-source tor26 14C131DFC5C6F93646BE72FA1401C02A8DF2E8B4 86.59.21.38
 86.59.21.38 80 443
 contact Peter Palfrader
 vote-digest F3B5BED9DE82C3811CD32A832243B6EBEF1EBF63
 dir-source longclaw 23D15D965BC35114467363C165C4F724B64B4F66
 199.254.238.53 199.254.238.53 80 443
 contact Riseup Networks <collective at riseup dot net> -
 1nNzekuHGGzBYRzyjfjFEfeisNvxkn4RT
 vote-digest 65C7D8171ABDAF345B91BDAA43824519EC2B2740
 dir-source maatuska 49015F787433103580E3B66A1707A00E60F2D15B 171.25.193.9
 171.25.193.9 443 80
 contact 4096R/23291265 Linus Nordberg <linus at nordberg.se>
 vote-digest 06643D9FEA0027E3E0147B2A92724525713BFBB2
 dir-source urras 80550987E1D626E3EBA5E5E75A458DE0626D088C 208.83.223.34
 208.83.223.34 443 80
 contact 4096R/D255D3F5C868227F Jacob Appelbaum <jacob at appelbaum.net>
 vote-digest EB58639545D77BC67F0DB11EB4141BF97F5E7D9E
 dir-source dizum E8A9C45EDE6D711294FADF8E7951F4DE6CA56B58 194.109.206.212
 194.109.206.212 80 443
 contact 1024R/8D56913D Alex de Joode <adejoode at sabotage.org>
 vote-digest E08A26FEB7C50DDF03D63730DCDBB5E864319D3D
 dir-source gabelmoo ED03BB616EB2F60BEC80151114BB25CEF515B226
 131.188.40.189 131.188.40.189 80 443
 contact 4096R/261C5FBE77285F88FB0C343266C8C2D7C5AA446D Sebastian Hahn
 <tor at sebastianhahn.net> - 12NbRAjAG5U3LLWETSF7fSTcdaz32Mu5CN
 vote-digest 9C0AE8149701964BB123ED6E3EDFDFD69A57451A
 dir-source Faravahar EFCBE720AB3A82B99F9E953CD5BF50F7EEFC7B97
 154.35.175.225 154.35.175.225 80 443
 contact 0x0B47D56D Sina Rabbani (inf0) <sina redteam net>
 vote-digest 5283DEC2B07E20AE334AFA7CB7EA837BA83AB38B
 }}}

 I think that's the problem.  But now to find out why it happens!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17668#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list