[tor-bugs] #28812 [Core Tor/Tor]: Duplicates of nodes descriptors can be found in consensus files

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 12 05:14:50 UTC 2018


#28812: Duplicates of nodes descriptors can be found in consensus files
--------------------------+------------------------------
 Reporter:  wagon         |          Owner:  (none)
     Type:  defect        |         Status:  closed
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.4.9
 Severity:  Normal        |     Resolution:  not a bug
 Keywords:  tor-client    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------

Comment (by wagon):

 Replying to [comment:1 nickm]:
 > Probably not.  We consider two nodes to be different if they have
 different keys, and the same otherwise.
 They cannot be different if they claim that they are using the same IP and
 the same ports. These two different tor instances cannot serve any useful
 purpose. Two different processes cannot listen on the same IP and port.
 > As long as they don't stay up longterm or get assigned any important
 flags, it's not going to hurt anything.
 How client can select which of them to use if both of them are on the same
 IP and port? Tor client doesn't know which of these duplicate keys the
 node in question is using in particular time moment.

 If you say that such nodes cannot work in network anyway, why they are
 included in consensus and distributed to clients? If you say that such
 nodes can work, we are in trouble again, because most probably they are
 unusable because of what I've said before.

 How it can be not a bug? Meanwhile, I caught it again with another node
 (Tue Dec 11 03:59:04 UTC 2018):

 {{{
 r default Iw3aijlAo3wtwMPpS81P+jXWBXM 2018-12-11 02:07:48 218.221.211.72
 42958 0
 m kP1vdWn7duAfwAsWDXy1WEQWMFYf0AHhw03vmCUepdM
 s Running V2Dir Valid
 v Tor 0.3.5.5-alpha
 pr Cons=1-2 Desc=1-2 DirCache=1-2 HSDir=1-2 HSIntro=3-4 HSRend=1-2
 Link=1-5 LinkAuth=1,3 Microdesc=1-2 Relay=1-2
 w Bandwidth=0 Unmeasured=1

 r default nvcZXCZwkee2bTJUZEBI9zpju40 2018-12-11 02:32:31 218.221.211.72
 42958 0
 m PhWgGNtH2OHFrkO4YA18a9OqKm/491SwRwUYY+lCC/o
 s Running V2Dir Valid
 v Tor 0.3.5.5-alpha
 pr Cons=1-2 Desc=1-2 DirCache=1-2 HSDir=1-2 HSIntro=3-4 HSRend=1-2
 Link=1-5 LinkAuth=1,3 Microdesc=1-2 Relay=1-2
 w Bandwidth=0 Unmeasured=1
 }}}

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


More information about the tor-bugs mailing list