[tahoe-lafs-trac-stream] [tahoe-lafs] #1010: use only 127.0.0.1 as local address

tahoe-lafs trac at tahoe-lafs.org
Wed Aug 7 16:48:48 UTC 2013


#1010: use only 127.0.0.1 as local address
-------------------------+-------------------------------------------------
     Reporter:  duck     |      Owner:  warner
         Type:           |     Status:  new
  enhancement            |  Milestone:  1.11.0
     Priority:  minor    |    Version:  1.6.1
    Component:  code-    |   Keywords:  privacy anonymity docs anti-
  network                |  censorship forward-compatibility
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------
Changes (by killyourtv):

 * cc: killyourtv@… (added)


Old description:

> For the anonymous network use case (such as [http://www.i2p2.de/ I2P]),
> we want to only use `127.0.0.1` as loopback address. Right now Tahoe
> discovers all local addresses through various strategies and discloses
> them to (atleast) the introducer.
>
> For I2P we have introduced the configuration option
> `anonymize_local_addresses` (which we consider renaming to
> `tub.anonymize`) to disable this lookup.
>
> Example of configuration in `tahoe.cfg`:
> {{{
>     [node]
>     ...
>     anonymize_local_addresses = true
> }}}
>
> Snippit showing how this is used in `node.py`:
> {{{
>     if self.get_config("node", "anonymize_local_addresses", False,
> boolean=True):
>         d.addCallback(lambda res: ['127.0.0.1'])
>     else:
>         d.addCallback(lambda res: iputil.get_local_addresses_async())
>     d.addCallback(self._setup_tub)
> }}}

New description:

 For the anonymous network use case (such as [http://www.i2p2.de/ I2P]), we
 want to only use `127.0.0.1` as loopback address. Right now Tahoe
 discovers all local addresses through various strategies and discloses
 them to (atleast) the introducer.

 For I2P we have introduced the configuration option
 `anonymize_local_addresses` (which we consider renaming to
 `tub.anonymize`) to disable this lookup.

 Example of configuration in `tahoe.cfg`:
 {{{
     [node]
     ...
     anonymize_local_addresses = true
 }}}

 Snippit showing how this is used in `node.py`:
 {{{
     if self.get_config("node", "anonymize_local_addresses", False,
 boolean=True):
         d.addCallback(lambda res: ['127.0.0.1'])
     else:
         d.addCallback(lambda res: iputil.get_local_addresses_async())
     d.addCallback(self._setup_tub)
 }}}

--

Comment:

 I added an updated patch against trunk which uses Brian's last patch.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1010#comment:34>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


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