97 Commits

Author SHA1 Message Date
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
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