112 Commits

Author SHA1 Message Date
Arnaud
e523c52aa4
Use interal destroyMappingFor 2026-06-17 22:35:28 +04:00
Arnaud
594d47fe23
Add more tests 2026-06-17 22:35:28 +04:00
Arnaud
b055aefb52
Improve testsi 2026-06-17 22:35:28 +04:00
Arnaud
43db403b84
Add warning 2026-06-17 22:35:27 +04:00
Arnaud
ec24e0ffdc
Cleanup 2026-06-17 22:35:27 +04:00
Arnaud
d33878e214
Simplify the address announcement 2026-06-17 22:35:27 +04:00
Arnaud
37c4ee5e87
Cleanup 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
1ec0651139
Retry port mapping on NotReachable 2026-06-17 22:35:26 +04:00
Arnaud
b7ee215c32
Fix duplicate addresses in libp2p 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
17155488a2
Simplify comment 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
aa28578ca7
Expose DHT addresses 2026-06-17 22:35:24 +04:00
Arnaud
10c406d9f0
Add comment 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
da1066c32a
Improve config error message for nat 2026-06-17 22:35:23 +04:00
Arnaud
6cfb255785
Re-raise cancelled error 2026-06-17 22:35:23 +04:00
Arnaud
5c8391d2f6
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
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