Commit Graph

31 Commits

Author SHA1 Message Date
xjasonlyu
4ffe32fd89 Improve: add default mtu for fd device 2021-12-08 16:27:45 +08:00
xjasonlyu
8fcd8fee85 Fix(fd): compile error 2021-11-01 14:01:21 +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
dc8e4f1ba1 Feature: new fd driver 2021-10-17 14:07:11 +08:00
xjasonlyu
c478adee34 Fix: rwbased interface implementation 2021-09-04 21:46:40 +08:00
xjasonlyu
525d424fca Chore: go1.17 build constraints 2021-08-21 10:48:37 +08:00
xjasonlyu
94c0b4a873 Chore: rename SetForwarding to SetForwardingDefaultAndAllNICs 2021-05-24 17:19:02 +08:00
xjasonlyu
70afaf3d55 Fix(stack): update udp transport 2021-05-13 13:29:26 +08:00
xjasonlyu
b51ad6feb1 Fix(rwbased): endpoint interface 2021-05-13 13:13:22 +08:00
xjasonlyu
1bd8029562 Optimize: use gvisor tun for linux 2021-03-21 21:13:07 +08:00
xjasonlyu
a1847d7153 Fix: udp for gvisor stack 2021-03-21 20:57:18 +08:00
xjasonlyu
82ac59b0f2 Fix: invalid argument when set MTU (https://github.com/xjasonlyu/tun2socks/issues/33) 2021-03-01 21:37:46 +08:00
xjasonlyu
b2b7e8bc46 Chore(tun): minor changes 2021-02-14 20:38:26 +08:00
xjasonlyu
0e1e04acc7 Fix: avoid extra copy on windows 2021-02-14 20:25:04 +08:00
xjasonlyu
3f73becd66 Fix: ignore static check 2021-02-14 15:50:44 +08:00
xjasonlyu
14b905c125 Feature: full 64bit support 2021-02-14 15:45:42 +08:00
xjasonlyu
e849c9a451 Fix(stack/udp): shadow variables 2021-02-11 14:01:36 +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
6f89409a03 remove v1 2020-11-05 18:35:45 +08:00
Jason
34377270a3 update core 2020-08-04 18:27:14 +08:00
Jason
9f38062a41 sync with eycorsican/go-tun2socks 2020-04-18 14:01:59 +08:00
Jason
4d70042a38 tune ttl and mtu 2019-12-19 22:15:49 +08:00
Jason
c18a52bd74 core: process refused TCP data immediately once the connection is ready
If the first TCP data chunk was refused, perhaps due to the
connection was under connecting state (it's almost always the
case), waiting for timers to process the refused data would
introduce a ~250ms (TCP_FAST_INTERVAL) delay for the connection.
(from eycorsican/go-tun2socks)
2019-10-04 21:12:00 +08:00
Jason
8d6508c52f update core 2019-09-11 13:53:11 +08:00
Jason
757fd11af5 fix buffer pool 2019-08-12 15:15:35 +08:00
Jason
51e02d0236 Delete buffer_pool.go 2019-08-12 14:28:39 +08:00
Jason
92a111440e format code 2019-08-11 18:00:23 +08:00
Jason
c1740d8704 resize core bufsize 2019-08-11 17:36:53 +08:00
Jason
6d01dec5a4 add go-tun2socks code 2019-07-16 11:37:52 +08:00