Commit Graph
656 Commits
Author SHA1 Message Date
xjasonlyu 883915ab2c Chore: update README v2.4.0 2022-04-04 17:14:03 +08:00
xjasonlyu 4ca3c90b8c Chore: update modules 2022-04-04 17:06:11 +08:00
xjasonlyu 2e758d1960 Chore(core/tcp): add a comment 2022-04-04 17:06:06 +08:00
xjasonlyu 9797cb31c0 Refactor: return metadata.Addr only 2022-04-03 23:16:36 +08:00
xjasonlyu 8f97bda4f5 Chore: amend log messages 2022-04-03 22:31: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 289ea82829 Feature(docker): add tcp options env 2022-04-02 15:15:06 +08:00
xjasonlyu a0d31261b9 Chore: remove redundant alias 2022-04-02 15:06:30 +08:00
xjasonlyu 31e19a0690 Change: udp timeout = time.Duration 2022-04-02 15:05:47 +08:00
xjasonlyu 596056676c Chore: rename to netstack 2022-04-02 00:23:49 +08:00
xjasonlyu bff32beb73 Chore: add/update modules 2022-04-02 00:03:28 +08:00
xjasonlyu 551e2c345c Feature: cli tcp options 2022-04-01 23:40:17 +08:00
xjasonlyu dc2c555865 Fix: correctly apply recv buffer size 2022-04-01 22:34:44 +08:00
xjasonlyu 81c2d6963b Chore: reorder const and func 2022-04-01 22:26:05 +08:00
xjasonlyu b7c3c9001b Chore: add benchmark.png 2022-04-01 22:10:09 +08:00
xjasonlyu 9f239d146b Chore: separate send/recv buffer 2022-04-01 21:48:17 +08:00
xjasonlyu 3c326c01ed Change: disable tcp recv buffer auto-tuning by default 2022-04-01 21:11:33 +08:00
xjasonlyu 21eb99a37e Fix: should apply default option firstly 2022-04-01 14:28:12 +08:00
xjasonlyu e0b0a1e94b Chore(core): amend message 2022-03-31 23:56:06 +08:00
xjasonlyu 096117dda1 Chore: minor declaration 2022-03-31 23:12:11 +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 8d3f8d7631 Fix: potential panic on windows (#110)
This is only a temporary solution.
2022-03-31 15:11:34 +08:00
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: https://github.com/google/gvisor/commit/f375784d83852b1e3ff20cc9de0648b3c0cf8525
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