[tahoe-lafs-trac-stream] [Tahoe-LAFS] #867: use ipv6
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Sep 21 13:05:49 UTC 2016
#867: use ipv6
-------------------------+-------------------------------------------------
Reporter: warner | Owner: warner
Type: | Status: new
enhancement |
Priority: major | Milestone: undecided
Component: code- | Version: 1.5.0
network | Keywords: ipv6 firewall twisted foolscap
Resolution: | test-needed
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by dawuud):
I was testing out the IPv4 + IPv6 on a couple of servers... running an
introducer + storage node on one and another storage node on the other. I
noticed that it dOES NOT work to specify the following:
{{{
tub.port=tcp6:3456,tcp:3456
}}}
However it works fine if i specify the interfaces in both endpoint
descriptor strings like so:
{{{
tub.port =
tcp6:interface=2600\:3c01\:f03c\:91ff\:fe93\:d272:3456,tcp:interface=8.8.8.8:3456
}}}
{{{
2016-09-21T12:48:40+0000 [twisted.internet.defer#critical] Unhandled error
in Deferred:
Traceback (most recent call last):
File "/home/human/foolscap/src/foolscap/pb.py", line 537, in
startService
service.MultiService.startService(self)
File "/home/human/virtenv-tahoe/local/lib/python2.7/site-
packages/twisted/application/service.py", line 283, in startService
service.startService()
File "/home/human/foolscap/src/foolscap/pb.py", line 53, in startService
d = self._ep.listen(self)
File "/home/human/virtenv-tahoe/local/lib/python2.7/site-
packages/twisted/internet/endpoints.py", line 470, in listen
interface=self._interface)
--- <exception caught here> ---
File "/home/human/virtenv-tahoe/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 120, in execute
result = callable(*args, **kw)
File "/home/human/virtenv-tahoe/local/lib/python2.7/site-
packages/twisted/internet/posixbase.py", line 478, in listenTCP
p.startListening()
File "/home/human/virtenv-tahoe/local/lib/python2.7/site-
packages/twisted/internet/tcp.py", line 983, in startListening
raise CannotListenError(self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:3456:
[Errno 98] Address already in use.
2016-09-21T12:48:40+0000 [-] Listener starting on 44617
2016-09-21T12:48:40+0000 [foolscap.pb.Listener#info] Starting factory
<Listener at 0x7fd04ff73d90 on
<twisted.internet.endpoints.TCP4ServerEndpoint object at 0x7fd04ff73dd0>
with tub yi45keoq72z3ce3jrug2wxxwy4f6rc2l>
2016-09-21T12:48:40+0000 [-] Listener starting on 57245
2016-09-21T12:48:40+0000 [foolscap.pb.Listener#info] Starting factory
<Listener at 0x7fd04ff73ed0 on
<twisted.internet.endpoints.TCP4ServerEndpoint object at 0x7fd04ff73f10>
with tub u4ppdne5ehcwacdz3ccivfm3usotpxgj>
2016-09-21T12:48:40+0000 [-] client running
}}}
i've posted a PR to fix the configuration docs here:
https://github.com/tahoe-lafs/tahoe-lafs/pull/352
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/867#comment:42>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list