Hs_Yeah
d9453589ac
Fix panic when DNS resolution for STUN server returns only IPv6 addrs. ( #402 )
2024-10-09 22:40:01 +08:00
Sijie.Sun
e344372616
fix cone-to-cone punch ( #401 )
2024-10-09 22:39:06 +08:00
Sijie.Sun
63821e56bc
fix udp buffer size, avoid packet loss ( #399 )
...
also bump version to 2.0.2
2024-10-08 22:01:15 +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
a08a8e7f4c
update gui dep to resolve mem leak ( #394 )
2024-10-08 09:21:47 +08:00
Sijie.Sun
1e836501a8
serialize all sym hole punch ( #390 )
2024-10-07 23:04:49 +08:00
Sijie.Sun
d4e59ffc40
fix listener may have no mapped addr ( #389 )
2024-10-07 12:15:20 +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
ba3da97ad4
fix ipv6 direct connector not work
2024-10-03 11:56:10 +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
c7895963e4
rollback some parameters
2024-09-29 23:17:46 +08:00
sijie.sun
d0a3a40a0f
fix bugs
...
add timeout for wss try_accept
public server should show stats
use default values for flags
bump version to 2.0.0
2024-09-29 17:49:14 +08:00
sijie.sun
ff5ee8a05e
support forward foreign network packet between peers
2024-09-29 10:31:29 +08:00
Hs_Yeah
a50bcf3087
Fix IP address display in the status page of GUI
...
Signed-off-by: Hs_Yeah <bYeahq@gmail.com >
2024-09-27 15:58:02 +08:00
sijie.sun
2496cf51c3
fix connection loss when traffic is huge
2024-09-26 23:49:01 +08:00
sijie.sun
7b4a01e7fb
fix ring buffer stuck when using multi thread runtime
2024-09-26 14:34:33 +08:00
Hs_Yeah
3f9a1d8f2e
Get dev_name from the global_ctx of each instance
2024-09-24 16:52:38 +08:00
Hs_Yeah
0b927bcc91
Add TUN device name setting support to easytier-gui
2024-09-24 16:52:38 +08:00
Hs_Yeah
92397bf7b6
Set Category of the TUN device's network profile to 1 in Windows Registry
2024-09-24 14:23:42 +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
06afd221d5
make ping more smart
2024-09-21 18:00:52 +08:00
sijie.sun
82f5dfd569
show nodes version correctly
2024-09-18 23:15:08 +08:00
sijie.sun
6d7edcd486
fix connect failed after setup one of sockets fails
2024-09-18 23:15:08 +08:00
Jiangqiu Shen
ac9cfa5040
making cli parse code more ergonomic by remove some copy and unwrap ( #347 )
...
1. remove some unessesary copy in cli parse code of string
2. make some member function into non-member function to avoid taking the self reference.
3. use if let Some(..) instead of if xxx.is_some() to avoid copy and unwrap
2024-09-18 21:57:12 +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
M2kar
9b28ecde8e
fix compile error due to rust version format ( #332 )
2024-09-14 11:40:46 +08:00
Sijie.Sun
096ed39d23
fix udp proxy disconn unexpectedly ( #321 )
2024-09-11 23:46:26 +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
m1m1sha
4342be29d7
Perf/front page ( #316 )
...
* 🐳 chore: dependencies
* 🐞 fix: minor style issues
fixed background white patches in dark mode
fixed the line height of the status label, which resulted in a bloated appearance
* 🌈 style: lint
* ✨ feat: about
2024-09-11 09:13:00 +08:00
Sijie.Sun
1609c97574
fix panic when wireguard tunnel encounter udp recv error ( #299 )
2024-09-02 09:37:34 +08:00
Sijie.Sun
f07b3ee9c6
fix punching task leak ( #298 )
...
the punching task creator doesn't check if the task is already
running, and may create many punching task to same peer node.
this patch also improve hole punching by checking hole punch packet
even if punch rpc is failed.
2024-08-31 14:37:34 +08:00
Sijie.Sun
2058dbc470
fix wg client hang after some time ( #297 )
...
wg portal doesn't know client disconnect causing msg overstocked in queue, make
entire peer packet process pipeline hang.
2024-08-31 12:44:12 +08:00
3RDNature
6964fb71fc
Add a setting "disable_udp_hole_punch" to disable UDP hole punch function ( #291 )
...
It can solve #289 tentative.
Co-authored-by: 3rdnature <root@natureblog.net >
2024-08-29 11:34:30 +08:00
Jiangqiu Shen
a8bb4ee7e5
Update Cargo.toml ( #290 )
...
fix compile error metioned in #286
2024-08-29 09:06:48 +08:00
Sijie.Sun
2b7ff0efc5
bump version to v1.2.3 and update readme ( #280 )
2024-08-25 13:45:18 +08:00
Sijie.Sun
5833541a6e
set correct route cost for peers relayed by public server ( #279 )
2024-08-25 12:27:00 +08:00
Sijie.Sun
54c6418f97
only add necessary conn to alive urls ( #277 )
...
too many alive conns may cause high cpu usage and lagged broadcast
recv.
2024-08-25 11:12:01 +08:00
Sijie.Sun
89b43684d8
add complete support for freebsd ( #275 )
...
add tun & websocket & wireguard support on freebsd
2024-08-25 00:44:45 +08:00
Sijie.Sun
833e7eca22
add command to show local node info ( #271 )
2024-08-23 11:50:11 +08:00
Sijie.Sun
b7d85ad2ff
update rust-i18n to v3.1.2 ( #269 )
2024-08-21 11:00:13 +08:00
Sijie.Sun
8793560e12
fix i18n, revert rust-i18n to v3.0.1 ( #267 )
2024-08-20 00:38:59 +08:00
sijie.sun
ad4cbbea6d
fix socks5 access local virtual ip
2024-08-17 23:52:05 +08:00
sijie.sun
db660ee3b1
add test for socks5 server
2024-08-17 21:39:19 +08:00
sijie.sun
ae54a872ce
support socks5 proxy
...
usage: --socks5 12345
create an socks5 server on port 12345, can be used by socks5 client to access
virtual network.
2024-08-17 13:17:38 +08:00
sijie.sun
ff6da9bbec
also setup panic handler on gui
...
this helps collect gui crash info.
2024-08-15 23:00:04 +08:00
sijie.sun
198c239399
set ipv6 mtu on windows
...
windows use different MTU for ipv4 / ipv6, we should set both.
2024-08-15 22:59:48 +08:00
sijie.sun
0fbbea963f
forward foreign peer event to unbounded channel
...
if some events loss, may cause inconsistent foreign peer info.
2024-08-15 08:03:50 +08:00