You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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)
|
5 months ago |
| .. |
|
Makefile.am
|
Add getmyip module for reliable local IP detection
|
5 months ago |
|
debug_config.c
|
1
|
6 months ago |
|
debug_config.h
|
NAT: Full Cone (EIM) NAT with ETCP_ID_NAT protocol, per-node routing, and comprehensive test suite
|
5 months ago |
|
getmyip.c
|
Replace buggy get_default_route_ip() with get_outgoing_local_ip() for reliable local IP detection
|
5 months ago |
|
getmyip.h
|
Fix getmyip.h Windows build: use winsock2.h instead of sys/socket.h
|
5 months ago |
|
ll_queue.c
|
…
|
|
|
ll_queue.h
|
…
|
|
|
mem.c
|
Fix: use allocated_count from mem.c for busy memory calculation
|
5 months ago |
|
mem.h
|
Fix: use allocated_count from mem.c for busy memory calculation
|
5 months ago |
|
memory_pool.c
|
Fix: use allocated_count from mem.c for busy memory calculation
|
5 months ago |
|
memory_pool.h
|
Fix: use allocated_count from mem.c for busy memory calculation
|
5 months ago |
|
platform_compat.c
|
Replace buggy get_default_route_ip() with get_outgoing_local_ip() for reliable local IP detection
|
5 months ago |
|
platform_compat.h
|
Add htobe32/be32toh macros for Windows build
|
5 months ago |
|
serialize.c
|
…
|
|
|
serialize.h
|
…
|
|
|
sha256.c
|
…
|
|
|
sha256.h
|
…
|
|
|
socket_compat.c
|
1
|
6 months ago |
|
socket_compat.h
|
1
|
6 months ago |
|
swm_min.c
|
…
|
|
|
swm_min.h
|
…
|
|
|
timeout_heap.c
|
GUI: add active timeouts and busy memory blocks counters
|
5 months ago |
|
timeout_heap.h
|
GUI: add active timeouts and busy memory blocks counters
|
5 months ago |
|
u_async.c
|
Add name parameter to uasync_set_timeout for timer identification in dumps
|
5 months ago |
|
u_async.h
|
Add name parameter to uasync_set_timeout for timer identification in dumps
|
5 months ago |
|
wintun.dll
|
…
|
|
|
wintun.h
|
…
|
|