Opened at 2014-09-05T18:21:03Z
Closed at 2015-12-10T06:58:31Z
#2293 closed enhancement (wontfix)
I2P client endpoint parameter concatenator
Reported by: | dawuud | Owned by: | dawuud |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-network | Version: | 1.10.0 |
Keywords: | i2p endpoint twisted | Cc: | |
Launchpad Bug: |
Description (last modified by str4d)
note: this ticket description is inspired by str4d's commit here: https://github.com/david415/tahoe-lafs/commit/21cc326f6bd8aedbb3d9478c8591234c3c0b08a0
As discussed on IRC with str4d... the client side of the native I2P integration for Tahoe-LAFS would need a way to pass the I2P endpoint object some private client parameters. str4d proposes a solution: transform the endpoint string before passing it to clientFromString.
That very transpormation should take place in Tahoe-LAFS and it should append the user specified parameters to the Twisted endpoint string.
Clients may need to extend client side Twisted endpoint strings. This seems like a reasonable feature for several Twisted endpoint types.
tcp:example.org:1337:timeout=60 ssl:example.org:443:caCertsDir=/etc/ssl/certs i2p:longstring.b32.i2p:tunnelNick=tahoe:inport=10000
These should be set in tahoe.cfg like this:
[node] clientEndpointParams = tcp:timeout=60,ssl:caCertsDir=/etc/ssl/certs,i2p:tunnelNick=tahoe:inport=10000
str4d wrote:
Tahoe parses, keeps an internal map, applies the relevant params to a client endpoint string before connecting
Change History (5)
comment:1 Changed at 2014-09-07T18:20:24Z by daira
- Component changed from unknown to code-network
- Keywords i2p endpoint twisted added
- Summary changed from I2P client endpoint parameter concaternator to I2P client endpoint parameter concatenator
- Type changed from defect to enhancement
comment:2 Changed at 2014-09-07T18:20:54Z by daira
- Owner changed from daira to dawuud
comment:3 Changed at 2014-09-08T04:17:36Z by str4d
- Description modified (diff)
comment:4 Changed at 2014-09-14T05:14:58Z by str4d
I opened a ticket with Twisted for this functionality:
https://twistedmatrix.com/trac/ticket/7634
If we can get an API method there, that would be best. Otherwise, we will need to implement it.
comment:5 Changed at 2015-12-10T06:58:31Z by dawuud
- Resolution set to wontfix
- Status changed from new to closed
note: we no longer need this ticket because foolscap has a new transport plugin system.
Removed the client endpoint string whitelisting comments from the description, I have opened a Twisted ticket for that:
https://twistedmatrix.com/trac/ticket/7632