Commit Graph
5375 Commits
Author SHA1 Message Date
Evgeny b46608d6ae 1 2026-04-15 20:57:09 +03:00
Evgeny 52461ca94c 1 2026-04-15 19:12:47 +03:00
jeka 73203972cb 1 2026-04-15 19:10:18 +03:00
Evgeny 67c7ca93fe 1 2026-04-15 17:40:42 +03:00
Evgeny eb6197bacb 1 2026-04-15 17:17:00 +03:00
Evgeny 173f2c33c7 1 2026-04-15 16:53:39 +03:00
Evgeny 5d8f8fba83 1 2026-04-15 16:30:11 +03:00
Evgeny 7c294b73a0 1 2026-04-15 16:21:15 +03:00
Evgeny 1f54a26308 1 2026-04-15 16:20:14 +03:00
Evgeny 0e305f374d 1 2026-04-15 16:19:05 +03:00
Evgeny 317084307f 1 2026-04-15 16:17:41 +03:00
Evgeny 0f52f6e413 1 2026-04-15 16:10:12 +03:00
Evgeny 2168b6ece2 1 2026-04-15 15:59:00 +03:00
jeka 8becc69215 1 2026-04-15 15:29:26 +03:00
Evgeny 099ba54ece 1 2026-04-15 15:15:15 +03:00
Evgeny e09cceb16d 1 2026-04-15 12:32:40 +03:00
Evgeny ed5e833fcb 1 2026-04-15 10:13:38 +03:00
jeka 995d004209 Merge branch 'master' of http://git.syqiq.tech/jeka/utun2 2026-04-15 09:00:29 +03:00
jeka d0db32badd 1 2026-04-15 09:00:12 +03:00
Evgeny f9ae9461a7 1 2026-04-15 00:26:27 +03:00
Evgeny f4e0d0e95d 1 2026-04-15 00:04:23 +03:00
jeka 88b1eb65e7 mon fix 2026-04-14 23:40:14 +03:00
Evgeny c167cfe442 1 2026-04-14 22:28:25 +03:00
Evgeny 626e49272e 1 2026-04-14 22:14:35 +03:00
Evgeny 45ecd173cd 1 2026-04-14 21:55:47 +03:00
Evgeny 68350dab73 add sockets to gui 2026-04-14 21:50:32 +03:00
Evgeny 3c786af4cd add sockets to gui 2026-04-14 21:33:10 +03:00
Evgeny 54ab7c8bd1 add sockets to gui 2026-04-14 21:27:22 +03:00
Evgeny cdca05c3f8 add sockets to gui 2026-04-14 21:24:39 +03:00
Evgeny fe51ffe6de add sockets to gui 2026-04-14 21:17:46 +03:00
Evgeny 4e49a214cb ping 2026-04-14 19:19:41 +03:00
Evgeny d9aab586ed 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 fe4704958e Add NAT detection with STUN-like ping and integration test 2026-04-14 12:02:43 +03:00
Evgeny 25198df326 serializer 2026-04-14 02:03:59 +03:00
Evgeny 33d1a1a9d3 1 2026-04-13 23:56:19 +03:00
Evgeny 7d9aff4ace 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 71061f1388 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 4a58b8e030 Add test_route_ping.c test file 2026-04-13 20:42:47 +03:00
Evgeny 678f22270c 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 3378dba8fc add ping 2026-04-13 20:12:13 +03:00
Evgeny 2594381c7c 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 9157903fa7 WIP: backup before debugging test_bgp_route_exchange 2026-04-13 13:55:21 +03:00
Evgeny 49e006b45d backup: state before full initialization for ping test with real links 2026-04-13 02:09:53 +03:00
Evgeny 03e59e90eb backup: state before adding unit test for etcp_send_ping 2026-04-12 19:50:28 +03:00
Evgeny 5291a71900 backup: state before adding ping response for unknown addresses and etcp_send_ping with callback 2026-04-12 19:37:30 +03:00
Evgeny 5d6589e24b add smart reload logs/config 2026-04-09 21:00:32 +03:00
Evgeny cd8e5e0c0e add smart reload logs/config 2026-04-09 20:35:59 +03:00
Evgeny 45c2107516 backup: before Variant B selective socket/client/link reload impl 2026-04-09 20:35:59 +03:00
jeka 5165c17d81 1 2026-04-09 14:39:07 +03:00
jeka 378ffc0925 1 2026-04-09 14:29:21 +03:00