Commit Graph
2171 Commits
Author SHA1 Message Date
Evgeny 6cba046409 1 2026-04-15 16:30:11 +03:00
Evgeny cac786f684 1 2026-04-15 16:21:15 +03:00
Evgeny 356e091b7a 1 2026-04-15 16:20:14 +03:00
Evgeny d278041330 1 2026-04-15 16:19:05 +03:00
Evgeny 70deb254b6 1 2026-04-15 16:17:41 +03:00
Evgeny fdd4ec02f6 1 2026-04-15 16:10:12 +03:00
Evgeny 9ed88d2418 1 2026-04-15 15:59:00 +03:00
jeka d975696543 1 2026-04-15 15:29:26 +03:00
Evgeny 8bad15b7bb 1 2026-04-15 15:15:15 +03:00
Evgeny 1a171d5a24 1 2026-04-15 12:32:40 +03:00
Evgeny 122e619649 1 2026-04-15 10:13:38 +03:00
jeka c36462ce09 Merge branch 'master' of http://git.syqiq.tech/jeka/utun2 2026-04-15 09:00:29 +03:00
jeka c1d2d26cae 1 2026-04-15 09:00:12 +03:00
Evgeny cd5d6f6e86 1 2026-04-15 00:26:27 +03:00
Evgeny 09fa26bc2c 1 2026-04-15 00:04:23 +03:00
jeka c0c366bd83 mon fix 2026-04-14 23:40:14 +03:00
Evgeny 0a44320245 1 2026-04-14 22:28:25 +03:00
Evgeny 27874ffa22 1 2026-04-14 22:14:35 +03:00
Evgeny c93b84529e 1 2026-04-14 21:55:47 +03:00
Evgeny ad35bbab15 add sockets to gui 2026-04-14 21:50:32 +03:00
Evgeny cd63f5a1b3 add sockets to gui 2026-04-14 21:33:10 +03:00
Evgeny e8e20cad88 add sockets to gui 2026-04-14 21:27:22 +03:00
Evgeny 6de88ec85f add sockets to gui 2026-04-14 21:24:39 +03:00
Evgeny 62a059abdb add sockets to gui 2026-04-14 21:17:46 +03:00
Evgeny 54982f2dfb ping 2026-04-14 19:19:41 +03:00
Evgeny 7cdb84c7a2 Add NAT detection with burst ping, test timing, fix port conflicts
- route_ping.c: burst mode - send next ping immediately on response
- route_ping.h: add target_ipv4/target_port/pubkey to BGP_PING_REQUEST
- test_nat_detection.c: add test for ping without embedded pubkey
- test_etcp_simple_traffic.c: use dynamic ports + fix timebase units
- Makefile.am: show test execution time in ms
2026-04-14 14:25:36 +03:00
Evgeny 31eb4a5d26 Add NAT detection with STUN-like ping and integration test 2026-04-14 12:02:43 +03:00
Evgeny b613e3a8e0 serializer 2026-04-14 02:03:59 +03:00
Evgeny 5dc8ad6784 1 2026-04-13 23:56:19 +03:00
Evgeny 2903b82941 Add test_serialize to Makefile and include serialize in libuasync.a
- tests/Makefile.am: add test_serialize to check_PROGRAMS
- lib/Makefile.am: add serialize.c/h to libuasync_a_SOURCES
2026-04-13 23:50:32 +03:00
Evgeny dba092d88b Add serialize library for binary serialization with dynamic allocation
- serialize.h/c: universal binary serialization for structures with
  variable-length fields (ASCIIZ, ARRAY) using pointers
- Auto allocation via u_malloc during deserialization
- Support for header (arbitrary bytes at buffer start)
- serialize_encode(): serialize structure to buffer
- serialize_decode(): deserialize from buffer (without header)
- serialize_free(): free structure and all its pointers
- tests/test_serialize.c: unit tests
2026-04-13 23:08:54 +03:00
Evgeny 3b31821316 Add test_route_ping.c test file 2026-04-13 20:42:47 +03:00
Evgeny 09195b2f61 Add IPv6 support for sockets and connections
- Add get_node_v6_sockets() function in route_node
- Add local_defaultroute_ip6 field to ETCP_SOCKET
- Fix IPv6 address logging in bind, init, new connection
- Fix socket lookup for IPv6 in init_connections
- Fix route_ping_handle_req to support both v4 and v6 sockets
2026-04-13 20:40:16 +03:00
Evgeny ffbc0da86f add ping 2026-04-13 20:12:13 +03:00
Evgeny 389124d327 Fix test_bgp_route_exchange: correct IP byte order constants and platform_compat.h endian include 2026-04-13 14:05:32 +03:00
Evgeny 05323ded60 WIP: backup before debugging test_bgp_route_exchange 2026-04-13 13:55:21 +03:00
Evgeny 07306e378b backup: state before full initialization for ping test with real links 2026-04-13 02:09:53 +03:00
Evgeny 20ff5a9ed1 backup: state before adding unit test for etcp_send_ping 2026-04-12 19:50:28 +03:00
Evgeny 8794c24893 backup: state before adding ping response for unknown addresses and etcp_send_ping with callback 2026-04-12 19:37:30 +03:00
Evgeny aaa2a13849 add smart reload logs/config 2026-04-09 21:00:32 +03:00
Evgeny 9c612486b3 add smart reload logs/config 2026-04-09 20:35:59 +03:00
Evgeny 85367fbe36 backup: before Variant B selective socket/client/link reload impl 2026-04-09 20:35:59 +03:00
jeka 0dbefab922 1 2026-04-09 14:39:07 +03:00
jeka cec2ffe2eb 1 2026-04-09 14:29:21 +03:00
jeka 04d3a0e52e add inflight to gui 2026-04-09 12:51:55 +03:00
Evgeny 3e2bf2be4a 1 2026-04-09 12:02:08 +03:00
Evgeny 29e54195ed 1 2026-04-09 01:33:35 +03:00
Evgeny 5a36b0d30d 1 2026-04-09 00:55:53 +03:00
Evgeny 766fd71296 1 2026-04-09 00:55:34 +03:00
Evgeny 8a27c7ad80 1 2026-04-09 00:52:49 +03:00