Sijie.Sun
c1b725e64e
websocket support bind addr ( #129 )
2024-06-02 21:48:16 +08:00
Sijie.Sun
360691276c
support win7 and reduce win mem usage ( #128 )
2024-06-02 14:07:21 +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
Sijie.Sun
7532a7c1b2
command line improvement ( #115 )
...
make -l easy to use:
-l wg wss
-l wg:12345
-l 12345
make -r use random port
2024-05-16 20:16:09 +08:00
Sijie.Sun
f665de9b18
allow peer rpc split packet, so tunnel mtu can be small ( #116 )
2024-05-16 08:18:35 +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
fc4e3782bd
tune command line args
2024-05-13 22:13:31 +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
sijie.sun
51aa23b635
add ttl for packet
2024-05-13 20:30:25 +08:00
m1m1sha
43e076ef18
🐞 fix: same tun name
2024-05-13 16:11:37 +08:00
sijie.sun
29d8d4ba87
correctly handle listener add fail
2024-05-11 23:29:55 +08:00
sijie.sun
1b1d76de99
introduce websocket tunnel
2024-05-11 23:29:55 +08:00
Sijie.Sun
72701c9eb3
start tcp proxy after tun device created ( #94 )
...
on win 10, tcp proxy listener created before tun device may not accept
conn from tun dev.
2024-05-10 21:40:50 +08:00
Sijie.Sun
b1153378c9
fix icmp proxy on MacOS ( #101 )
...
1. MacOS doesn't fill length field in ip header when recving from raw
socket
2. Fix udp & icmp subnet proxy not work when no p2p connection.
2024-05-10 21:40:29 +08:00
Yumin Wu
4da7f4ec20
fix AllowIps and Address fields for WireGuard client ( #99 )
...
- add Wireguard client cidr into AllowIps
- change subnet number to 32 in Address field
2024-05-09 22:01:55 +08:00
Sijie.Sun
7d3b8e42fe
move reconn task join into select! ( #88 )
...
if join_next stuck, may miss global event and cause panic
2024-05-09 18:51:58 +08:00
Yumin Wu
770ab4a01b
command friendly tips
2024-05-09 15:06:32 +08:00
Sijie.Sun
2d394acc47
Merge pull request #90 from m1m1sha/feat/custom-hostname
...
Feat/custom hostname
2024-05-08 21:44:01 +08:00
m1m1sha
e6ad308cd5
↩ revert: 兼容性
2024-05-08 20:49:33 +08:00
Yumin Wu
4ca840239a
wireguard client keepalive
2024-05-08 17:40:43 +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
m1m1sha
0af32526f7
🐞 fix: 修复nightly错误 ( https://github.com/KKRainbow/EasyTier/issues/74 ) ( #75 )
...
* 🐞 fix: 修复 1.80 nightly 编译错误错误
TODO: need fork boringtun and publish to crates.io before publishing easytier
issues: https://github.com/KKRainbow/EasyTier/issues/74
2024-05-05 11:46:10 +08:00
sijie.sun
873851e6d0
mips
2024-05-03 17:09:46 +08:00
Sijie.Sun
70dee329d1
fix crash bugs ( #64 )
2024-04-29 21:02:05 +08:00
Sijie.Sun
6595c2837e
fix win multi network ( #63 )
2024-04-28 23:21:58 +08:00
sijie.sun
577cef131b
fix wireguard deadlock
2024-04-28 22:24:24 +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
3a965efab2
allow tunnel listener alloc port after listen
2024-04-28 22:24:24 +08:00
sijie.sun
a3e85a1270
tunnel support 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
Sijie.Sun
fcc73159b3
support encryption ( #60 )
2024-04-27 13:44:59 +08:00
Sijie.Sun
69651ae3fd
Perf improve ( #59 )
...
* improve perf
* fix forward
2024-04-26 23:02:07 +08:00
Sijie.Sun
096af6aa45
fix tun device on mac ( #58 )
2024-04-26 21:19:47 +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