Twisted-12.0.0 (released 10-Feb-2012) appears to contain enough support (in reactor.listenTCP
and reactor.connectTCP
) to enable client/server handling of v6 address literals. I *think* that's enough to let us:
- use v6 address literals in
Tub.listenOn
- connect to v6 address literals found in FURL connection hints
If we also extend Tub.setLocationAutomatically
to learn how to detect v6 addresses on local interfaces, then we could get numeric v6 addresses in automatically-generated connection hints.
What Twisted doesn't handle yet is DNS resolution, so we can't yet tolerate is folks modifying their FURL's connection hints to replace the numeric IPv6 address with a DNS name (that has an A6 or AAAA record).
The Tub.listenOn
and Listener
code may need some work: I don't know if the current use of internet.TCPServer
is v4-only or not.