Protect REALITY STCP traffic with authenticated TLS-like records

This commit is contained in:
evgeny committed 2026-10-07 12:30:45 +02:00
1 parent a49cf5434e
commit a069d11ef9
33 files changed
+1786 -421

No files matched your search

+1 -1
View File
@@ -468,7 +468,7 @@ void utun_instance_destroy(struct UTUN_INSTANCE *instance) {
/* Phase J: TCP connections + sockets — MUST be before ETCP connections */
stcp_server_list_destroy_all(instance);
reality_relay_shutdown(); /* активные reality-релеи откладывают u_free через call_soon */
reality_owner_cleanup(&instance->reality_owner); /* активные reality-релеи откладывают u_free через call_soon */
if (instance->tcp_connections) {
struct ll_entry* entry = instance->tcp_connections->head;
int tc = 0;