Commit Graph

45 Commits

Author SHA1 Message Date
Solyn
2c51a65685 Feature: cli tcp-wait-timeout option (#156)
Co-authored-by: xjasonlyu <xjasonlyu@gmail.com>
2023-03-29 17:41:01 +08:00
xjasonlyu
fb9ca95909 Feature: add udp-rlybuf option
* Default UDP relay buffer size: 16KiB
2023-03-29 16:56:03 +08:00
Jack
007c97fe67 Feature: support pre&post-up exec (#233)
* Add tun pre/post script
* Improve: pre & post tun

---------

Co-authored-by: xjasonlyu <xjasonlyu@gmail.com>
2023-03-27 13:26:39 +08:00
xjasonlyu
7327f2c784 Improve: with gvisor internal log 2023-03-27 13:21:10 +08:00
xjasonlyu
c45470650b Chore: reorder imports 2022-08-07 00:25:59 +08:00
xjasonlyu
6a53c52167 Chore: add udp-timeout constraint 2022-04-03 22:09:41 +08:00
xjasonlyu
992e716216 Improve: use interface index for macos 2022-04-02 16:08:55 +08:00
xjasonlyu
a0d31261b9 Chore: remove redundant alias 2022-04-02 15:06:30 +08:00
xjasonlyu
551e2c345c Feature: cli tcp options 2022-04-01 23:40:17 +08:00
xjasonlyu
21232703af Chore(core): use config.PrintFunc 2022-03-31 17:48:52 +08:00
xjasonlyu
ccf53dcb88 Chore: use mirror.Tunnel 2022-03-31 17:28: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
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
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
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
9502706ed9 Feature: add an option to set udp timeout 2021-02-26 14:22:16 +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
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
ee00315894 Chore: rename proxy Type() to Proto() 2021-02-07 10:38:07 +08:00
xjasonlyu
9caf06760d Chore: update engine log of proxy & device 2021-02-06 18:58:27 +08:00
xjasonlyu
38b9357469 Fix: error when proxy or device empty 2021-02-06 15:40:11 +08:00
xjasonlyu
aa703ac90d Chore: rename secret to token 2021-02-06 11:39:25 +08:00
xjasonlyu
90d7d2dfe6 Refactor 2021-02-05 20:02:29 +08:00