[tor-bugs] #30558 [Applications/Tor Browser]: Namecoin support for onion sites in Tor Browser

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 16 20:14:59 UTC 2019


#30558: Namecoin support for onion sites in Tor Browser
--------------------------------------+--------------------------------
 Reporter:  arthuredelstein           |          Owner:  JeremyRand
     Type:  defect                    |         Status:  needs_revision
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  TorBrowserTeam201912      |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:  gk                        |        Sponsor:
--------------------------------------+--------------------------------

Comment (by JeremyRand):

 I think I have fixes for both (1) and (2).  For (1), decreasing the
 relevant timeout from 45 seconds to 15 seconds seems to improve the
 initial connection delay quite a lot without causing timeouts when a Tor
 circuit is bad.  I haven't tried with pluggable transports enabled though;
 I wonder if the public PT bridges will be slow enough to cause 15 seconds
 to be too short to open a TCP connection.  For (2), I applied a similar
 change to the one I suggested in the upstream Electrum bug.
 Interestingly, I just found a bug in ncdns that also causes (2) even once
 the Electrum-NMC JSON-RPC error code is correct.  The fixes will be pushed
 shortly.

 Thanks for catching these issues!

 As an aside, note that even once the fix for (2) is applied, Electrum-NMC
 will try 3 times, using a different server each time, before deciding that
 a name doesn't exist.  It does this so that a single malicious server
 can't hide the existence of names.  (The SPV proofs returned by a server
 only prove inclusion, not non-inclusion; adding non-inclusion SPV proofs
 is something that's on our to-do list; once that's implemented, then we'll
 be able to drop the multiple-server lookups for nonexistent names.)  This
 doesn't cause a significant delay on its own though.

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


More information about the tor-bugs mailing list