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

+2
View File
@@ -18,6 +18,7 @@ extern "C" {
#include "../lib/sqlite3.h"
#include "secure_channel.h"
#include "etcp_padding.h"
#include "reality_io.h"
#include "etcp_api.h"
#include "config_parser.h"
#include "stcp_link.h"
@@ -119,6 +120,7 @@ struct peer_sleep_cbk_entry {
// Состояние одного узла. Вложенные модули освобождаются через их lifecycle API.
struct UTUN_INSTANCE {
struct reality_owner reality_owner;
uint8_t core_started, utun_started, chat_started; // успешный запуск ядра / UTUN / чата
// Identification