[tor-dev] UDP Application Support in Tor

Vilgot Bergquist vilgot.bergquist at protonmail.com
Thu Feb 8 13:02:59 UTC 2024


Hi,

I looked at the suggested solutions and I think there is another approach, which is much easier. 


I C it's pretty easy to encapsulate UDP segments inside TCP segments. Hence there is no need to re-organize the connection logic of tor relays. Instead it should be possible to make Guards, when receiving an UDP packet, to just add a TCP header and then it goes through the normal process. The exit nodes than removed the TCP header and pass the UDP segment on.

Regards
Vilgot


tor-dev-request at lists.torproject.org <tor-dev-request at lists.torproject.org> schrieb am Donnerstag, 25. Januar 2024 um 18:49:

> 

> 

> Send tor-dev mailing list submissions to
> tor-dev at lists.torproject.org
> 

> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
> or, via email, send a message with subject or body 'help' to
> tor-dev-request at lists.torproject.org
> 

> You can reach the person managing the list at
> tor-dev-owner at lists.torproject.org
> 

> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tor-dev digest..."
> 

> 

> Today's Topics:
> 

> 1. New Proposal - UDP Application Support in Tor
> (Micah Elizabeth Scott)
> 

> 

> ----------------------------------------------------------------------
> 

> Message: 1
> Date: Thu, 25 Jan 2024 09:49:02 -0800
> From: Micah Elizabeth Scott beth at torproject.org
> 

> To: tor-dev at lists.torproject.org
> Subject: [tor-dev] New Proposal - UDP Application Support in Tor
> Message-ID: 79aa2de8-1ff9-4579-b87f-ee9792e9cbb0 at torproject.org
> 

> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 

> Hello tor-dev folks!
> 

> Late last year I started taking a close look at what it would take to
> support applications on Tor which rely on UDP networking. This was
> originally to be based on Nick's proposal, 339-udp-over-tor.
> 

> The scope of this work so far has been specifically focused on end-user
> application compatibility, and excludes fundamental changes to Tor's
> network structure or protocols for now.
> 

> This combination of approach and scope left me with more questions than
> answers, so I started looking deeper into the available solutions along
> with their expected benefits and risks. This proposal is the result of
> that investigation.
> 

> Please find the text attached, or in the torspec repo as proposal #348:
> 

> https://gitlab.torproject.org/tpo/core/torspec/-/blob/main/proposals/348-udp-app-support.md?ref_type=heads
> 

> Unlike a typical proposal, this does not recommend any specific change
> to the Tor implementation. Several possible changes are presented, but
> ultimately the recommended approach is to use application-specific UDP
> relays to achieve compatibility.
> 

> Integrated approaches are also presented, where Tor does involve itself
> in the transit of individual datagrams. These approaches offer
> advantages only when they are also part of a long-term plan to offer
> transport features beyond those offered by TCP. Until such a plan is
> in-scope, specific UDP extensions cannot be offered with confidence.
> 

> I would appreciate any feedback on this proposal, whether it's about
> this particular shorter-term context or about longer-term plans to
> achieve some kind of optional unreliable transport.
> 

> Thanks for your time!
> 

> --beth
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 348-udp-app-support.md
> Type: text/markdown
> Size: 58079 bytes
> Desc: not available
> URL: http://lists.torproject.org/pipermail/tor-dev/attachments/20240125/8ae2ddc3/attachment.md
> 

> 

> ------------------------------
> 

> Subject: Digest Footer
> 

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

> 

> ------------------------------
> 

> End of tor-dev Digest, Vol 154, Issue 9
> ***************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - vilgot.bergquist at protonmail.com - 0xEC7AAFDD.asc
Type: application/pgp-keys
Size: 3174 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20240208/92d44eec/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 855 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20240208/92d44eec/attachment.sig>


More information about the tor-dev mailing list