Commit Graph

348 Commits

Author SHA1 Message Date
gVisor bot
070968aca5 chore: listeners can set mux-option 2023-11-23 08:20:26 +08:00
gVisor bot
288b499c7d Revert "chore: reduce memory alloc"
This reverts commit a6b816b1c6.
2023-11-22 19:22:15 +08:00
gVisor bot
bf64cede7d chore: reduce memory alloc 2023-11-20 23:48:30 +08:00
gVisor bot
ff3b6d828b fix: Mux missing sing logger & initializing race 2023-11-18 15:30:35 +08:00
gVisor bot
869ea9e613 feat: Add outbound sing-mux tcp-brutal support 2023-11-18 00:07:07 +08:00
gVisor bot
99287189ef chore: Cleanup code 2023-11-17 23:12:10 +08:00
gVisor bot
923f3cc1e3 fix: improve feature check and add missing patches 2023-11-17 19:10:17 +08:00
gVisor bot
9e389dea3c chore: add android feature and patch 2023-11-17 13:19:24 +08:00
gVisor bot
aeb2481b27 fix: fix android-arm64 build 2023-11-17 10:53:57 +08:00
gVisor bot
ea3a1cf51f feat: share more code from android branch 2023-11-17 01:21:02 +08:00
gVisor bot
a918cd66d8 chore: hello mihomo 2023-11-03 21:58:21 +08:00
gVisor bot
f9f23e17e6 chore: add route exclude support 2023-11-02 11:37:40 +08:00
gVisor bot
98be07c40f chore: share some code 2023-10-23 16:45:22 +08:00
gVisor bot
2bbcfbe198 chore: decrease memory copy in sing listener 2023-10-20 08:39:04 +08:00
gVisor bot
78d945470d chore: code cleanup 2023-10-11 22:54:19 +08:00
gVisor bot
9bd516bc62 fix: unmap 4in6 ip 2023-10-11 18:17:39 +08:00
gVisor bot
1a232b7504 chore: support reject proxy type 2023-10-11 13:01:14 +08:00
gVisor bot
7f1769d162 fix: sing listener panic 2023-10-11 10:55:12 +08:00
gVisor bot
137d461ff7 chore: code cleanup 2023-10-10 21:29:12 +08:00
gVisor bot
7b9bf14302 feat: add skip-auth-prefixes 2023-10-10 21:29:12 +08:00
gVisor bot
7fcd4e1199 feat: add certificate and private-key to vmess listener 2023-10-08 07:26:28 +08:00
gVisor bot
3e5600c0db feat: add ws-path to vmess listener 2023-10-08 07:26:28 +08:00
gVisor bot
49610fcb1b fix: hy2/tuic inbound cert isn't path
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-10-01 12:04:34 +08:00
gVisor bot
12ddcaae7a chore: support relative path for hy2/tuic inbound cert 2023-10-01 00:01:32 +08:00
gVisor bot
d960e63dda chore: decrease goroutine used in core tunnel 2023-09-28 18:59:31 +08:00
gVisor bot
7a4f9959f9 chore: support set cwnd for hy2 too 2023-09-21 16:41:31 +08:00
gVisor bot
eb2ee5c1ba feat: inbound support Hysteria2 2023-09-21 15:10:35 +08:00
gVisor bot
b23ccfdf45 chore: Update dependencies 2023-09-21 08:57:38 +08:00
gVisor bot
d0d576bdee chore: using xsync.MapOf replace sync.Map 2023-09-02 16:54:48 +08:00
gVisor bot
aab21720b5 feat: configurable TCPKeepAlive interval 2023-09-02 16:45:16 +08:00
gVisor bot
8463db4f4e chore: cleanup codes 2023-09-02 14:12:53 +08:00
gVisor bot
9bd834b34a refactor: Decouple .Cleanup from ReCreateTun
The listener.Cleanup method will be called during
executor.Shutdown and route.restart, so it should serve
all kinds of listeners rather than a single tun device.

Currently listener.ReCreateTun will call it to handle
some internal affairs, This should be decoupled.

In this way, the cleanup tasks for data outside the
process life cycle that other listeners will add here
in the future will not be accidentally triggered
by configuring tun.
2023-09-02 14:12:53 +08:00
gVisor bot
76ea420764 fix: RESTful api missing TunConf.device
In commit 54fee7b, due to failure to take into account that
not all required parameters of `sing_tun.server.New` have
default values provided by `LC.Tun`, the name of the tun device
cannot be obtained when `TunConf.device` is not explicitly
configured. This commit fixed the issue.
2023-09-02 14:12:53 +08:00
gVisor bot
6ffd4a7de1 feat: ntp service 2023-09-02 02:15:46 +08:00
gVisor bot
107613f0f6 Improve: nicer tun info for RESTful api
Let the restful api still get TunConf even when tun is off.
Otherwise the api will return the default values,
instead of the values that actually take effect after enable.

* Due to this problem, yacd changes the displayed value
back to gvisor immediately after the user selects tun stack.
2023-08-30 21:13:32 +08:00
gVisor bot
e8f33f0f23 feat: add udp-over-stream for tuic
only work with meta tuic server or sing-box 1.4.0-beta.6
2023-08-21 12:37:39 +08:00
gVisor bot
e051dc6eb6 fix: tuic server cwnd parsing 2023-06-21 14:00:49 +08:00
gVisor bot
7c04b3a096 chore: tuic server can handle V4 and V5 in same port 2023-06-21 13:53:37 +08:00
gVisor bot
7ff7a4745d chore: fix TUIC cwnd parsing 2023-06-21 00:47:05 +08:00
gVisor bot
c6db154046 chore: Update dependencies 2023-06-19 08:23:48 +08:00
gVisor bot
011cde328c feat: support tuicV5 2023-06-12 18:42:46 +08:00
gVisor bot
ea5a231145 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
gVisor bot
35ead7d20b chore: update proxy's udpConn when received a new packet 2023-06-03 21:40:09 +08:00
gVisor bot
9e6aaea7e0 chore: update quic-go to 0.35.1 2023-06-03 16:45:35 +08:00
gVisor bot
755f7c27b8 chore: add WaitReadFrom support in ssr 2023-05-28 22:51:44 +08:00
gVisor bot
83f6d6f8f2 chore: add IN-USER and IN-NAME rules 2023-05-28 17:19:57 +08:00
gVisor bot
57883b4927 chore: using internal socks5.ReadAddr0 in trojan 2023-05-20 18:35:04 +08:00
gVisor bot
fe51e95d88 chore: improve read waiter interface 2023-05-12 12:12:22 +08:00
gVisor bot
4c38b2f0bf fix: sing-based listener panic 2023-05-12 09:14:27 +08:00
gVisor bot
e81ee44f33 chore: better tproxy error logging 2023-05-11 21:31:29 +08:00