[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] Revised Relay Descriptor Fields proposal



This extension could be very useful for the Tor2web project, in order to easily introduce "directory" functionalities for join/leave/networking capabilities as per https://github.com/globaleaks/Tor2web-3.0/issues/41 .

That would be *amazing* .

I'm going to bring Italian Grappa with express-shipping as an alchoolic incentive to anyone that love to make it real! :-)

-- 
Fabio Pietrosanti (naif)
HERMES - Center for Transparency and Digital Human Rights
http://logioshermes.org - http://globaleaks.org - http://tor2web.org

Il 7/4/14, 10:22 AM, Virgil Griffith ha scritto:
Filename: ExtraRelayDescriptorFields.txt
Title: Adding new X- fields to relay descriptor
Author: Virgil Griffith, Nick Mathewson
Created: 2014-06-03
Status: Open


1. Motivation
We wish to allow developers to build new applications atop relays. Towards this
end, we wish to add the ability for users to specify arbitrary new key-value
entries under the "X-" namespace.


2. Proposal
Allow optional key-value lines in the relay's torrc file.  These lines will be
mirrored in the relay's descriptor which is then published in the directory
consensus.


For example:
X-bitcoin 19mP9FKrXqL46Si58pHdhGKow88SUPy1V8
X-favoritequote Be excellent to each other.  Party on dudes!
X-foo bar


The value field must be printable ASCII (characters 32-126).  The value must
not under any condition contain a newline.  The key may contain lowercase
ASCII letters (a-z), digits, underscore, or dash.  In regex, [-_0-9a-z].

There may need to be a maximum sum length of the X- entries.  This is
left to the developers.  I propose a maximum sum length of 5 kilobytes.

To mitigate the chance of a malformed torrc file, I additionally propose there
be a schema for the relay descriptor, and if the relay descriptor fails to
match the schema it errors to the user to change her torrc file.

-V


_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev



  

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev