- u_async.c: process immediate_queue BEFORE epoll_wait in uasync_poll - stcp_link.c: defensive NULL etcp_conn/etcp_link in stcp_link_close - utun_instance.c: move stcp_server_list_destroy_all to Phase J (before ETCP), add deferred drain in both Phase J and L - stcp.h/c: STCP_HS_ENC_CLIENT 6→38, STCP_HS_ENC_SERVER 7→39, exchange ed25519_pubkey in both handshake directions - etcp_connections.c: copy peer_ed25519 from STCP to ETCP_CONN in etcp_link_enter_ready_tcp; guard link->etcp in tcp_link_close_cb - chat_sync.c: fix lk->conn NULL dereference for TCP links - test_stcp.c: update stcp_server_create/stcp_client_connect callsites - tools/chat_tcp_test: change transport udp→tcp
30 lines
615 B
Plaintext
30 lines
615 B
Plaintext
[global]
|
|
my_node_id=0xAAAA000000000002
|
|
my_private_key=704f2e012c8fa8768130cb0f988a997dccb628372bc5ceccacc78dcbfec5916f
|
|
my_public_key=b3193173def895bd0fcea6f86af077c7d77216f10395275f627ac18242ec0f01
|
|
tun_ip=10.200.20.1/24
|
|
tun_ifname=tun_test_cli
|
|
debug_level=error
|
|
|
|
[server: s1]
|
|
addr=127.0.0.1:15002
|
|
type=public
|
|
|
|
[client: c1]
|
|
keepalive=1
|
|
link=s1:127.0.0.1:15001
|
|
peer_public_key=ce8871f07fa056c636d297115f231b08c29cdf94e0d440fce83a07c34416d36a
|
|
|
|
[tcp_proxy_client]
|
|
enabled=yes
|
|
tun_name=tun_test_proxy
|
|
tun_ip=10.200.30.1
|
|
via_node=0xAAAA000000000001
|
|
|
|
[debug]
|
|
connection=info
|
|
socket=info
|
|
general=info
|
|
traffic=info
|
|
tun=info
|