Commit Graph
942 Commits
Author SHA1 Message Date
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
jeka c5f94e1327 add inflight to gui 2026-04-09 12:51:55 +03:00
Evgeny b485cd3133 1 2026-04-09 12:02:08 +03:00
Evgeny 4b3f6c0dce 1 2026-04-09 01:33:35 +03:00
Evgeny c652913c6b 1 2026-04-09 00:55:53 +03:00
Evgeny df6c48660c 1 2026-04-09 00:55:34 +03:00
Evgeny 7b3fd071bb 1 2026-04-09 00:52:49 +03:00
Evgeny d4dfde7522 1 2026-04-09 00:40:28 +03:00
Evgeny 74b7862701 1 2026-04-08 19:24:07 +03:00
Evgeny db7a6986db 1 2026-04-08 19:21:32 +03:00
Evgeny 9dc393fb4c 1 2026-04-08 19:05:45 +03:00
Evgeny 8f71a8c3b5 1 2026-04-08 15:35:05 +03:00
Evgeny dee62e7ad0 1 2026-04-08 02:19:36 +03:00
Evgeny 59ed38d8f9 1 2026-04-08 02:13:44 +03:00
Evgeny 7c1c663e9e 1 2026-04-07 18:54:52 +03:00
Evgeny 8e808ab948 win_upd 2026-04-07 14:06:12 +03:00
Evgeny 49b3d470e1 win_upd 2026-04-07 14:03:40 +03:00
Charlie Root 5a84c0e9e2 sliding_win 2026-04-07 10:42:13 +03:00
jeka a431cae1af 1 2026-04-07 01:36:56 +03:00
jeka 18fe9ae7f3 1 2026-04-07 01:21:54 +03:00
jeka 792128639d 1 2026-04-07 01:15:36 +03:00
jeka b333b0f810 1 2026-04-07 01:01:18 +03:00
jeka f54ed25028 1 2026-04-07 00:34:25 +03:00
jeka ba0602fae6 1 2026-04-07 00:30:26 +03:00
jeka 37db46f5b5 1 2026-04-07 00:17:50 +03:00
jeka 65d8133711 1 2026-04-06 21:35:46 +03:00
jeka fdf721d418 1 2026-04-06 21:21:44 +03:00
jeka f3def36dca 1 2026-04-06 21:18:58 +03:00
jeka e430d703d5 1 2026-04-06 21:05:42 +03:00
jeka a1f21a3518 Merge branch 'master' of http://git.syqiq.tech/jeka/utun2 2026-04-06 18:09:50 +03:00
jeka 6de9d1b7a7 1 2026-04-06 18:09:40 +03:00
Evgeny 6517a730db fix cpu consume at idle 2026-04-03 03:29:51 +03:00
Evgeny 45dccf2e87 Control: harden socket against malformed data and buffer overflows
- immediate close on bad size/type/payload
- recv_len guard to prevent overflow
- unknown commands now close without response
2026-04-02 20:27:08 +03:00
Evgeny 1580125c12 1 2026-03-31 18:10:10 +03:00