Commit Graph
431 Commits
Author SHA1 Message Date
Evgeny 4c3ca00aee Fix: traces and null checks in etcp_send to debug/prevent core dump; better routing logs with dst 2026-03-30 20:31:32 +03:00
Evgeny 8c7a9a200b 1 2026-03-30 20:21:15 +03:00
Evgeny e288305f65 1 2026-03-30 20:16:56 +03:00
Evgeny 0bbac590d6 1 2026-03-30 20:07:04 +03:00
Evgeny 9ba09cae96 1 2026-03-30 19:41:20 +03:00
Evgeny 66ebeeab0e 1 2026-03-30 19:28:34 +03:00
Evgeny 25b7587c89 Merge: add local routes using hop_count==0 2026-03-30 19:00:13 +03:00
Evgeny ad87ea60de Routing: add local routes to table via hop_count==0 detection 2026-03-30 19:00:08 +03:00
Evgeny b72d89da2d route redesign + tests 2026-03-30 18:26:56 +03:00
Evgeny 027ccb262b backup: before plan 1 fix for route_lib test (non-overlapping subnets) 2026-03-30 18:25:47 +03:00
Evgeny f32a7c200b fix: update tests for new NODEINFO routing API
- Added route_node.o to test linking
- Simplified test_route_lib to avoid old API calls
- Minor fixes to build system

Branch: feature/nodeinfo-routing
2026-03-29 20:55:40 +03:00
Evgeny 931b0febfb feat: transition to NODEINFO based routing system
- Replaced old BGP_ROUTE_PACKET with NODEINFO packets
- Added paths list to NODEINFO_Q for multi-path routing
- Implemented process_nodeinfo, process_withdraw, add/remove_path
- Updated routing.c to use v_node_info->paths
- Fixed type inconsistencies and includes across route_* files
- Hash size for nodes queue increased to 256
- Version increment logic in build_my_nodeinfo

Branch: feature/nodeinfo-routing
2026-03-29 20:50:47 +03:00
Evgeny 84465ed361 route: transition from BGP_ROUTE_PACKET to NODEINFO based routing
- Added paths list to NODEINFO_Q structure
- Updated route_bgp.c/h with NODEINFO packet handling
- Updated routing.c with new routing logic
- Updated route_lib.c/h with NODEINFO support
- Updated utun_instance.c for new routing changes
- Updated Makefile.am with new source files
2026-03-29 20:33:57 +03:00
Evgeny a3b7a385f0 queue: add variable size hash
bgp: add to headers new node info
2026-03-28 21:52:46 +03:00
Evgeny 1118af973a add so_mark 2026-03-27 21:29:49 +03:00
jeka 9ad8b71c13 restrict keepalive by server 2026-03-27 19:25:31 +03:00
jeka e3921e4233 tun freebsd close fix 2026-03-27 16:26:07 +03:00
Evgeny 54d4883a7f w 2026-03-27 16:24:54 +03:00
Charlie Root 351037bab9 bsd build sh 2026-03-27 16:18:33 +03:00
Evgeny 3ab63cadbb -warn 2026-03-27 15:14:07 +03:00
jeka 0c51ad6dec 1 2026-03-26 23:44:39 +03:00
Evgeny dbcd167a85 firewall + random init pkt size 2026-03-26 22:42:22 +03:00
jeka 42eef31a64 wintun bugfix 2026-03-26 03:08:25 +03:00
jeka 7dd98b3f92 1 2026-03-26 02:40:08 +03:00
Evgeny 531695d470 add bgp request "send all" 2026-03-26 02:31:48 +03:00
Evgeny be169b269f 1 2026-03-26 00:27:13 +03:00
Evgeny 8271ec3ecb 1 2026-03-26 00:01:47 +03:00
Evgeny 35cb85a537 1 2026-03-25 23:49:59 +03:00
Evgeny 67b4cd7cb1 1 2026-03-25 23:33:11 +03:00
Evgeny 085c609b36 test fix, log update 2026-03-25 22:49:57 +03:00
jeka ebf3b10379 1 2026-03-25 20:39:12 +03:00
jeka 5d467097f6 1 2026-03-25 20:35:45 +03:00
jeka 5f7dc2f808 1 2026-03-25 19:37:11 +03:00
jeka 461f214a85 Merge branch 'master' of http://git.syqiq.tech/jeka/utun2 2026-03-25 18:59:02 +03:00
jeka 8724ad067c 1 2026-03-25 18:55:25 +03:00
Evgeny 33b1918cb6 1 2026-03-25 18:47:51 +03:00
Evgeny e23f55f9b8 spam 2026-03-25 18:47:29 +03:00
jeka 9b29cb3c71 +ip change 2026-03-25 18:39:31 +03:00
jeka b88aa4b279 +link stats 2026-03-23 17:02:15 +03:00
Evgeny e17ef5f3eb add per-connection inflight limit 2026-03-23 16:48:12 +03:00
Evgeny c184d34b8f backup: before adding inflight bytes limit to loadbalancer 2026-03-23 14:28:32 +03:00
Evgeny 7a305b8757 fix: improve test_routing_mesh and fix duplicate init_connections in test_etcp_two_instances
- Refactored test_routing_mesh to use proper ETCP + normalizer flow
- Removed duplicate init_connections() calls that caused 'Address already in use'
- Improved error reporting in etcp_link_new()
- Test now respects single mainloop architecture
2026-03-23 01:56:17 +03:00
jeka 6f7e8cb5e6 add per-link inflight 2026-03-22 20:08:16 +03:00
jeka 054a79ffa6 1 2026-03-21 21:04:46 +03:00
jeka 2273925a93 1 2026-03-21 20:33:12 +03:00
jeka fa78066a16 drain ack_q 2026-03-21 19:25:09 +03:00
jeka eca7475a1b +bgp diagnostics 2026-03-21 18:50:16 +03:00
Evgeny 4bf513cf3d 1 2026-03-21 18:42:16 +03:00
jeka cf37f27e9f 1 2026-03-19 22:24:16 +03:00
jeka a3011b53be 1 2026-03-18 18:15:37 +03:00