[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] Proposal 274: A Name System API for Tor Onion Services
The minorest of comments.
On 7 October 2016 at 15:06, George Kadianakis <desnacked@xxxxxxxxxx> wrote:
> For example here is a snippet from a torrc file:
> OnionNamePlugin 0 .hosts /usr/local/bin/local-hosts-file
> OnionNamePlugin 1 .zkey /usr/local/bin/gns-tor-wrapper
> OnionNamePlugin 2 .bit /usr/local/bin/namecoin-tor-wrapper
> OnionNamePlugin 3 .scallion /usr/local/bin/community-hosts-file
>
> 2.3.1. Tor name resolution logic
>
> When Tor receives a SOCKS request to an address that has a name
> plugin assigned to it, it needs to perform a query for that address
> using that name plugin.
>
> If there are multiple name plugins that correspond to the requested
> address, Tor queries all relevant plugins sorted by their priority
> value, until one of them returns a successful result. If two plugins
> have the same priority value, Tor MUST abort.
If priority is only consulted when two tlds have the same value, why
are they required to all be different? (I guess to just make it
simpler reading file?)
-tom
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev