Transparent proxy to bridge between the internet and Yggdrasil network

Billy Barrow 71cabb44ea Add Spartan protocol support, fix issue where connections were not closing 1 rok temu
src 71cabb44ea Add Spartan protocol support, fix issue where connections were not closing 1 rok temu
.gitignore 42e6c41f0b Initial commit 1 rok temu
LICENSE 36a3310d27 Add forwarding modes, and XMPP support 1 rok temu
README.md 36a3310d27 Add forwarding modes, and XMPP support 1 rok temu
config 71cabb44ea Add Spartan protocol support, fix issue where connections were not closing 1 rok temu

README.md

Astrogate

Astrologue uses the Yggdrasil network as a backbone of some of its peer-to-peer infrastructre. Astrogate allows configuring gateways that can forward traffic from the clear internet onto the Yggdrasil network and vice-versa following a simple configuration.

Currently supports forwarding the following protocols:

  • HTTP unencrypted HyperText Transfer Protcol
  • TLS raw Transport layer security, when SNI is present
  • XMPP eXtensable Messaging and Presence Protocol
  • Astrogate Dial simple header that can be passed at the start of a stream to connect (or "dial" into) a hostname
  • HTTP-01 Well Known intercept and redirect HTTP requests for the /.well-known directiory used by LetsEncrypt

When a connection is made to the Astrogate server, it reads data from the client, and uses pattern matching to determine what protocol the client is likely talking. It uses this information to attempt to read out an intended hostname from the data and tunnels the connection to the configured host.