The transport layer

What transport layer does SAFE use? TCP?

QUIC is built on top of UDP but encrypts all the packets. It might be more private and secure, and with the rise of HTTP/3 the traffic would be ubiquitous and hard to detect:

Plus hole-punching would be easier

Oh yeah, and QUIC can multiplex many streams across a single connection, reducing even more detadata about what is being sent

4 Likes

It uses QUIC via libp2p and once the latter implements AutoNATv2 then hole punching with QUIC comes free.

For now though hole punching is disabled so that it can use QUIC, but port forwarding is needed until AutoNATv2 has been implemented in libp2p.

11 Likes