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
2aa686f7ad
use autostart plugin and hide window when autostart
2024-08-17 02:15:15 +08:00
sijie.sun
ce10bf5e60
update tauri to rc2
2024-08-17 02:15:15 +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
sijie.sun
51165c54f5
smoltcp listener should bind multiple times
...
if smoltcp bind only once on tcp socket, it can only accept exactly
one syn packet in one round. other syn packets will be dropped and
client will receive a RST packet.
2024-08-13 23:01:34 +08:00
sijie.sun
f14875aa3f
bump version to v1.2.2
2024-08-13 00:46:32 +08:00
sijie.sun
6391dceb62
udpate release.yml
2024-08-13 00:46:32 +08:00
sijie.sun
cca105e91d
add chinese help message
2024-08-08 08:05:42 +08:00
sijie.sun
3e52490d1b
update dep and bump version
2024-08-07 23:48:03 +08:00
sijie.sun
d1293276ce
use tun2
...
meh/rust-tun has bug on windows and may stuck on large traffic.
2024-08-07 15:58:23 +08:00
sijie.sun
4a5e426730
fix android route and peer conn disconn bug
...
1. android correctly add route
2. use mock nic ctx to consume packets
2024-08-06 22:19:30 +08:00
sijie.sun
fdc2755291
fix set dev name not work on windows
2024-08-05 11:47:43 +08:00
sijie.sun
b4fbcd8d80
use random ip from dns record instead of only first one
2024-08-04 23:42:33 +08:00
sijie.sun
2415cb211e
run on v7 need rustc < 1.78
2024-08-04 11:07:24 +08:00
sijie.sun
5e51784803
support unicode hostname
2024-08-04 11:07:24 +08:00
sijie.sun
71d41f0a70
introduce docker image updater
2024-08-04 00:28:34 +08:00
sijie.sun
78f2804bad
bump version to v1.2.0
2024-08-03 15:39:04 +08:00
sijie.sun
0da09ec605
add network whitelist for public relay node
2024-08-03 15:39:04 +08:00
sijie.sun
02b5b5f3c7
use better artifect name
2024-08-03 13:11:44 +08:00
sijie.sun
4a0adaa3f8
fix listener stop accept after failure
2024-08-03 13:11:44 +08:00
sijie.sun
d5bc15cf7a
fix session_task and session mismatch
2024-08-03 13:11:44 +08:00
sijie.sun
b2100b78d3
fix boringtun version
2024-06-05 21:42:40 +08:00
Sijie.Sun
4e9b07f83b
Merge pull request #108 from EasyTier/latency_first
2024-05-13 22:30:50 +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
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
0926820849
fix workflow status check for matrix build
2024-05-11 00:39:35 +08:00
sijie.sun
518b6e277a
networkList should not be empty after first start
2024-05-11 00:39:35 +08:00
sijie.sun
ab0404bf6e
rename job and artifect name for easytier-gui workflow
2024-05-10 20:40:49 +08:00
Sijie.Sun
68c077820f
Merge pull request #97 from wuyumin/yumin-dev
2024-05-09 18:26:34 +08:00
Sijie.Sun
e1e10b24e6
Merge pull request #92 from wuyumin/main
2024-05-08 21:07:56 +08:00
sijie.sun
873851e6d0
mips
2024-05-03 17:09:46 +08:00
sijie.sun
1be6db661e
bump version in Carto.toml to v1.0.0
2024-05-02 23:28:38 +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
05cabb2651
Support wireguard vpn portal ( #43 )
...
* support wireguard vpn portal
user can use wireguard client to access easytier network
* add vpn portal cli
* clean logs
* avoid ospf msg too large
2024-03-30 22:15:14 +08:00
Sijie.Sun
90110aa587
add wireguard tunnel ( #42 )
...
peers can connect with each other using wireguard protocol.
2024-03-28 10:01:25 +08:00
Sijie.Sun
ce889e990e
some minor bug fixs ( #41 )
...
* fix joinset leak;
* fix udp packet format
* fix trace log panic
* avoid waiting after listener accept
2024-03-24 22:21:47 +08:00
Sijie.Sun
0f6f553010
Readme ( #40 )
...
* update readme, add chinese readme version
2024-03-24 17:35:27 +08:00
sijie.sun
5273f4dcca
do not use workspace
2024-03-24 12:26:18 +08:00
sijie.sun
a093901ed3
replace stun_format with stun_codec
2024-03-24 12:26:18 +08:00
sijie.sun
ba455f2a82
update package description
2024-03-24 12:26:18 +08:00
sijie.sun
6c2a240966
allow foreign network forward nic data
2024-03-23 22:42:49 +08:00
sijie.sun
269146c9f8
fix ipv4 map use old peer_id, fix direct connector use ring
2024-03-23 18:01:28 +08:00
sijie.sun
9ed22eaf99
improve direct connector
2024-03-23 16:56:12 +08:00
sijie.sun
2cfc5a6ef6
better user interface
2024-03-23 15:56:46 +08:00
sijie.sun
a4af83e82d
fix peer rpc and ospf route
2024-03-21 23:46:51 +08:00
sijie.sun
ba1795a113
introduce a link-state route algo
2024-03-21 22:38:35 +08:00
sijie.sun
d70d085553
do some refactor
...
1. Route must impl PeerPacketFilter trait.
2. Use postcard lib to serial msg instead of bincode.
3. Fix cycle ref in peer_mgr & peer_rpc
2024-03-21 22:38:35 +08:00
Sijie.Sun
ecb385a82c
optimize packet def ( #31 )
2024-03-13 22:43:52 +08:00
Sijie.Sun
b0494687b5
simplify packet definition ( #30 )
2024-03-13 18:09:48 +08:00
Sijie.Sun
0053666dfb
use uint32 as peer id ( #29 )
2024-03-13 00:15:22 +08:00
Sijie.Sun
cb0df51319
fix ip & route cfg on windows ( #28 )
2024-03-09 00:24:16 +08:00
Sijie.Sun
5f30747f62
fix peer_remove & peer_add event handler ( #27 )
2024-03-06 23:52:56 +08:00
Sijie.Sun
278a4846f1
support ip broadcast ( #26 )
2024-03-06 23:09:15 +08:00
Sijie.Sun
d8d1c64df7
Introduce foreigner network ( #25 )
...
* support network identity for instance
* introduce foreign network
foreign network allow a node serving as one public node. other nodes can
connect to this node to discover peers and exchange route info.
2024-03-06 20:59:17 +08:00
Sijie.Sun
9261d0d32d
optimize bandwidth usage ( #24 )
...
1. stable stun test result
2. stable report peers result
3. do not send same packet to rip peer
2024-03-02 22:29:31 +08:00
Sijie.Sun
7918031d8b
add version to rip route, reduce bandwidth ( #23 )
...
reduce bandwidth usage on route propagation
2024-03-02 18:54:45 +08:00
Sijie.Sun
c6c505f9d7
support udp proxy gateway ( #22 )
2024-03-01 21:37:45 +08:00
Sijie.Sun
24178bcf6e
use peer center instance to gatter peers info ( #21 )
...
* use peer center instance to gatter peers info
2024-02-29 00:04:48 +08:00
Sijie.Sun
31af413b03
fix local time not work in musl ( #20 )
2024-02-27 21:47:08 +08:00
Sijie.Sun
e5b3fb09e6
fix peer rpc send response error ( #19 )
2024-02-26 21:04:33 +08:00
Sijie.Sun
756d498b90
Stun fix ( #18 )
...
* make easytier-core a lib
* add stun command to easytier cli
* fix stun test for musl
2024-02-08 23:44:51 +08:00
Sijie.Sun
7fc4aecdb9
Fix udp and win route ( #16 )
...
* robust udp tunnel
* fix windows route add
* use pnet to get index
* windows disable udp reset
2024-02-08 16:27:18 +08:00
Sijie.Sun
2c2e41be24
refactor route so we can add other router ( #15 )
2024-02-06 20:17:08 +08:00
Sijie.Sun
4f98dd097c
Update rust.yml ( #14 )
...
compile for aarch64
2024-02-06 16:19:42 +08:00
Sijie.Sun
7f8935a9d5
introduce peer center ( #13 )
...
peer_center is used to collect peer info into one peer node.
the center node is selected with the following rules:
1. has smallest peer id
2. TODO: has allow_to_be_center peer feature
peer center is not guaranteed to be stable and can be changed when peer enter
or leave. it's used to reduce the cost to exchange infos between peers.
2024-02-06 13:29:12 +08:00
Sijie.Sun
e3f2765fed
Update rust.yml ( #12 )
...
upload release files to aliyun oss
2024-02-03 01:43:33 +08:00
Sijie.Sun
6f8ca8bbb2
Update cargo config ( #11 )
...
static link to crt on windows
2024-02-03 00:20:05 +08:00
Sijie.Sun
aeb00fb42f
optimize latency window stats ( #10 )
2024-02-01 18:32:06 +08:00
Sijie.Sun
95a52a4b5c
bind socket to device on macos ( #9 )
...
bind socket to device on macos
2024-01-31 21:43:23 +08:00
Sijie.Sun
a0e59f5c56
Update rust.yml ( #8 )
...
fix artifacts upload.
2024-01-31 10:53:11 +08:00
Sijie.Sun
f92ff73a3c
Update rust.yml ( #7 )
...
* Update rust.yml
support multi platform build
2024-01-31 08:24:29 +08:00
Sijie.Sun
d4b0f49443
optimize cli output ( #6 )
2024-01-30 22:05:58 +08:00
Sijie.Sun
003520f2b4
fix elastic pingpong ( #5 )
...
fix elastic pingpong not started after peer conn established
2024-01-30 12:58:15 +08:00
Sijie.Sun
118954c745
elastic ping pong to adapt env with packet loss ( #4 )
...
* elastic ping pong to adapt env with packet loss
2024-01-29 23:21:13 +08:00
Sijie.Sun
6271f9a7a7
GitHub actions ( #3 )
...
support github actions
2024-01-28 15:56:42 +08:00
sijie.sun
9779923b87
Initial Version
2024-01-27 15:12:30 +08:00