hardlight icon indicating copy to clipboard operation
hardlight copied to clipboard

Support unencrypted streams

Open Zk2u opened this issue 2 years ago • 0 comments

Sometimes, the client and server may already have an encrypted private connection. Double encrypting with TLS is not worth the performance loss in these cases. An example is when not using pure physical network links and instead using a VPN like WireGuard. In production, we use 6PN - an iPv6 WireGuard mesh network - between server instances.

In these cases, encryption is handled outside HardLight. We should support using regular, non-TLS connectors in both the client and the server not to slow this down.

Zk2u avatar May 03 '23 16:05 Zk2u