Commit Graph
100 Commits
Author SHA1 Message Date
xjasonlyu 7327f2c784 Improve: with gvisor internal log 2023-03-27 13:21:10 +08:00
xjasonlyu 66860d3de8 Improve: enhance error handling 2023-03-27 00:43:39 +08:00
xjasonlyu c61d7b5a20 Chore: error is ignorable 2023-03-26 23:07:13 +08:00
xjasonlyu 680feede3b Improve: add tun io lock 2023-03-26 22:56:01 +08:00
xjasonlyu 22b15f6fab Improve: redirect stack log 2023-03-26 22:48:28 +08:00
xjasonlyu f7b4f75ed4 Fix: align with wireguard io 2023-03-26 22:10:21 +08:00
xjasonlyu 29feac8cd4 Chore: bump go mods 2023-03-26 14:40:39 +08:00
xjasonlyu 6cfc25309e Fix: rand linter
`math/rand.Read` has been deprecated since Go 1.20
2023-02-21 15:06:05 +08:00
xjasonlyu 1f63b239c3 Chore: update linter 2023-02-21 14:55:01 +08:00
xjasonlyu 041bc510ea Chore: bump go modules 2023-02-21 14:05:25 +08:00
xjasonlyu 51d8a27289 Chore: bump gvisor
v0.0.0-20230219185229-4f1045309c43
2023-02-21 14:03:17 +08:00
xjasonlyu 5ffb0186bf Improve: do not stale labeled issues 2023-02-12 14:04:35 +08:00
xjasonlyu 8a2e5cebeb Fix: deprecate rand.Seed 2023-02-06 15:39:37 +08:00
xjasonlyu 846d3d87a7 Chore: bump go.mod to 1.20 2023-02-06 15:39:15 +08:00
xjasonlyu b491e17bfa Chore: add v2 to prefix 2023-02-06 15:38:46 +08:00
xjasonlyu fbe4c22347 Revert: undo crypto/rand
This reverts commit 4a8bf64cb1.
2023-02-06 15:31:05 +08:00
xjasonlyu 4a8bf64cb1 Improve: use crypto/rand 2023-02-04 14:26:41 +08:00
xjasonlyu 059f661862 Chore: bump to go1.20 2023-02-04 13:52:29 +08:00
xjasonlyu ab05092671 Chore: update go mod 2023-02-04 13:52:19 +08:00
xjasonlyu 6809e7f835 Chore: bump gVisor 2023-01-22 13:27:11 +08:00
xjasonlyu bbdc9113d7 Chore: update go mod 2023-01-13 13:40:20 +08:00
xjasonlyu 30608f4925 Chore: bump gVisor 2023-01-01 15:55:12 +08:00
xjasonlyu 39b1406ffa Chore: update mods 2022-12-17 16:57:57 +08:00
xjasonlyu a1edb1c1bb Chore: update workflows 2022-12-17 16:53:30 +08:00
xjasonlyu ad014648ef Fix: build badges 2022-12-16 16:54:54 +08:00
xjasonlyu fa3317a94c Chore: bump go mods 2022-12-01 15:57:08 +08:00
xjasonlyu 8d3c28a516 Feature: support mark on FreeBSD & OpenBSD 2022-12-01 15:46:49 +08:00
xjasonlyu 3cbc74b1cf Chore: update gvisor 2022-11-08 15:21:45 +08:00
xjasonlyu 24a53467f6 Chore: deprecate set-output command 2022-10-15 15:33:20 +08:00
xjasonlyu 702ba81ccd Chore: update workflows 2022-10-14 23:26:59 +08:00
xjasonlyu 7fce6e9544 Fix: PacketBufferPtr.IsNil 2022-10-14 22:54:12 +08:00
xjasonlyu 553c2f7a17 Chore: bump modules 2022-10-14 22:36:41 +08:00
xjasonlyu ccfb3a47f6 Fix: make build work
This commit may be reverted if gVisor updates its fdbased pkg.
2022-09-25 16:31:15 +08:00
xjasonlyu 0177157c69 Chore: deprecate openbsd-386 2022-09-25 16:23:47 +08:00
xjasonlyu 82546cd2c5 Chore: with unix build constraint 2022-09-25 15:49:39 +08:00
xjasonlyu 9895b3e048 Chore: update go mod 2022-09-25 15:08:23 +08:00
xjasonlyu 39b50f2bfb Chore: update go mod 2022-09-18 19:31:29 +08:00
xjasonlyu c45470650b Chore: reorder imports 2022-08-07 00:25:59 +08:00
xjasonlyu cb6408a17a Fix: update to bufferv2 2022-08-07 00:05:11 +08:00
xjasonlyu 77bd119d34 Chore: update go mod 2022-08-07 00:04:03 +08:00
xjasonlyu 595896dfc7 Chore: bump to go1.19 2022-08-06 23:51:15 +08:00
xjasonlyu 55a8d038d6 Improve: ignore tcp errors 2022-07-15 21:08:11 +08:00
xjasonlyu e31ffce0e6 Fix: adjust endpoint change 2022-07-15 20:59:37 +08:00
xjasonlyu 267cc6d1a9 Chore: update go mod 2022-07-15 20:17:27 +08:00
xjasonlyu 31468620e7 Chore: update badge logo 2022-06-01 00:10:41 +08:00
xjasonlyu 1536735456 Chore: disable blank issues 2022-05-24 15:30:51 +08:00
xjasonlyu b329f23a4e Chore: auth with GITHUB_TOKEN 2022-05-21 16:27:52 +08:00
xjasonlyu 1ecd587857 Fix(udp): ignore EOF 2022-04-26 16:06:01 +08:00
xjasonlyu 6076fd9a69 Chore(netstats): just render.JSON 2022-04-21 23:30:54 +08:00
xjasonlyu 3926f86613 Feature(docker): add tzdata 2022-04-07 10:56:24 +08:00
xjasonlyu 77e8ad4810 Chore: update modules 2022-04-06 23:33:47 +08:00
xjasonlyu a8e8a2dc4c Fix(tunnel/udp): NAT source verification (#112) 2022-04-06 23:21:18 +08:00
xjasonlyu f2cfa15945 Chore(tunnel): minify log message 2022-04-06 17:26:02 +08:00
xjasonlyu 764657d657 Chore: ignore io timeout 2022-04-06 16:07:59 +08:00
xjasonlyu d65d3b08d0 Change: use default tcp buffer size 2022-04-06 15:48:51 +08:00
xjasonlyu c35f28b3a3 Improve(restapi/netstats): JSON encoding 2022-04-06 15:23:02 +08:00
xjasonlyu 23a6e28768 Chore(core): format request ID 2022-04-05 23:40:57 +08:00
xjasonlyu 102b46e9f6 Refactor(tunnel): udp packet relay 2022-04-05 23:14:16 +08:00
xjasonlyu ab728bd8cc Chore(tunnel): log tcp error 2022-04-05 23:13:38 +08:00
xjasonlyu 4aea88c36e Chore(core): print TransportEndpointID 2022-04-04 22:32:50 +08:00
xjasonlyu e4801c3989 Fix(restapi): debug missing mountpoints 2022-04-04 22:05:47 +08:00
xjasonlyu fd8223e4d0 Fix(docker): sh out of range warning 2022-04-04 21:15:06 +08:00
xjasonlyu 883915ab2c Chore: update README 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