Transit Relay server for Magic-Wormhole
Go to file
Brian Warner 273c4d796c change default port= to listen on both IPv4+IPv6
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
2019-09-10 23:09:04 -07:00
docs docs/transit.md: remove client-specific text, update markdown format 2017-11-09 17:35:35 -08:00
misc munin: fix +x on wormhole_transit_events_alltime 2018-03-28 14:23:50 -07:00
src change default port= to listen on both IPv4+IPv6 2019-09-10 23:09:04 -07:00
.appveyor.yml travis/tox/appveyor: remove py3.3 and py3.4 2019-09-10 23:07:09 -07:00
.coveragerc move transit-relevant files out from magic-wormhole 2017-09-12 23:52:21 -07:00
.gitattributes move transit-relevant files out from magic-wormhole 2017-09-12 23:52:21 -07:00
.gitignore git-ignore twisted dropin.cache 2017-09-13 17:25:39 -07:00
.travis.yml travis/tox/appveyor: remove py3.3 and py3.4 2019-09-10 23:07:09 -07:00
LICENSE Initial commit 2017-09-12 23:35:46 -07:00
MANIFEST.in setup/MANIFEST: fix packaging issues 2017-11-12 15:55:09 -08:00
NEWS.md add news for 0.1.2 release 2018-03-19 22:37:28 -07:00
README.md README: add appveyor badge 2018-02-19 12:41:31 -08:00
setup.cfg move transit-relevant files out from magic-wormhole 2017-09-12 23:52:21 -07:00
setup.py setup/MANIFEST: fix packaging issues 2017-11-12 15:55:09 -08:00
tox.ini travis/tox/appveyor: remove py3.3 and py3.4 2019-09-10 23:07:09 -07:00
versioneer.py move transit-relevant files out from magic-wormhole 2017-09-12 23:52:21 -07:00

magic-wormhole-transit-relay

PyPI Build Status Windows Build Status codecov.io

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.