81 Commits

Author SHA1 Message Date
Arnaud
f0a7e4b425
Update nim libplum and provide multiple fixes 2026-06-17 22:35:21 +04:00
Arnaud
6a555dc1a7
Update autonat api 2026-06-17 22:35:21 +04:00
Arnaud
d5c4461b31
Add comment 2026-06-17 22:35:21 +04:00
Arnaud
8548ecebf3
Fix openapi 2026-06-17 22:35:21 +04:00
Arnaud
af21d3c432
Define custom AddressMapper 2026-06-17 22:35:21 +04:00
Arnaud
00e6557052
Fix clientMode order and avoid retry port mapping after Not Reachable 2026-06-17 22:35:21 +04:00
Arnaud
1193a2c29d
Add Identity mapper callback 2026-06-17 22:35:21 +04:00
Arnaud
cd6ba705a6
Add preset none 2026-06-17 22:35:20 +04:00
Arnaud
893514d005
Use bootstrap nodes from preset 2026-06-17 22:35:20 +04:00
Arnaud
1c6ae98948
Improve handleNatStatus case when dial back is none 2026-06-17 22:35:20 +04:00
Arnaud
858fae7154
Add debug and docs for nat simulation 2026-06-17 22:35:19 +04:00
Arnaud
54d418ebc4
Add more checks during start 2026-06-17 22:35:19 +04:00
Arnaud
b7dcf87d3f
Update records and spr even if the mapping does not exist when dial back is none 2026-06-17 22:35:19 +04:00
Arnaud
15187dd935
Remove option usage for spr 2026-06-17 22:35:18 +04:00
Arnaud
da955907a5
Add debug log 2026-06-17 22:35:18 +04:00
Arnaud
3362e1a343
Close peer event handler 2026-06-17 22:35:18 +04:00
Arnaud
ede9bb1bfe
Add comment for double nat 2026-06-17 22:35:18 +04:00
Arnaud
f68dd0b037
Add comment for double nat 2026-06-17 22:35:18 +04:00
Arnaud
4457c4856d
Cleanup nat simulation 2026-06-17 22:35:18 +04:00
Arnaud
8d8f19c6ad
Cleanup 2026-06-17 22:35:18 +04:00
Arnaud
b89fa72840
Cleanup the nat simulation 2026-06-17 22:35:17 +04:00
Arnaud
bb64130614
Update dht records and spr when dial back is empty 2026-06-17 22:35:17 +04:00
Arnaud
bffa085dae
Close the mapping when the dial back is none. 2026-06-17 22:35:17 +04:00
Arnaud
4db7cb6469
Use local record as source of truth for the spr 2026-06-17 22:35:17 +04:00
Arnaud
03933c2b3a
Add hole punching 2026-06-17 22:35:17 +04:00
Arnaud
0ffee3d14f
Export port 2026-06-17 22:35:17 +04:00
Arnaud
71dc55c78d
Add double nat for simulation 2026-06-17 22:35:16 +04:00
Arnaud
f020de1387
Refactactoring 2026-06-17 22:35:16 +04:00
Arnaud
b274629d69
Add integration with libplum 2026-06-17 22:35:16 +04:00
Arnaud
084f3dfa04
Refactoring to make udp port explicit 2026-06-17 22:35:15 +04:00
Arnaud
641b9f0443
Add DHT client mode 2026-06-17 22:35:15 +04:00
Arnaud
e5b9b73bb8
Expose port mapping type 2026-06-17 22:35:14 +04:00
Arnaud
f015fe31a9
Remove echo 2026-06-17 22:35:14 +04:00
Arnaud
a53d93f703
Add auto relay in c binding 2026-06-17 22:35:14 +04:00
Arnaud
fac2113381
Add spr method to compute with UDP and TCP records 2026-06-17 22:35:14 +04:00
Arnaud
adf1b79930
Fix format 2026-06-17 22:35:13 +04:00
Arnaud
e8335c14eb
Integrate nat simulation and expose auto relayse service to api 2026-06-17 22:35:13 +04:00
Arnaud
b8dc03b4aa
Add nat simulation util 2026-06-17 22:35:13 +04:00
Arnaud
67155fa2a9
Add debug logs 2026-06-17 22:35:13 +04:00
Arnaud
6a99e218d7
Remove NatStrategy upnp and pmp 2026-06-17 22:35:12 +04:00
Arnaud
3460a3b266
Small fixes 2026-06-17 22:35:12 +04:00
Arnaud
bffd13c160
Use thread to set the nat ports 2026-06-17 22:35:12 +04:00
Arnaud
b0442d1d19
Refactor Upnp 2026-06-17 22:35:12 +04:00
Arnaud
4e9411390e
Add comment 2026-06-17 22:35:12 +04:00
Arnaud
d5b032ea75
Update address announcements update 2026-06-17 22:35:12 +04:00
Arnaud
affe4e2c00
Update imports 2026-06-17 22:35:12 +04:00
Arnaud
da91a720b8
use AutoNat dialback IP instead of router public IP 2026-06-17 22:35:11 +04:00
Arnaud
49fb1daf6d
Rename nat any to nat auto 2026-06-17 22:35:11 +04:00
Arnaud
006df11163
Remove nat none stategy 2026-06-17 22:35:11 +04:00
Arnaud
7838baa27d
Add relay config 2026-06-17 22:35:11 +04:00