[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2816: make sure tub.location and tub.port can be empty

Tahoe-LAFS trac at tahoe-lafs.org
Mon Aug 29 23:15:54 UTC 2016


#2816: make sure tub.location and tub.port can be empty
----------------------------+------------------------
 Reporter:  warner          |          Owner:  warner
     Type:  task            |         Status:  new
 Priority:  normal          |      Milestone:  1.12.0
Component:  code-nodeadmin  |        Version:  1.11.0
 Keywords:                  |  Launchpad Bug:
----------------------------+------------------------
 tub.port being empty means the node shouldn't do `Tub.listenOn`. We need
 to see how foolcap (and tahoe) reacts to either or both of these being
 empty.. I think `tub.location` needs to be set, but can be an empty
 string. I know it's fine to not call `Tub.listenOn()`, but I want to be
 sure that tahoe will do exactly that when `tub.port` is empty, and that it
 isn't going to allocate a listening port.

 This ties into the anonymous mode (#1010 and #517). Anonymous-mode clients
 should leave both empty. Anonymous-mode servers, though, will populate
 them (with a `tor:ONION.onion:PORT` and
 `tcp:LOCALPORT:interface=127.0.0.1`).

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2816>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list