Commit Graph

632 Commits

Author SHA1 Message Date
xjasonlyu
9f7989a9d0 Fix: import missing 2022-03-31 14:06:56 +08:00
xjasonlyu
b5f61c0999 Fix(core): race cond when init 2022-03-31 00:04:12 +08:00
xjasonlyu
e6fc4adccd Feature(restapi): add netstats 2022-03-30 23:38:31 +08:00
xjasonlyu
abdbaa6b83 Refactor(engine): remove struct 2022-03-30 23:09:50 +08:00
xjasonlyu
cba7e19d22 Chore(restapi): minor adjustment 2022-03-30 17:56:18 +08:00
xjasonlyu
2aea811072 Chore: with engine 2022-03-29 19:42:44 +08:00
xjasonlyu
b166ed5e66 Refactor: stats -> restapi 2022-03-29 19:25:45 +08:00
xjasonlyu
e6911cb6fb Chore: remove config example 2022-03-29 18:45:38 +08:00
xjasonlyu
3999c5d66b Refactor(core): with error callback 2022-03-29 17:19:54 +08:00
xjasonlyu
0a9f7f123c Chore: use tcpip.Error 2022-03-29 16:18:52 +08:00
xjasonlyu
ba7a7ddc95 Chore(core/adapter): rename to TransportHandler 2022-03-29 15:26:00 +08:00
xjasonlyu
20fe2e4cd8 Chore: minor rename 2022-03-29 14:12:25 +08:00
xjasonlyu
201e79ac71 Fix: nil options panic 2022-03-29 13:39:18 +08:00
xjasonlyu
a4bedf6080 Refactor: new dialer impl 2022-03-29 13:39:18 +08:00
xjasonlyu
42d6c96b6b Fix: wrong wait logic 2022-03-29 13:39:18 +08:00
xjasonlyu
9d7dacbea1 Chore(core/device): tun constants 2022-03-29 13:39:18 +08:00
xjasonlyu
0e8b16f9a1 Fix: decrease packet reference (#106)
ref: f375784d83
2022-03-29 13:39:18 +08:00
xjasonlyu
c2af4c0c7c Fix: wait for device to close 2022-03-29 13:39:18 +08:00
xjasonlyu
ba0a4acbda Refactor: core.CreateStackWithOptions 2022-03-29 13:39:18 +08:00
xjasonlyu
898e648cb5 Chore: close stack when stop 2022-03-29 13:39:18 +08:00
xjasonlyu
620d5ac834 Chore: put log in engine 2022-03-29 13:39:18 +08:00
xjasonlyu
7df522a91f Revert: GOAMD64v1 as default (#104)
GOAMD64=v3 will not run on older x86 processors that don't support AVX2.
2022-03-29 13:39:18 +08:00
xjasonlyu
376a1eac2c Fix: early stopped engine (#105) 2022-03-29 13:39:18 +08:00
xjasonlyu
584c9c7805 Chore: explicit resolver 2022-03-29 13:39:18 +08:00
xjasonlyu
c6ca52326a Refactor: main.go 2022-03-29 13:39:18 +08:00
xjasonlyu
ae07fbdb68 Chore: delete common/automaxprocs 2022-03-29 13:39:18 +08:00
xjasonlyu
531125ee1f Chore: minor refactor 2022-03-29 13:39:18 +08:00
xjasonlyu
7ac97016fe Chore: move all to version 2022-03-29 13:39:18 +08:00
xjasonlyu
d3fc3abbb7 Migration: go 1.18 2022-03-29 13:38:50 +08:00
xjasonlyu
8bb8423e50 Chore: fix lint 2022-03-26 15:06:42 +08:00
xjasonlyu
82fd2f91c0 Chore: update action workflows 2022-03-26 14:49:57 +08:00
xjasonlyu
7bbae5549d Chore: adjust Dockerfile 2022-03-26 14:34:26 +08:00
xjasonlyu
c68dd0771e Chore: make tcpKeepaliveCount explicit 2022-02-13 14:57:31 +08:00
xjasonlyu
5679d15442 Fix: nil addr panic (#99) 2022-02-12 21:16:43 +08:00
xjasonlyu
4be2734b19 Chore: make internal/version 2022-02-09 17:29:10 +08:00
xjasonlyu
283008536b Feature: more fields in stats version 2022-02-09 17:25:55 +08:00
xjasonlyu
2f21e10be6 Feature: show debug in version 2022-02-09 17:21:20 +08:00
xjasonlyu
8d2170832c Chore(engine): improve log message 2022-02-09 16:49:54 +08:00
xjasonlyu
211831b3e6 Fix(iobased): exit outboundLoop to prevent goroutine leak 2022-02-08 20:17:30 +08:00
xjasonlyu
6a8bc0fd79 Chore(socks5): revise handshake error message 2022-02-08 18:55:03 +08:00
xjasonlyu
9d8251ac43 Fix: google/gvisor@f33d034fec (google/gvisor#7125) 2022-02-08 14:38:24 +08:00
xjasonlyu
bf35298289 Fix: suppress panic when wintun.dll not found 2022-02-07 17:31:28 +08:00
xjasonlyu
b5794661b5 Chore: update go modules 2022-02-06 21:39:56 +08:00
xjasonlyu
dc2794ae1e Improve(statistic): use google/uuid 2022-02-06 21:02:49 +08:00
xjasonlyu
6cfbf4d0e6 Chore: add TODOs 2022-02-06 20:41:49 +08:00
xjasonlyu
edec658cd0 Refactor: use core/adapter 2022-02-06 20:26:09 +08:00
xjasonlyu
93a5ff5d86 Improve(stack): add TCP recovery option 2022-02-06 20:17:45 +08:00
xjasonlyu
1b38ce2d25 Improve(socks5): unify addr parsing 2022-02-06 19:48:12 +08:00
xjasonlyu
cc56100f15 Chore(metadata): add TCPAddr method 2022-02-05 20:14:05 +08:00
xjasonlyu
575a2a66ac Chore(socks5): add rfc annotation 2022-02-05 19:16:57 +08:00