Commit Graph

  • 01dbd76834 1 Evgeny 2026-06-05 00:17:17 +0300
  • 6ee030ca7c 1 Evgeny 2026-06-04 23:07:34 +0300
  • 3ae4988353 1 Evgeny 2026-06-04 22:39:02 +0300
  • 57281a975e 1 Evgeny 2026-06-04 21:59:40 +0300
  • b953a6daf0 tcp_io: FIN/close через write_queue, отладка всех этапов закрытия Evgeny 2026-06-04 19:20:20 +0300
  • 612b6bf1bf tcp_io: add DEBUG_TRACE for POLLOUT/busy-loop diagnostics Evgeny 2026-06-04 16:37:07 +0300
  • 58e45e9232 proxy: implement CLOSE and FIN relay protocol Evgeny 2026-06-04 16:02:32 +0300
  • f8111f7f03 tcp_proxy_client: move PROXY FEED per-packet log from DEBUG to TRACE Evgeny 2026-06-04 12:26:27 +0300
  • 859290c202 etcp_router: move per-packet ETCP_SEND/ETCP_RECV/ACK_SEND/queued logs from DEBUG to TRACE Evgeny 2026-06-04 12:24:15 +0300
  • cfd885de7c tcp_proxy_server: move per-packet SOCK:RECV log from INFO to TRACE Evgeny 2026-06-04 12:20:10 +0300
  • 8d0c40195b tcp proxy/lwip: move per-packet traffic logs from INFO/ERROR to TRACE Evgeny 2026-06-04 12:13:50 +0300
  • e765d62e43 etcp_route_send: add force parameter to bypass send_q limit for control messages Evgeny 2026-06-04 12:01:55 +0300
  • c56ec0b0ed uasync: добавить отладку poll→fd/rev, timer→имя при разрешении событий Evgeny 2026-06-04 01:57:10 +0300
  • 4dfc0ce947 fix: correct INIT padding — include SC_NONCE_SIZE + SC_CRC32_SIZE in formula Evgeny 2026-06-04 01:31:39 +0300
  • b8da0db1ab debug: add final offset/to_add/data_len log before encrypt_send Evgeny 2026-06-04 01:17:32 +0300
  • 30acde7b18 debug: add ERROR-level logs for INIT padding calc (req+resp) Evgeny 2026-06-04 01:13:15 +0300
  • c0b6e5769e fix: correct INIT padding cap using defines instead of hardcoded 19 Evgeny 2026-06-04 00:57:19 +0300
  • 3c036ecc4c fix: restore conn_free cleanup — tcp_conn_destroy, timers, waiters were lost Evgeny 2026-06-04 00:44:51 +0300
  • cb764a1143 fix: INIT padding cap computed from actual link MTU, not hardcoded 1472 Evgeny 2026-06-04 00:33:29 +0300
  • 0c8de3db84 fix: double-free in tcp_proxy_server_conn_free via freed flag Evgeny 2026-06-04 00:13:28 +0300
  • 4ba790b921 fix: SIGSEGV in tcp_proxy_client_destroy — abort pcbs before lwip destroy Evgeny 2026-06-04 00:02:47 +0300
  • e0378ebf1d refactor: remove consumer_ack, isolate proxy from router internals Evgeny 2026-06-03 23:46:11 +0300
  • d784b2bfbe fix: use-after-free in tcp_conn_destroy + throttle consumer_ack Evgeny 2026-06-03 22:47:23 +0300
  • 0449a5fd9d test: 5 new router unit tests — RST, restart, sess_id Evgeny 2026-06-03 21:56:11 +0300
  • d0029178e7 feat: 1-byte flags in SVC_ROUTE_HDR — START, RST, 2-bit sess_id Evgeny 2026-06-03 21:20:05 +0300
  • ca7f6c0d01 feat: peer restart detection + etcp_router_conn_restart with service notification Evgeny 2026-06-03 20:45:42 +0300
  • 609be50b8f feat: ETCP trace logging — ETCP_SEND, ETCP_RECV, SEND_Q_DRAIN, SEND_Q_ACKED, CONSUMER_ACK, ACK_SEND Evgeny 2026-06-03 19:27:31 +0300
  • e4e5ed71f8 fix: etcp_router_consumer_ack — use router_ack_do_send instead of schedule Evgeny 2026-06-03 19:20:06 +0300
  • 4716641dff fix: initial consumer_ack in handle_connect + diag: send_q, BACKPRESSURE, ACK logs Evgeny 2026-06-03 19:07:06 +0300
  • bbf39c091d feat: send_q backpressure + ll_queue on_get callback + consumer_ack flow control Evgeny 2026-06-03 18:51:12 +0300
  • a0da29f1eb fix: simplify diag_timer_cb — use pool->free_count instead of allocations-reuse Evgeny 2026-06-03 17:58:08 +0300
  • dc2b394e7a feat: per-connection diagnostic timer in tcp_proxy_server Evgeny 2026-06-03 17:36:45 +0300
  • 04f6b3e040 refactor: remove tcp_conn_push_write, use direct queue put with chunking Evgeny 2026-06-03 16:38:09 +0300
  • 63f019530b feat: tcp_io library + uasync socket toggle + ll_queue empty_callback Evgeny 2026-06-03 16:24:46 +0300
  • 3533ec3122 fix: memory leaks in TCP proxy server/client Evgeny 2026-06-03 12:55:00 +0300
  • ac3fe79db8 etcp_router: consumer-driven ACK with interval throttle (10ms) Evgeny 2026-06-03 11:50:50 +0300
  • e7eb24537d fix: proxy ERROR handling — single CLOSE on error, no ERROR response cascade Evgeny 2026-06-03 10:36:55 +0300
  • 51d5790938 fix: remove tautological BBR_EXTRA_ACKED_GAIN checks Evgeny 2026-06-03 02:21:26 +0300
  • 2a259191b9 feat: queue_set_waiter_defer — immediate or call_soon callback mode Evgeny 2026-06-03 02:18:46 +0300
  • 331d43c6f7 fix: proxy ERROR loop, BBR test backpressure, O(1) u_free, test ordering Evgeny 2026-06-03 02:06:09 +0300
  • 7f5325ac24 etcp_router: fix inflight underflow by splitting rx_acked into tx_acked + last_sent_ack_seq Evgeny 2026-06-02 22:38:20 +0300
  • 3a2b427287 etcpmon: widen debug level labels by 30% and shift radio buttons right Evgeny 2026-06-02 22:16:37 +0300
  • 43baeb2306 etcpmon: fix autoradio button groups and add missing ETCPROUTE category Evgeny 2026-06-02 22:13:18 +0300
  • fceec1aea6 fix: move debug logs before async operations (queue_put, timer_set, resume) for meaningful log ordering Evgeny 2026-06-02 21:53:51 +0300
  • c5c4967b69 1 Evgeny 2026-06-02 21:19:07 +0300
  • 4556f327c2 1 Evgeny 2026-06-02 21:05:06 +0300
  • 226a5744b5 etcpmon: Debug Levels block moved to right column, global radio labels removed, columns narrowed Evgeny 2026-06-02 19:24:49 +0300
  • 1f4fe37fe5 proxy: rename + simplify + backpressure Evgeny 2026-06-02 18:02:37 +0300
  • e7a9163011 remote_proxy: гарантированная доставка CLOSE/ERROR обратно (exit→client) через retry-таймер Evgeny 2026-06-01 23:31:39 +0300
  • b43de4c1f0 tcp_proxy: гарантированная доставка CLOSE/ERROR через retry при сбое маршрута Evgeny 2026-06-01 23:26:15 +0300
  • 60800a7f35 tcp_proxy: не слать данные в lwip после закрытия TUN-стороны (tun_closed) Evgeny 2026-06-01 22:59:20 +0300
  • f43631a532 etcpmon: исправить синтаксис — orphaned код перенесён внутрь функции etcpmon_client_add_to_history Evgeny 2026-06-01 20:31:52 +0300
  • 6d661360b1 etcp: адаптивный keepalive — отдельная команда ETCP_KEEPALIVE с period_ms Evgeny 2026-06-01 20:15:06 +0300
  • b2e72db31b etcp: link_status = remote_keepalive && recv_keepalive (вместо только remote) Evgeny 2026-06-01 19:43:39 +0300
  • c5b4ec7a05 bbr: исправить бесконечную рекурсию в bbr_now — bbr_now(bbr) → get_time_tb() Evgeny 2026-06-01 18:28:02 +0300
  • 0adff0253d bbr: исправить отображение сырых BW-значений (bw_latest/bw_lo/bw_hi) с /125 на /2097 Evgeny 2026-06-01 18:13:07 +0300
  • 4f0baa37db bbr: исправить передачу потерь в BBR + пол для cwnd на уровне BBR_CWND_MIN_TARGET*mss Evgeny 2026-06-01 17:50:16 +0300
  • 6c79939db3 congestion: заменить AIMD на BBR v3 (per-link), добавить юнит-тесты BBR Evgeny 2026-06-01 12:58:31 +0300
  • a80ba30b06 test_etcp_router_unit: fix FAIL macro — bare return in non-void function congestion Evgeny 2026-06-01 10:39:33 +0300
  • ed6b4d1046 debug: выделить link keepalive в отдельную категорию KEEPALIVE (21), добавить DEBUG_DEBUG при приёме keepalive-пакета Evgeny 2026-06-01 10:03:14 +0300
  • 803387f2b4 router close_all_for_node: integrate with BGP remove_conn, fail fast on no route, stop PAUSE cycle Evgeny 2026-06-01 01:44:29 +0300
  • 53d3f26e87 etcp_router: CLOSE/RST signaling flags in seq, close notification to services Evgeny 2026-06-01 01:12:52 +0300
  • 21cfe2d381 etcp_router: remove legacy, auto-conn for all services, send_q inflight control, remove tcp_proxy internal seq Evgeny 2026-05-31 22:55:23 +0300
  • ac3cdd7739 etcp_router: simplified TCP — reorder recv_q, dedup, ACK timers, inflight control, per-(remote,svc) conn state Evgeny 2026-05-31 21:59:46 +0300
  • 0f0857c22a add non-blocking send with EAGAIN+retry timer, normalizer flow control on recv, remove client-side send_buf buffering Evgeny 2026-05-31 18:09:50 +0300
  • c4e80e6fd7 add traffic debug: PROXY RECV/SEND/FEED for full DATA path tracing on client Evgeny 2026-05-31 17:21:47 +0300
  • 9d4c5b00f4 fix: stop forwarding after CLOSE, send CLOSE for non-existent conn in proxy data handlers Evgeny 2026-05-31 16:54:36 +0300
  • f691c01b45 перевод комментариев tcp/udp/icmp proxy на русский Evgeny 2026-05-31 16:32:10 +0300
  • 9a5d8797af tun: socket pair in test_mode, remove ip_fd_mode from tcp_proxy, fix test_remote_proxy stream_id size Evgeny 2026-05-31 15:58:30 +0300
  • d1c9ef8377 ag Evgeny 2026-05-31 13:44:55 +0300
  • e5d11ef9c1 refactor tcp_proxy: remove local socket mode, simplify architecture Evgeny 2026-05-31 13:35:26 +0300
  • c3eccd7b35 add backpressure support: uip_retry_timer, feed drain at closing_tun/sent, send buffering with retry Evgeny 2026-05-31 03:31:03 +0300
  • 616986457f add DEBUG_ERROR in all silent proxy error paths: NULL checks, alloc fails, transport send fail, data drop Evgeny 2026-05-31 01:58:44 +0300
  • 10b9c93fcb add SOCK:EVENT unified diagnostics on exit: NEW/CONN/SEND/RECV/CLOSE/TIMER with fd, stream, total count Evgeny 2026-05-31 01:31:59 +0300
  • be791ee7b2 drain transport_to_uip at FIN to prevent data delivery after close (eliminates RST storm) Evgeny 2026-05-31 01:05:12 +0300
  • 01254406d8 fix tun_platform_write return value on FreeBSD: subtract 4-byte AF_INET header from writev result Evgeny 2026-05-31 00:53:19 +0300
  • c4b1436919 add TUN write hex dump diagnostic (ip_total, ver_ihl, proto, first 32 bytes hex) in traffic category Evgeny 2026-05-31 00:44:17 +0300
  • f708b1d095 add TUN write diagnostic: log tun_platform_write errors Evgeny 2026-05-31 00:31:47 +0300
  • deaeae747a remove feed block after CLOSE: feed must remain active for streaming and half_close after FIN Evgeny 2026-05-31 00:14:42 +0300
  • 4b7a1656fc final RST fix: tcp_recved before closing_tun, feed stop after CLOSE, free unsent before tcp_close, proxy_try_close helper Evgeny 2026-05-31 00:02:01 +0300
  • 40d35ee2a5 fix RST storm: stop proxy_feed after CLOSE sent + free unsent before tcp_close Evgeny 2026-05-30 23:38:42 +0300
  • 80e4e4fd5d fix RST on FIN: tcp_recved in proxy_recv_cb BEFORE closing_tun, guard proxy_err_cb with !closing_sent Evgeny 2026-05-30 23:24:37 +0300
  • 8de8b5bb41 fix RST storm: tcp_recved before tcp_close in proxy_poll_cb cleanup Evgeny 2026-05-30 23:06:28 +0300
  • 7c668b5d6c add lwIP state diagnostics: tcp_alloc cwnd/sndbuf, proxy_poll_cb cwnd/unsent/unacked, active_pcbs counter Evgeny 2026-05-30 22:40:31 +0300
  • ba03cab182 fix tcp_proxy connection lifecycle: closing_sent, destroy transport, shutdown+timer on exit Evgeny 2026-05-30 22:03:37 +0300
  • ca3215ab91 fix half_close: send CLOSE from proxy_poll_cb when no pending data, shutdown not close on exit Evgeny 2026-05-30 20:52:25 +0300
  • f9d5495993 fix tcp_proxy deadlock: send CLOSE on TUN FIN + full proxy diagnostics Evgeny 2026-05-30 20:40:52 +0300
  • 4e6d57e371 clear freed memory in u_free_impl to catch UAF earlier Evgeny 2026-05-30 20:03:33 +0300
  • a02c474b94 fix use-after-free in queue_entry_free/dgram_free ordering + add tcp_proxy stress test + proxy diagnostics logging Evgeny 2026-05-30 20:01:05 +0300
  • 2585ef6f29 set FreeBSD TUN remote address to 192.0.2.1 instead of same as local Evgeny 2026-05-30 13:13:08 +0300
  • 6521451493 disable BACKTRACE_ENABLED to fix lld linker error with backtrace symbols Evgeny 2026-05-30 02:17:46 +0300
  • 2144eea46f fix compiler warnings: C23 label+declaration, uint16_t overflow check Evgeny 2026-05-30 02:12:47 +0300
  • 7c71ef683c add lwIP TCP stack test with fixes: rcv_wnd tracking, FIN compensation, tmr_phase dual-counter, trace ring buffer, stats counters Evgeny 2026-05-30 01:39:34 +0300
  • 8994d7a834 update timeout_heap and u_async: O(1) cancel, heap cancel bubble-up fix, epoll callback safety, uasync_stop, socket_array u_realloc Evgeny 2026-05-29 01:11:37 +0300
  • 2d516bf16e fix route_bgp etcp_send leaks and etcp_socket_remove infinite loop on link->conn==NULL Evgeny 2026-05-14 03:52:13 +0300
  • 6c2aeb69a1 fix INIT bounds checks and eim_nat port uint16_t wrap Evgeny 2026-05-14 03:50:01 +0300
  • d6c6ca9eb3 fix route_bgp/route_ping: old paths queue leak, etcp_send fail leak, nat_check_arg leak on cancel Evgeny 2026-05-14 03:40:24 +0300
  • 5aa9bdbd64 fix pkt_normalizer: null deref on alloc fail, mtu underflow, unchecked pn_buf_renew in loop Evgeny 2026-05-14 03:38:21 +0300
  • 194c8398c1 fix ETCP: dgram leak on inflight pool exhaustion, cancel dangling timers on link close/new Evgeny 2026-05-14 03:35:26 +0300
  • 4d5afe5ae9 fix uasync: posted_tasks delivery on Linux, create cleanup leaks, atomic array expand Evgeny 2026-05-14 03:32:23 +0300