[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2860: tahoe create-node writes tcp=tor even for i2p
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Dec 29 20:16:51 UTC 2016
#2860: tahoe create-node writes tcp=tor even for i2p
--------------------------------+----------------------------
Reporter: dawuud | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.12.1
Component: code-nodeadmin | Version: 1.12.0
Resolution: | Keywords: i2p cli config
Launchpad Bug: |
--------------------------------+----------------------------
Comment (by warner):
oh, yeah, `create_node.py` `write_node_config()` is Tor-centric here:
{{{
if config["hide-ip"]:
c.write("[connections]\n")
c.write("tcp = tor\n")
c.write("\n")
}}}
Earlier (in `_CreateBaseOptions.postOptions`) we allow either tor or i2p
to satisfy `--hide-ip`.
What if we change that tcp=tor clause to try
`tor_provider._import_txtorcon()`, and if that fails, write out `tcp=none`
? We can't write out `tcp=i2p` because I2P doesn't let you connect to
normal TCP hints.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2860#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list