Commit Graph
2404 Commits
Author SHA1 Message Date
jeka 8b16559230 1 2026-04-07 00:17:50 +03:00
jeka e9ff5fcfdb 1 2026-04-06 21:35:46 +03:00
jeka b88dcf4a2c 1 2026-04-06 21:21:44 +03:00
jeka e82a95d529 1 2026-04-06 21:18:58 +03:00
jeka c3bfa7a8c9 1 2026-04-06 21:05:42 +03:00
jeka f1b6d90d71 Merge branch 'master' of http://git.syqiq.tech/jeka/utun2 2026-04-06 18:09:50 +03:00
jeka 7f0f28fd58 1 2026-04-06 18:09:40 +03:00
Evgeny 189a93c71d fix cpu consume at idle 2026-04-03 03:29:51 +03:00
Evgeny fd815150f6 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 c8bac5d322 1 2026-03-31 18:10:10 +03:00
Evgeny d733bcbf4d 1 2026-03-31 16:24:50 +03:00
Evgeny feb8024506 1 2026-03-31 13:37:49 +03:00
Evgeny c76646a39a 1 2026-03-31 13:15:51 +03:00
Evgeny 07e4f6f086 withdraw send fix 2026-03-31 03:51:15 +03:00
Evgeny 5050f9a8aa remove node after link down 2026-03-31 03:37:33 +03:00
Evgeny e47593cd77 1 2026-03-31 02:48:25 +03:00
Evgeny 5184181695 1 2026-03-30 23:38:56 +03:00
Evgeny b9f8930d1c 1 2026-03-30 23:13:53 +03:00
Evgeny 2d9fbd9911 1 2026-03-30 22:50:54 +03:00
Evgeny ceb94bee7a BGP: add table requesters to senders_list for broadcast propagation to further nodes 2026-03-30 22:49:06 +03:00
Evgeny 491f44e05e 1 2026-03-30 20:54:22 +03:00
Evgeny 2f97196ffd 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 9a9a4ccf3c 1 2026-03-30 20:21:15 +03:00
Evgeny 2260e068f0 1 2026-03-30 20:16:56 +03:00
Evgeny d3c4b5f6e7 1 2026-03-30 20:07:04 +03:00
Evgeny 7ee3193dde 1 2026-03-30 19:41:20 +03:00
Evgeny 9628686d63 1 2026-03-30 19:28:34 +03:00
Evgeny a2e4a4b208 Merge: add local routes using hop_count==0 2026-03-30 19:00:13 +03:00
Evgeny 6938bfcb6a Routing: add local routes to table via hop_count==0 detection 2026-03-30 19:00:08 +03:00
Evgeny 9f13cf5459 route redesign + tests 2026-03-30 18:26:56 +03:00
Evgeny be6058c642 backup: before plan 1 fix for route_lib test (non-overlapping subnets) 2026-03-30 18:25:47 +03:00
Evgeny 27618217cc 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 a93e34f85f 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 5c9e9ba144 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 097e1acc6d queue: add variable size hash
bgp: add to headers new node info
2026-03-28 21:52:46 +03:00
Evgeny 4143daaee4 add so_mark 2026-03-27 21:29:49 +03:00
jeka ac40591dc1 restrict keepalive by server 2026-03-27 19:25:31 +03:00
jeka 7ac3db1e52 tun freebsd close fix 2026-03-27 16:26:07 +03:00
Evgeny 1d2899f43b w 2026-03-27 16:24:54 +03:00
Charlie Root a3c570fb6b bsd build sh 2026-03-27 16:18:33 +03:00
Evgeny 8030161ea6 -warn 2026-03-27 15:14:07 +03:00
jeka 603cfd8c58 1 2026-03-26 23:44:39 +03:00
Evgeny 9517454ee6 firewall + random init pkt size 2026-03-26 22:42:22 +03:00
jeka 6f045a011c wintun bugfix 2026-03-26 03:08:25 +03:00
jeka 23482c5046 1 2026-03-26 02:40:08 +03:00
Evgeny 58c637ce1a add bgp request "send all" 2026-03-26 02:31:48 +03:00
Evgeny 61e26db877 1 2026-03-26 00:27:13 +03:00
Evgeny b10fd59b6d 1 2026-03-26 00:01:47 +03:00
Evgeny 14bf6328a6 1 2026-03-25 23:49:59 +03:00
Evgeny 46b62e2e77 1 2026-03-25 23:33:11 +03:00