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
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
Xiao Tan
d135dd5a6f
Revise the description of relay_network_whitelist ( #235 )
2024-08-09 23:52:05 +08:00
WillisXue
7cae63cb17
fix win tun name, clean up custom tun name ( #234 )
2024-08-08 23:03:41 +08:00
Sijie.Sun
232165eff3
fix bugs ( #236 )
2024-08-08 22:03:22 +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
5e51784803
support unicode hostname
2024-08-04 11:07:24 +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
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
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
7a2bc52ae0
fix network to network without masquerade ( #207 )
2024-08-01 01:27:23 +08:00
RiceCake
debc165326
delete bloated registry items ( #200 )
...
* delete bloated registry items
---------
Co-authored-by: 荣耀的捍卫者 <1250839773@qq.com >
2024-07-30 00:01:20 +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
Sijie.Sun
4938e3ed2b
migrate to tauri2 ( #159 )
...
migrate gui to tauri2
2024-07-08 23:18:10 +08:00
Sijie.Sun
537f6ecf78
fix smoltcp tcp proxy ( #157 )
...
1. allow smoltcp proxy with dhcp ip
2. fix smoltcp not work without no tun.
2024-07-07 22:08:50 +08:00
Sijie.Sun
24143cbf1c
add verbose cli mode; add list foreign network ( #156 )
2024-07-07 16:51:20 +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
7cfa850d4c
GUI: support change log level when running ( #153 )
2024-07-06 17:18:13 +08:00
Sijie.Sun
571d4a6e8f
fix bug in dhcp ( #152 )
...
1. fix dhcp not retry if tun device init failed.
2. forbid dhcp use default ip when no peer.
2024-07-06 14:22:11 +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
fede35cca4
correctly handle ip fragment for udp/icmp proxy ( #137 )
...
icmp/udp proxy do not rely on kernel net stack, but currently not handle ip fragmentation correctly.
this patch add ip resembler to merge fragmented ip packet for udp/icmp proxy
2024-06-09 22:59:50 +08:00
sijie.sun
b2100b78d3
fix boringtun version
2024-06-05 21:42:40 +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
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
df17a7bb68
bugfix before release 11x ( #130 )
...
* use correct i18n hook
* fix peer rpc panic
make sure server use correct transact id
* fix dhcp
recreate tun device after ip changed
* use upx correctly
* compile arm & armv7
* prepare to release v1.1.0
2024-06-03 23:07:44 +08:00
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