[tor-bugs] #23836 [Core Tor/Tor]: spurious warning about used nickname

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 12 17:58:11 UTC 2017


#23836: spurious warning  about used nickname
------------------------------+--------------------------------
     Reporter:  toralf        |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.2.2-alpha
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 I'm wondering why I suddenly got at both of my 2 Tor exit relays
 (0.3.2.2.-alpha, running at the same machine) the following message:

         /tmp/notice2.log:Oct 07 22:41:58.000 [warn] You specified a relay
 "zwiebeltoralf2" by name, but nicknames can be used by any relay, not just
 the one you meant. To make sure you get the same relay in the future,
 refer to it by key, as "$6EABEBF38CE7E3DF672C4DB01383606FE3EB2215".

         /tmp/notice.log:Oct 07 22:39:53.000 [warn] You specified a relay
 "zwiebeltoralf" by name, but nicknames can be used by any relay, not just
 the one you meant. To make sure you get the same relay in the future,
 refer to it by key, as "$1AF72E8906E6C49481A791A6F8F84F8DFEBBB2BA".

 when I queried the Tor status via a home-brewed Python script [1]. I do
 assume that the message is related to line 90 ot that script:

          flags = controller.get_network_status(relay=srv.nickname).flags

 [1] https://github.com/toralf/torutils/blob/master/info.py

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


More information about the tor-bugs mailing list