63 Commits

Author SHA1 Message Date
Arnaud
5f96fed3e3
Add more config checks 2026-06-17 22:35:29 +04:00
Arnaud
540d8440dc
Cleanup 2026-06-17 22:35:28 +04:00
Arnaud
594d47fe23
Add more tests 2026-06-17 22:35:28 +04:00
Arnaud
d33878e214
Simplify the address announcement 2026-06-17 22:35:27 +04:00
Arnaud
fdf5396e60
Add custom address mapper to remap the port mapping by UPnP / PCP 2026-06-17 22:35:26 +04:00
Arnaud
06bd7842c1
Apply libp2p update 2026-06-17 22:35:25 +04:00
Arnaud
20e820f07b
Cleanup 2026-06-17 22:35:25 +04:00
Arnaud
37fd43221f
Refactor tests 2026-06-17 22:35:25 +04:00
Arnaud
b33031cdef
Update libp2p to introduce enableDialableCandidates 2026-06-17 22:35:25 +04:00
Arnaud
cd4e4aa6f7
Add address policy filter 2026-06-17 22:35:24 +04:00
Arnaud
37ba19221a
Cleanup 2026-06-17 22:35:24 +04:00
Arnaud
9a7554dbe9
Use compilation flag to exclude nat simulation on release 2026-06-17 22:35:24 +04:00
Arnaud
a46d7b18b3
Add config validation 2026-06-17 22:35:23 +04:00
Arnaud
7ac6819b4e
Update comment 2026-06-17 22:35:23 +04:00
Arnaud
5b7ff05138
Connect boostrap nodes concurrently 2026-06-17 22:35:23 +04:00
Arnaud
6cfb255785
Re-raise cancelled error 2026-06-17 22:35:23 +04:00
Arnaud
5b37ee9210
Store bootstrapNodes to reuse them when during the start 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
48d81dcc0e
Announce address when peer info is updated 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
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
af21d3c432
Define custom AddressMapper 2026-06-17 22:35:21 +04:00
Arnaud
1193a2c29d
Add Identity mapper callback 2026-06-17 22:35:21 +04:00
Arnaud
893514d005
Use bootstrap nodes from preset 2026-06-17 22:35:20 +04:00
Arnaud
54d418ebc4
Add more checks during start 2026-06-17 22:35:19 +04:00
Arnaud
3362e1a343
Close peer event handler 2026-06-17 22:35:18 +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
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
3460a3b266
Small fixes 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
7838baa27d
Add relay config 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
7b8d526f4b
Add abstraction for reachable nodes 2026-06-17 22:35:11 +04:00