Evgeny
907ef244c6
NAT: Full Cone (EIM) NAT with ETCP_ID_NAT protocol, per-node routing, and comprehensive test suite
- New ETCP protocol ETCP_ID_NAT (0x02) for NAT traffic between nodes
- eim_nat.c/h: Pure NAT engine (table, port allocation, checksum updates, egress/ingress)
- nat_transport.c/h: Transport layer (NAT TUN, ETCP binding, client/provider roles)
- route_bgp_find_conn_for_node(): shared utility for optimal connection lookup
- tun_init_nat(): dedicated TUN creation for NAT
- Config: [nat] section with tun_ip, port_start/end, nat_via, forward rules
- Fix: csum_update_ip/transport use htonl() halves (correct on LE systems)
- Fix: IP_FRAG_MF_MASK changed to 0x2000 (after ntohs, MF is bit 13)
- Tests: 26 engine unit + 4 transport integration + 7 stress (29 total)
2026-04-25 00:43:25 +03:00
..
2026-02-05 01:54:36 +03:00
2026-04-21 19:06:45 +03:00
2026-01-25 10:47:02 +03:00
2026-04-21 19:06:45 +03:00
2026-02-15 13:25:05 +03:00
2026-03-28 21:52:46 +03:00
2026-01-21 18:18:32 +03:00
2026-04-21 19:06:45 +03:00
2026-01-25 10:47:02 +03:00
2026-04-25 00:43:25 +03:00
2026-01-21 18:18:32 +03:00
2026-01-28 19:56:38 +03:00
2026-02-15 13:25:05 +03:00
2026-04-24 00:16:30 +03:00
2026-03-25 22:49:57 +03:00
2026-01-26 18:14:04 +03:00
2026-02-02 10:57:36 +03:00
2026-04-21 19:06:45 +03:00
2026-01-26 18:14:04 +03:00
2026-04-24 00:16:30 +03:00
2026-04-24 00:16:30 +03:00
2026-01-26 18:14:04 +03:00
2026-04-21 19:06:45 +03:00
2026-03-06 01:36:57 +03:00
2026-01-26 17:52:50 +03:00
2026-04-24 00:16:30 +03:00
2026-04-24 14:48:29 +03:00
2026-04-24 00:16:30 +03:00
2026-03-28 21:52:46 +03:00
2026-03-28 21:52:46 +03:00
2026-03-28 21:52:46 +03:00
2026-03-28 21:52:46 +03:00
2026-04-24 00:16:30 +03:00
2026-04-25 00:43:25 +03:00
2026-04-25 00:43:25 +03:00
2026-04-25 00:43:25 +03:00
2026-03-06 01:36:57 +03:00
2026-01-26 18:25:48 +03:00
2026-04-24 00:16:30 +03:00
2026-04-21 19:06:45 +03:00
2026-03-31 13:37:49 +03:00
2026-04-24 00:16:30 +03:00
2026-04-21 19:06:45 +03:00
2026-04-14 02:03:59 +03:00
2026-01-21 18:18:32 +03:00
2026-04-21 19:06:45 +03:00
2026-03-08 17:19:38 +03:00
2026-04-21 19:06:45 +03:00
2026-02-15 04:24:46 +03:00
2026-04-21 19:06:45 +03:00
2026-01-28 19:56:38 +03:00
2026-01-26 17:52:50 +03:00