[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2818: Grid Status displays wrong Address of connected storage servers
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Sep 2 17:45:43 UTC 2016
#2818: Grid Status displays wrong Address of connected storage servers
-------------------------+--------------------
Reporter: dawuud | Owner: warner
Type: defect | Status: new
Priority: normal | Milestone: 1.12.0
Component: unknown | Version: 1.11.0
Resolution: | Keywords: tor
Launchpad Bug: |
-------------------------+--------------------
Comment (by warner):
Hm. Let's see.. this is just for client->server connections, and since the
client is using unique Tubs (which aren't listening) for those
connections, the connected address will always be that of the far end.
Previously, by using a single shared (listening) Tub for all connections,
sometimes the "client->server" connection would actually be running over a
TCP connection that was initiated by the server (when both sides are
running servers). At that time, it was useful to know whether your TCP
connection was outbound or inbound. But since now they're always outbound,
I guess we don't need to display the difference anymore.
There's two pieces of information that would be useful on this display.
The first is where the server is advertising themselves (the connection
hint). The second would be something about how we actually managed to
connect to them.
It might be nice if this showed the fact that you're using Tor to connect
to them. That's going to need some new Foolscap support though.. maybe it
could remember which connection-handler was successful, and stash it on
the Broker somewhere. Then we could add a new API
(rref.getConnectionInfo?) which reported the name of the connection-
handler and the hint which it used, maybe some other descriptive text.
I guess the only problem with displaying the connection hints is that
they're slightly longer (`tcp:HOST:PORT` instead of `HOST:PORT`). Not a
big deal.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2818#comment:6>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list