[tor-bugs] #34358 [Circumvention/Snowflake]: Implement a browser-compatible NAT behaviour discovery STUN library (was: Package npm modules for web use)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 2 16:55:52 UTC 2020


#34358: Implement a browser-compatible NAT behaviour discovery STUN library
-------------------------------------+---------------------------
 Reporter:  cohosh                   |          Owner:  (none)
     Type:  task                     |         Status:  new
 Priority:  Medium                   |      Milestone:
Component:  Circumvention/Snowflake  |        Version:
 Severity:  Normal                   |     Resolution:
 Keywords:  snowflake-webext         |  Actual Points:
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:  Sponsor28
-------------------------------------+---------------------------
Description changed by cohosh:

Old description:

> So far we've been lucky that the npm modules we've been using are
> available through Firefox and Chrome APIs. That's not the case for
> [https://www.npmjs.com/package/stun stun], which we need for #34129.
>
> It looks like there are some options for packing node modules for use in
> web applications: https://www.npmjs.com/package/webpack
>
> But we might need to modify our build scripts.

New description:

 So far we've been lucky that the npm modules we've been using are
 available through Firefox and Chrome APIs. That's not the case for
 [https://www.npmjs.com/package/stun stun], which we need for #34129.

 ~~It looks like there are some options for packing node modules for use in
 web applications: https://www.npmjs.com/package/webpack~~

 ~~But we might need to modify our build scripts.~~

 Now it seems like we'd have to implement our own STUN library from scratch
 using the UDP socket APIs.

 It's questionable how worth it this is at the moment.

--

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


More information about the tor-bugs mailing list