Commit Graph

56 Commits

Author SHA1 Message Date
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
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
3999c5d66b Refactor(core): with error callback 2022-03-29 17:19:54 +08:00
xjasonlyu
ba7a7ddc95 Chore(core/adapter): rename to TransportHandler 2022-03-29 15:26:00 +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
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
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
8bb8423e50 Chore: fix lint 2022-03-26 15:06:42 +08:00
xjasonlyu
4be2734b19 Chore: make internal/version 2022-02-09 17:29:10 +08:00
xjasonlyu
8d2170832c Chore(engine): improve log message 2022-02-09 16:49:54 +08:00
xjasonlyu
edec658cd0 Refactor: use core/adapter 2022-02-06 20:26:09 +08:00
xjasonlyu
dd0cde04b4 Refactor: optimize UDP module
Symmetric NAT support for now.
2022-02-05 15:49:03 +08:00
xjasonlyu
cd5b9e8954 Chore: rename to fdbased 2022-02-01 17:17:09 +08:00
xjasonlyu
3480680806 Chore: chmod -x .go files 2022-01-31 18:32:11 +08:00
xjasonlyu
830c231c43 Refactor: standalone version module 2022-01-31 16:00:17 +08:00
Fan Lin
c068fbd626 Fix: set major version to v2 (#88) 2022-01-03 16:06:18 +08:00
xjasonlyu
5ee4c676a1 Feature: YAML config support 2021-11-10 13:38:20 +08:00
xjasonlyu
3928350e57 Chore: minor reposition 2021-10-17 14:29:08 +08:00
xjasonlyu
f6ba31f121 Feature: support fd device
Experimental support for file descriptor based device, may be used like `fd://3`
2021-10-17 14:21:37 +08:00
xjasonlyu
bf3f4599cc Chore(tun): remove with options 2021-10-17 14:12:54 +08:00
xjasonlyu
07ce5e6422 Feature: socks5 over unix domain socket(UDS) support
this feature is compatible with tor proxy.
2021-09-09 12:50:23 +08:00
xjasonlyu
e1ca5069e0 Revert(engine): default scheme
This reverts commit a86608e31a.
2021-09-09 12:10:57 +08:00
xjasonlyu
a86608e31a Optimize(engine): default scheme 2021-09-04 22:11:08 +08:00
xjasonlyu
e0d6c6d5af Feature: SOCKS4/SOCKS4A proxy support 2021-07-16 20:23:00 +08:00
xjasonlyu
ab2f4043f7 Feature: HTTP proxy support 2021-07-16 18:39:46 +08:00
xjasonlyu
842920c39b Feature: add reject proxy 2021-07-15 19:54:56 +08:00
xjasonlyu
66710aa203 Fix: panics with invalid ss url (https://github.com/xjasonlyu/tun2socks/issues/49) 2021-05-05 11:59:47 +08:00
xjasonlyu
9502706ed9 Feature: add an option to set udp timeout 2021-02-26 14:22:16 +08:00
xjasonlyu
7955052b01 Chore: adjust version output format 2021-02-11 13:40:01 +08:00
xjasonlyu
7e55b71b30 Fix: replace pflag with flag
pflag was deprecated due to poor maintenance
2021-02-11 13:06:12 +08:00
xjasonlyu
96e0c8c390 Chore: adapt fwmark option 2021-02-10 16:40:36 +08:00
xjasonlyu
7f7f2913a8 Feature: add fwmark support 2021-02-10 15:46:55 +08:00
xjasonlyu
ea62deb0b6 Refactor: rewrite engine 2021-02-10 13:11:11 +08:00
xjasonlyu
08f236a01c Fix: lost stack log info 2021-02-08 20:23:02 +08:00
xjasonlyu
ae77a8a009 Refactor: autonomize core package 2021-02-08 20:04:51 +08:00
xjasonlyu
ace24826d2 Chore: move stack & device to core 2021-02-07 18:49:55 +08:00
xjasonlyu
669a601f1a Chore: move stack & device to component 2021-02-07 18:45:52 +08:00
xjasonlyu
103009cb1d Chore: add stack field to Engine 2021-02-07 18:38:19 +08:00
xjasonlyu
cf4ac9b207 Refactor(proxy): use proto sub package 2021-02-07 18:22:00 +08:00
xjasonlyu
ee00315894 Chore: rename proxy Type() to Proto() 2021-02-07 10:38:07 +08:00
xjasonlyu
a3ff3a5a15 Chore: const tun.Driver = "tun" 2021-02-07 10:09:26 +08:00
xjasonlyu
cc268bc2a3 Feature: use wintun for windows 2021-02-06 20:01:11 +08:00
xjasonlyu
b79ab7335a Chore: rename ShadowSocks to Shadowsocks 2021-02-06 19:01:01 +08:00