534 Commits

Author SHA1 Message Date
Arnaud
a46d7b18b3
Add config validation 2026-06-17 22:35:23 +04:00
Arnaud
d1a44ef997
Prevent libplum re-initialization after shutdown 2026-06-17 22:35:22 +04:00
Arnaud
a4196d6a5d
Include relay addresses in the SPR and refactoring 2026-06-17 22:35:22 +04:00
Arnaud
ccb80ac79b
Announce the mapped external UDP port instead of the discovery port 2026-06-17 22:35:22 +04:00
Arnaud
6e730658e6
Add a test to ensure that libp2p uses the observed address to dial 2026-06-17 22:35:22 +04:00
Arnaud
8530e5e718
Ensure that the addresses is announced when Reachable 2026-06-17 22:35:22 +04:00
Arnaud
f0a7e4b425
Update nim libplum and provide multiple fixes 2026-06-17 22:35:21 +04:00
Arnaud
1c6ae98948
Improve handleNatStatus case when dial back is none 2026-06-17 22:35:20 +04:00
Arnaud
7260cd6fe6
Simplify docker tests 2026-06-17 22:35:20 +04:00
Arnaud
690b086508
Add autonat server check for bootstrap nodes in tests 2026-06-17 22:35:20 +04:00
Arnaud
6a454490b1
Cleanup 2026-06-17 22:35:19 +04:00
Arnaud
e2f8220e8c
Add docs for docker setup 2026-06-17 22:35:19 +04:00
Arnaud
c2d00a9502
Add tests for nat filtering api 2026-06-17 22:35:19 +04:00
Arnaud
c95d48ee24
Define autonat interval 2026-06-17 22:35:19 +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
84761db205
Add discovery tests 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
283fea80a2
Provide better testing and add separate upnp and pcp test on miniupnpd 2026-06-17 22:35:16 +04:00
Arnaud
9c95ae7f05
Add dockerfile for nat testing 2026-06-17 22:35:16 +04:00
Arnaud
b04165e34d
Fix integration tests 2026-06-17 22:35:16 +04:00
Arnaud
b274629d69
Add integration with libplum 2026-06-17 22:35:16 +04:00
Arnaud
e907299a53
Format 2026-06-17 22:35:15 +04:00
Arnaud
aa0d9e812b
Update tests 2026-06-17 22:35:15 +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
48abbe20fa
Add integration test for UPNP to test on real router 2026-06-17 22:35:15 +04:00
Arnaud
e5b9b73bb8
Expose port mapping type 2026-06-17 22:35:14 +04:00
Arnaud
294899a391
Improve tests checking 2026-06-17 22:35:14 +04:00
Arnaud
3e982b4af3
Improve tests 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
0ce3139a82
Provide tests for nat 2026-06-17 22:35:13 +04:00
Arnaud
b8dc03b4aa
Add nat simulation util 2026-06-17 22:35:13 +04:00
Arnaud
deeb3f9ce5
Fix import order 2026-06-17 22:35:13 +04:00
Arnaud
ebce725c0b
Add remapAddr tests 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
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
50c708ade1
Add relay integration and tests 2026-06-17 22:35:11 +04:00
Arnaud
ac01e7cc2a
Introduce first tests for the async machine 2026-06-17 22:35:11 +04:00
Arnaud
e1742a2452
Add bootstrap nodes connect 2026-06-17 22:35:10 +04:00
Arnaud
ec9052ef46
Fix testnat import 2026-06-17 22:35:10 +04:00
Arnaud
ef19eb134d
Fix format 2026-06-17 22:35:09 +04:00