sijie.sun
568dca6f9c
fix memory leak
2025-03-06 11:07:05 +08:00
Sijie.Sun
66051967fe
fix self peer route info not exist when starting ( #595 )
2025-02-04 21:35:14 +08:00
Sijie.Sun
4aea0821dd
forward original peer info in ospf route ( #589 )
...
prost doesn't support unknown field, and these info may be lost when
they go through a old version node.
2025-01-27 20:38:22 +08:00
Sijie.Sun
2a5d5ea4df
make kcp proxy compitible with old version ( #585 )
...
* fix kcp not work with smoltcp
* check if dst kcp input is enabled
2025-01-26 16:22:10 +08:00
Sijie.Sun
1194ee1c2d
fix peer manager stuck when sending large peer rpc ( #572 )
2025-01-17 06:50:21 +08:00
Sijie.Sun
9d76b86f49
fix bugs ( #561 )
...
1. if peers disconnected before stop session, may crash at the assert.
2. bind_device flag should take effect on manual connector.
2025-01-12 00:16:38 +08:00
Sijie.Sun
4bb72b5606
fix rpc packet route before first route info exchange ( #516 )
...
* fix rpc packet route before first route info exchange
* fix install script
* update config server help
2024-12-19 09:25:25 +08:00
Sijie.Sun
15ad92aef2
fix no relay not work in local network ( #476 )
2024-11-16 14:36:17 +08:00
Sijie.Sun
d87a440c04
fix 202 bugs ( #418 )
...
* fix peer rpc stop working because of mpsc tunnel close unexpectedly
* fix gui:
1. allow set network prefix for virtual ipv4
2. fix android crash
3. fix subnet proxy cannot be set on android
2024-10-13 11:59:16 +08:00
Sijie.Sun
7ab8cad1af
allow use ipv4 address in any cidr ( #404 )
2024-10-10 10:28:48 +08:00
Sijie.Sun
2c017e0fc5
improve hole punch ( #403 )
...
* fix duplicated peer id (again)
* improve udp hole punch
1. always try cone punch for any nat type, tolerate fault stun type.
2. serializing all sym punch request, including server side.
2024-10-10 00:07:42 +08:00
Sijie.Sun
1be64223c8
ensure dst have session when we are initiator ( #398 )
...
* ensure dst have session when we are initiator
* bump version to 2.0.1
2024-10-08 21:05:46 +08:00
Sijie.Sun
37ceb77bf6
nat4-nat4 punch ( #388 )
...
this patch optimize the udp hole punch logic:
1. allow start punch hole before stun test complete.
2. add lock to symmetric punch, avoid conflict between concurrent hole punching task.
3. support punching hole for predictable nat4-nat4.
4. make backoff of retry reasonable
2024-10-06 22:49:18 +08:00
sijie.sun
984ed8f6cf
fix #367
...
introduce my peer route id and peer id is duplicated only when peer
route id is not same.
this problem occurs because update_self may increase my peer info
version and propagate to ther nodes.
2024-09-29 23:58:33 +08:00
sijie.sun
ff5ee8a05e
support forward foreign network packet between peers
2024-09-29 10:31:29 +08:00
sijie.sun
d1e2e1db2b
fix ospf foreign network info version
2024-09-23 13:42:25 +08:00
sijie.sun
783ba50c9e
add cli command for global foreign network info
2024-09-23 00:03:57 +08:00
sijie.sun
aca9a0e35b
use ospf route to propogate foreign network info
2024-09-22 22:12:18 +08:00
sijie.sun
bd60cfc2a0
add feature flag to ospf route
2024-09-21 20:54:19 +08:00
sijie.sun
82f5dfd569
show nodes version correctly
2024-09-18 23:15:08 +08:00
Sijie.Sun
1b03223537
use customized rpc implementation, remove Tarpc & Tonic ( #348 )
...
This patch removes Tarpc & Tonic GRPC and implements a customized rpc framework, which can be used by peer rpc and cli interface.
web config server can also use this rpc framework.
moreover, rewrite the public server logic, use ospf route to implement public server based networking. this make public server mesh possible.
2024-09-18 21:55:28 +08:00
m1m1sha
6ea3adcef8
✨ feat: show version & local node ( #318 )
...
* ✨ feat: version
Add display version information, incompatible with lower versions
* 🎈 perf: unknown
Unknown when there is no version number displayed
* ✨ feat: Display local nodes
Display local nodes, incompatible with lower versions
2024-09-11 15:58:13 +08:00
sijie.sun
d5bc15cf7a
fix session_task and session mismatch
2024-08-03 13:11:44 +08:00
Sijie.Sun
4fea3a60d6
update last_updated of peer info to local now ( #211 )
...
time between peers may not be synced, using peer last_updated time may cause peer info being cleared incorrectly
2024-08-02 00:48:31 +08:00
Sijie.Sun
4938e3ed2b
migrate to tauri2 ( #159 )
...
migrate gui to tauri2
2024-07-08 23:18:10 +08:00
Sijie.Sun
513e4cacc9
add more debug info for route ( #155 )
...
1. use info log for sync_route_info
2. allow dump route info with cli tool.
3. dump route info every 60s
2024-07-07 15:40:46 +08:00
Sijie.Sun
8aa57ebc22
support no tun mode ( #141 )
2024-06-10 10:27:24 +08:00
Sijie.Sun
f9e6264f31
fix upx and udp conn counter ( #131 )
...
* fix upx in workflow
* fix udp conn counter
2024-06-04 18:50:30 +08:00
Sijie.Sun
d5bf041834
some minor fix ( #113 )
...
1. fix ospf route panic if no ipv4 assigned.
2. should refetch global peer latency map every 60s
3. remove regex dep because it's too large and unnecessary.
2024-05-15 09:21:20 +08:00
sijie.sun
3e6b1ac384
use path with least cost if hop count is same
2024-05-13 21:18:52 +08:00
sijie.sun
29365c39ed
use latency from peer center for route
2024-05-13 21:18:34 +08:00
sijie.sun
09ebed157e
fix peer center for latency report
2024-05-13 20:30:25 +08:00
sijie.sun
72f86025bd
support custom cost calculate func when generating route table
2024-05-13 20:30:25 +08:00
m1m1sha
e6ad308cd5
↩ revert: 兼容性
2024-05-08 20:49:33 +08:00
m1m1sha
bde5b7f6ea
🎈 perf: get hostname
2024-05-08 16:06:11 +08:00
sijie.sun
873851e6d0
mips
2024-05-03 17:09:46 +08:00
Sijie.Sun
57c9f11371
adapt tun device to zerocopy ( #57 )
2024-04-25 23:25:37 +08:00
Sijie.Sun
3467890270
zero copy tunnel ( #55 )
...
make tunnel zero copy, for better performance. remove most of the locks in io path.
introduce quic tunnel
prepare for encryption
2024-04-24 23:12:46 +08:00
Sijie.Sun
4eb7efe5fc
use workspace, prepare for config server and gui ( #48 )
2024-04-04 10:33:53 +08:00