19 Commits (2d04bf941b792a01feed0308ae5445d89525649b)

Author SHA1 Message Date
evgeny 2d04bf941b etcp_router: вынести подпись/шифрование в route_crypto, одна функция отправки с флагами 4 weeks ago
evgeny 7817bb96aa etcp_router: START/RST handshake для переживания рестарта пира 4 weeks ago
evgeny 84015176b3 etcp_router: досылать потерянный ACK при дубле (рестарт среднего узла) 4 weeks ago
evgeny 5b8c725c01 etcp_router: round-robin send + контроль заполненности send_q через waiter на send_input_q 4 weeks ago
evgeny c049788c08 etcp_router: при no route выводить список узлов группы (<10) 4 weeks ago
evgeny ed2df9fe88 etcp_router: добавить кол-во узлов группы в лог no route 4 weeks ago
evgeny 01b61a457a etcp_router: fix ACK no-route — слать ACK через recv_conn 4 weeks ago
evgeny f47ad7d87f tcp_proxy: fix throughput (tx_queue backpressure) + connect timeout + integration test 4 weeks ago
evgeny e08956e5dc etcp_router: fix NULL conn в deliver при отсутствии пути к узлу 4 weeks ago
Evgeny bb0866b4c3 tcp_proxy: split svc_id into SERVER(0x04) and CLIENT(0x08), fix loopback conn=NULL 2 months ago
evgeny f2228202e3 fix: FORTIFY vsnprintf crash on Android + foreground service type 2 months ago
Evgeny a646b35b9a etcp_router: router_deliver INFO→TRACE (спам на каждый пакет) 2 months ago
evgeny b2e4aadbf0 e2e: AES-128-CCM encryption via BGP router (ROUTER_FLAG_ENCRYPTED), ECDH key per peer-pair from NODEINFO pubkeys, cache 8 entries 2 months ago
evgeny 38c9f229bc stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test 2 months ago
evgeny d773f1724a refactor: STCP connections as ETCP links (is_tcp) 2 months ago
evgeny d310bccf08 fix: memory pool alloc mismatch in tests, db_sync SEND_DATA buffer overflow 2 months ago
evgeny 064bed06f2 android: fix key regeneration, Clear DB, uasync eventfd, udp log from config 2 months ago
Evgeny 852ce401e7 Добавлен group_id в etcp_router и topo_group, удалён msg_transport 2 months ago
Evgeny fcf3fb7f51 refactor: move transport (etcp/stcp/normalizer) to transport_layer/, routing (bgp/pings/topo*) to routing_layer/ 2 months ago
Evgeny e708940bcd debug: upgrade router_deliver to DEBUG_INFO, show cb ptr 3 months ago
Evgeny d840b458a7 fix: pause router retransmits before clearing ETCP queues on reinit 3 months ago
Evgeny e3b32cf4d3 conn_mgr: fix all etcp_route_send calls (dgram was NULL) + improve error diagnostics 3 months ago
Evgeny 1f4749a1b9 Убрал имена функций из DEBUG-сообщений (__FUNCTION__ уже добавляет) 3 months ago
Evgeny 28e5950d29 TOPO_BGP -> TOPO_GROUP: multi-group support 3 months ago
Evgeny 3c3d9a65d9 refactor: переименование route_node/route_bgp в topo_node/topo_bgp 3 months ago
Evgeny c7ac42eb5f route_node: refactor NODEINFO — separate protocol/memory structs, linked lists with memory_pool 3 months ago
Evgeny 4914348557 etcp_router: транзитные очереди per (src,dst) с backpressure + унификация etcp_send 3 months ago
Evgeny 0b5a710fe6 etcp_connect + BGP_READY callbacks + router reconnect test 3 months ago
Evgeny f1f533a552 move CLOSE/RST flags from hdr->seq to hdr->flags 3 months ago
Evgeny 03490cfc00 refactor: extract etcp_router_recv_cb into 5 functions + fix send_q threshold 3 months ago
Evgeny 42d96f118d fix: swap queue_entry_free/queue_dgram_free order in 27 places — prevents UAF when dgram_free accesses freed entry 3 months ago
Evgeny b738b2ff1b etcp_router: add u_check guards at send_q/recv_q entry points to detect memory corruption 3 months ago
Evgeny cc5289e37c etcp_router: don't reset start_sent in reactive restart — prevents START-flag cascade on multi-hop restart detection 3 months ago
Evgeny 0c5f25c96d etcp_router: fix restart cascade — sync peer_sess_id on auto-create, remove sess_id increment on reactive restart 3 months ago
Evgeny b53758bdbe etcp_router: cancel timers in conn_restart, reset last_ack_sent_tb — fix use-after-free SIGSEGV 3 months ago
Evgeny f5b1c3e789 etcp_router: fix OOB drops after restart — add peer_sync_done to sync rx_seq with first incoming seq 3 months ago
Evgeny 7329fa65f1 etcp_router: add congestion counters, fix tx_seq rollback on etcp_send failure, add router metrics to etcpmon GUI 3 months ago
Evgeny a7b20f268f feat: conn_mgr, dummynet block-addr, indirect routing, alien nodes, nodeinfo refactor 3 months ago
Evgeny 6717c863e7 etcp_router: Ed25519 digital signature for service messages 3 months ago
Evgeny 859290c202 etcp_router: move per-packet ETCP_SEND/ETCP_RECV/ACK_SEND/queued logs from DEBUG to TRACE 4 months ago
Evgeny e765d62e43 etcp_route_send: add force parameter to bypass send_q limit for control messages 4 months ago
Evgeny e0378ebf1d refactor: remove consumer_ack, isolate proxy from router internals 4 months ago
Evgeny 0449a5fd9d test: 5 new router unit tests — RST, restart, sess_id 4 months ago
Evgeny d0029178e7 feat: 1-byte flags in SVC_ROUTE_HDR — START, RST, 2-bit sess_id 4 months ago
Evgeny ca7f6c0d01 feat: peer restart detection + etcp_router_conn_restart with service notification 4 months ago
Evgeny 609be50b8f feat: ETCP trace logging — ETCP_SEND, ETCP_RECV, SEND_Q_DRAIN, SEND_Q_ACKED, CONSUMER_ACK, ACK_SEND 4 months ago
Evgeny e4e5ed71f8 fix: etcp_router_consumer_ack — use router_ack_do_send instead of schedule 4 months ago
Evgeny bbf39c091d feat: send_q backpressure + ll_queue on_get callback + consumer_ack flow control 4 months ago
Evgeny ac3fe79db8 etcp_router: consumer-driven ACK with interval throttle (10ms) 4 months ago
Evgeny 7f5325ac24 etcp_router: fix inflight underflow by splitting rx_acked into tx_acked + last_sent_ack_seq 4 months ago