-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi,
according to the spec [1] relay ops can choose between fingerprint (with and without $ prefix) and nicknames when constructing their MyFamily configs. The man page recommends fingerprints.
Now I'm faced with [2][3] families that use a combination: $fp=nick
Are they actually valid or is this a bug or can one actually specify arbitrary strings there? (dir auths and onionoo apparently accept them)
thanks
[1] https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n504
[2] https://atlas.torproject.org/#details/2B76359D3AAA94CA107F447D2D14E481A99EB2...
(search for KosakaKirino) [3] https://collector.torproject.org/recent/relay-descriptors/server-descriptors... (this url has a lifetime)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi,
That would be invalid. I know there are some families which do it. You are free to enter a nickname at MyFamily parameter in your torrc, but it won't actually work for clients. Tor will still start on relay side and go on with it.
It used to work back when we were using Named / Unnamed flags. If the relay had the Named flag, you could just enter its nickname at Tor would automatically map that nickname to its proper fingerprint. It did not work for relays with Unnamed flag or relays without both Named and Unnamed flags.
I have opened a ticket for this on trac, but we fixed the FAQ.
https://trac.torproject.org/projects/tor/ticket/12092
On 5/31/2015 10:48 PM, nusenu wrote:
Hi,
according to the spec [1] relay ops can choose between fingerprint (with and without $ prefix) and nicknames when constructing their MyFamily configs. The man page recommends fingerprints.
Now I'm faced with [2][3] families that use a combination: $fp=nick
Are they actually valid or is this a bug or can one actually specify arbitrary strings there? (dir auths and onionoo apparently accept them)
thanks
[1] https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n504
[2] https://atlas.torproject.org/#details/2B76359D3AAA94CA107F447D2D14E481
A99EB207
(search for KosakaKirino) [3] https://collector.torproject.org/recent/relay-descriptors/server-descr
iptors/2015-05-30-14-05-48-server-descriptors
(this url has a lifetime)
_______________________________________________ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi,
based on your answer and linked trac entry, I assume my point was not entirely clear.
I was specifically wondering about a combination of *both* ("$FP=nickname") something I haven't seen till now:
Example as provided in the URLs of my last email: "$2B76359D3AAA94CA107F447D2D14E481A99EB207=Konata","$827BF0F1E52B82D69B3CE3DFEE1F1FE3A11042FD=KosakaKirino" (onionoo excerpt)
have a look at this relay's family: https://atlas.torproject.org/#details/2B76359D3AAA94CA107F447D2D14E481 A99EB207
Normally you see, fingerprints only: $FP1, $FP2, ...
or
Nicknames only: "PPTOR0042","PPTOR0043","PPTOR0044", ...
or
nicknames next to fingerprints: $FP1, oilsrv1, ...
Hi nusenu,
The spec isn't done :P Seriously though, no it's not a bug. If you check nodelist [0] you'll see that this type of hex-encoded nickname is normal for generating a descriptor. If you check CollecTor history for the node your mention [1] you'll see the result of building a descriptor. Metrics-lib parses this out in ServerDescriptorImpl [2]. Which then shows up in Atlas via Onionoo in DetailsStatus [3] during NodeDetailsStatusUpdater [4].
I hope that clears things up. (I know I skipped a full stack trace but its C and Java--cut me some slack)
--leeroy
[0] https://gitweb.torproject.org/tor.git/tree/src/or/nodelist.c#n499 [1] https://collector.torproject.org/recent/relay-descriptors/server-descriptors... [2] https://gitweb.torproject.org/metrics-lib.git/tree/src/org/torproject/descri... [3] https://gitweb.torproject.org/onionoo.git/tree/src/main/java/org/torproject/... [4] https://gitweb.torproject.org/onionoo.git/tree/src/main/java/org/torproject/...