4 stable releases

2.1.0 May 9, 2021
2.0.0 Apr 18, 2021
1.2.1 Mar 21, 2021

#47 in #serve

AGPL-3.0

620KB
2.5K SLoC

PTTH Server

The PTTH server is an HTTP server that can serve files from behind a firewall, because it only makes outgoing HTTP connections to a PTTH relay.

View from outside the PTTH tunnel:

* HTTP client
|
|   HTTP(S) requests
V
* ptth_relay
^
|   HTTP(S) requests
|
* ptth_server

View from inside the PTTH tunnel:

* HTTP client
|
|   HTTP(S) requests
V
* ptth_relay
|
|   HTTP(S) requests
V
* ptth_server

lib.rs:

PTTH Server

The PTTH server is an HTTP server that can serve files from behind a firewall, because it only makes outgoing HTTP connections to a PTTH relay.

View from outside the PTTH tunnel:

* HTTP client
|
|   HTTP(S) requests
V
* ptth_relay
^
|   HTTP(S) requests
|
* ptth_server

View from inside the PTTH tunnel:

* HTTP client
|
|   HTTP(S) requests
V
* ptth_relay
|
|   HTTP(S) requests
V
* ptth_server

Dependencies

~25–42MB
~714K SLoC