Sijie.Sun
0bf42c53cc
Feat/web (PatchSet 1) ( #436 )
...
* move rpc-build out of easytier dir and make it a independant project
* easytier core use launcher
* fix flags not print on launch
* allow launcher not fetch node info
* abstract out peer rpc impl
* fix arm gui ci. see https://github.com/actions/runner-images/pull/10807
* add easytier-web crate
* fix manual_connector test case
2024-10-19 18:10:02 +08:00
fanyang
70708b34cc
Fix app not displayed when click on the dock icon under macOS ( #424 )
2024-10-14 21:33:48 +08:00
Sijie.Sun
7ab8cad1af
allow use ipv4 address in any cidr ( #404 )
2024-10-10 10:28:48 +08:00
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
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
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
sijie.sun
2496cf51c3
fix connection loss when traffic is huge
2024-09-26 23:49:01 +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
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
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
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
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
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
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
b6fb7ac962
add two cmd line option ( #241 )
...
1. disable_p2p: only using specified peers to relay packets.
2. relay_all_peer_rpc: allow relay route info for networks not in whitelist
2024-08-10 00:26:54 +08:00
sijie.sun
5e51784803
support unicode hostname
2024-08-04 11:07:24 +08:00
sijie.sun
0da09ec605
add network whitelist for public relay node
2024-08-03 15:39:04 +08:00
sijie.sun
4a0adaa3f8
fix listener stop accept after failure
2024-08-03 13:11:44 +08:00
Sijie.Sun
5451b52daa
allow set routes manually and disable propagated routes ( #191 )
2024-07-24 22:45:55 +08:00
Sijie.Sun
858ade2eee
Android Support ( #166 )
...
1. Add vpnservice tauri plugin for android.
2. add workflow for android.
3. Easytier Core support android, allow set tun fd.
2024-07-15 00:03:55 +08:00
yylt
0f39bfcefa
support change tun interface name ( #151 )
2024-07-03 15:41:12 +08:00
Sijie.Sun
34f832bbad
make tun dependency optional ( #142 )
...
* remove log crates
* remove udp/raw of smoltcp
* make tun as optional dependancy, compile for freebsd works
2024-06-11 09:09:32 +08:00
Sijie.Sun
8aa57ebc22
support no tun mode ( #141 )
2024-06-10 10:27:24 +08:00
Sijie.Sun
b43c078152
fix udp proxy not work when being exit node ( #133 )
2024-06-05 08:08:55 +08:00
Sijie.Sun
6e77e6b5e7
support start on reboot ( #132 )
...
* move launcher to eastier lib
* support auto start after reboot
2024-06-04 23:06:10 +08:00
Sijie.Sun
f1e9864d08
make release bin smaller ( #127 )
2024-06-02 09:15:40 +08:00
Sijie.Sun
abf9d23d52
improve hole punching and stun test ( #124 )
...
* implement new stun test algorithm, do test faster and provide more info
* support punching for symmetric
2024-06-02 07:20:57 +08:00
Sijie.Sun
f64f58e2ae
support exit node ( #121 )
...
support exit node, proxy all traffic via one of node
NOTE: this patch has not implemented automatically route management.
2024-05-18 20:32:42 +08:00
Sijie.Sun
6efbb5cb3d
minor fixed ( #120 )
...
1. fix mtu, always set by ourselves and use smaller value
2. wireguard connector should return tunnel after receive packet
2024-05-18 18:04:06 +08:00
m1m1sha
0ead308392
Feat/pseudo dhcp ( #109 )
...
* ✨ feat: pseudo dhcp
2024-05-17 23:16:56 +08:00
Sijie.Sun
bad6a5946a
fix run with config, update readme ( #118 )
2024-05-17 22:00:11 +08:00
m1m1sha
58d2ec475c
🐞 fix: cmd error with gbk ( #114 )
...
* 🐞 fix: cmd error with gbk
* 🎈 perf: try gbk only on windows
2024-05-15 20:50:11 +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
29365c39ed
use latency from peer center for route
2024-05-13 21:18:34 +08:00
sijie.sun
29d8d4ba87
correctly handle listener add fail
2024-05-11 23:29:55 +08:00
m1m1sha
30ccfab288
🐞 fix: hostname empty
2024-05-08 16:18:09 +08:00
m1m1sha
bde5b7f6ea
🎈 perf: get hostname
2024-05-08 16:06:11 +08:00
m1m1sha
0498b55d39
✨ feat: custom hostname
2024-05-08 14:47:22 +08:00
Sijie.Sun
8440eb842b
fix bugs and improve user experiance ( #86 )
...
* correctly set mtu, and allow set mtu manually
* communicate between enc and non-enc should not panic
* allow loading cfg from file
* allow change file log level dynamically
2024-05-07 00:38:05 +08:00
Sijie.Sun
e5b537267e
bug fix and improve ( #81 )
...
1. fix manual connector do not retry if dns resolve failed.
2. allow not creating tun device if no virtual ipv4 is assigned.
2024-05-05 16:18:05 +08:00
m1m1sha
638013a93d
🎈 perf: hidden cmd windows ( #79 )
...
* 🎈 perf: hidden cmd window, use CREATE_NO_WINDOW flag when exec shell cmd.
2024-05-05 15:33:05 +08:00
sijie.sun
873851e6d0
mips
2024-05-03 17:09:46 +08:00
sijie.sun
b3717d974b
ipv6 set v6 only when bind
2024-04-28 22:24:24 +08:00
sijie.sun
d8033a77b9
support use ipv6
2024-04-28 22:24:24 +08:00
Sijie.Sun
66b3241be7
fix handshake dead lock, clean old code ( #61 )
...
* fix handshake dead lock
* remove old code
2024-04-27 16:27:42 +08:00