Transit Relay server for Magic-Wormhole
273c4d796c
The default was "tcp:4001", which happens to expand into "tcp:4001:interface=127.0.0.1", which limits the listening socket to IPv4 connections only. Changing it to "tcp:4001:interface=\:\:1" means "listen on ::1", which is the IPv6 name for the loopback interface, and gets us a socket that accepts both IPv4 and IPv6 connections. Note: this might cause incompatibilities with IPv4-only hosts, if they don't accept the "::1" name. For these systems, run the server as `twist transitrelay --port=tcp:4001" to revert to the old behavior. closes #12 |
||
---|---|---|
docs | ||
misc | ||
src | ||
.appveyor.yml | ||
.coveragerc | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
MANIFEST.in | ||
NEWS.md | ||
README.md | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
versioneer.py |
magic-wormhole-transit-relay
Transit Relay server for Magic-Wormhole
This repository implements the Magic-Wormhole "Transit Relay", a server that helps clients establish bulk-data transit connections even when both are behind NAT boxes. Each side makes a TCP connection to this server and presents a handshake. Two connections with identical handshakes are glued together, allowing them to pretend they have a direct connection.
This server used to be included in the magic-wormhole repository, but was split out into a separate repo to aid deployment and development.
See docs/running.md for instructions to launch the server.