gVisor bot
f9f23e17e6
chore: add route exclude support
2023-11-02 11:37:40 +08:00
gVisor bot
137d461ff7
chore: code cleanup
2023-10-10 21:29:12 +08:00
gVisor bot
d960e63dda
chore: decrease goroutine used in core tunnel
2023-09-28 18:59:31 +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
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
ad9a2365e5
chore: shadowsocks listener support the "udp" setting
2023-03-21 12:40:36 +08:00
gVisor bot
9c0870106d
Feat: support set tun file-descriptor in config file
...
Co-authored-by: DuFoxit <DuFoxit@users.noreply.github.com>
2023-03-15 23:43:58 +08:00
gVisor bot
aa9da5dcb0
chore: cleanup natTable's api
2023-02-18 13:16:07 +08:00
gVisor bot
f8b117007b
fix: tun create panic
2022-12-08 11:29:39 +08:00
gVisor bot
d6a20af8b7
fix: config code merge
2022-12-06 10:13:05 +08:00
gVisor bot
2df61cdaa0
fix: config crash
2022-12-06 09:04:30 +08:00
gVisor bot
cfce7d4838
chore: listeners support tun
2022-12-05 17:43:50 +08:00
gVisor bot
a6303be23b
fix: remove unneed listener's start
2022-12-05 16:29:50 +08:00
gVisor bot
6885d8593c
chore: listeners support shadowsocks/vmess
2022-12-05 10:12:53 +08:00
gVisor bot
b764d344fe
chore: listeners support tuic
2022-12-04 23:05:13 +08:00
gVisor bot
3b1b077f80
chore: rebuild InboundListener
2022-12-04 21:53:13 +08:00
gVisor bot
9c9ff4dc5e
chore: change C.PacketAdapter from a struct to an interface
2022-12-04 14:37:52 +08:00
gVisor bot
ae17141588
feat: add linsters
2022-12-04 13:37:14 +08:00
gVisor bot
c24bb51cc1
Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha
2022-11-28 20:04:56 +08:00
gVisor bot
fa1200dffb
chore: tuic-server support restful api patch
2022-11-28 18:53:09 +08:00
gVisor bot
dbe9c4ba47
chore: add tuic-server listener
2022-11-28 17:09:25 +08:00
gVisor bot
09ef083107
Fix: lint warning
2022-11-22 21:01:51 +08:00
gVisor bot
44e8aad7eb
Feature: add tunnels
2022-11-20 21:30:55 +08:00
gVisor bot
24cfa48eef
chore: better tfo inbound code
2022-11-16 10:43:16 +08:00
gVisor bot
d7d8037c1d
ss and vmess inbound add tfo
2022-11-16 10:18:10 +08:00
gVisor bot
e4d211d0df
chore: shadowsocks listener support old cipher
2022-11-11 22:44:44 +08:00
gVisor bot
4abbe8ce65
chore: add vmess, shadowsocks, tcptun and udptun listener
2022-11-11 20:56:08 +08:00
gVisor bot
2d7f4a52af
chore: try to let tun's restful patch api work
2022-11-04 08:52:30 +08:00
gVisor bot
5ca76bc941
chore: better tun config passing
2022-11-03 18:56:03 +08:00
gVisor bot
54434df43f
fix: RESTful API empty tun device name
2022-11-03 18:04:37 +08:00
gVisor bot
9f2fb858c3
chore: netlink duplicate contains
2022-11-02 23:58:51 +08:00
gVisor bot
9ca325bc13
fix: flush default interface when tun config hasn't change
2022-10-10 09:32:42 +08:00
gVisor bot
afd5e48adc
chore: use sing-tun to replace old tun_adapter
2022-10-06 19:23:38 +08:00
gVisor bot
48f30b01ef
fix: ebpf support
2022-08-22 23:17:41 +08:00
gVisor bot
c1bd1de57e
rm EBpf tun && disable android ebpf
2022-08-08 10:21:16 +08:00
gVisor bot
2c10af7b1d
support ebpf
2022-07-29 09:08:35 +08:00
gVisor bot
9daef5bf44
inbound tfo
2022-07-22 15:16:09 +08:00
gVisor bot
abf999d80f
fix: compile
2022-05-29 20:02:30 +08:00
gVisor bot
32d332b873
refactor: 使用 netlink 配置 ip rule
2022-05-29 15:03:27 +08:00
gVisor bot
09690122e4
feat: RESTful API support disable sniffer
2022-05-24 13:44:52 +08:00
gVisor bot
d3e20a87de
fix: 热重载Tun配置
2022-05-19 19:19:19 +08:00
gVisor bot
4ccedb34e8
fix: provider auto update
2022-05-08 00:04:16 +08:00
gVisor bot
4d8ba83abe
fix: patch update support tun
2022-05-03 19:31:00 +08:00
gVisor bot
2b4b759f63
fix: auto-route priority wlan0 in Android
2022-04-30 17:43:37 +08:00
gVisor bot
61491c8627
fix: hotspot for android
2022-04-22 22:25:45 +08:00
gVisor bot
113d84b438
[fix] auto-route for android
2022-04-21 17:47:04 +08:00
gVisor bot
22db48dd37
[skip ci]
...
# Conflicts:
# .github/workflows/linter.yml
# .github/workflows/release.yml
# config/config.go
# go.mod
# go.sum
# hub/executor/executor.go
2022-03-23 01:41:42 +08:00
gVisor bot
f18800de42
[内容]
...
1.autoIptables 开关
2.go.mod 调整
3.processName 调整
4.makefile 调整
5.Tun模块 部分代码调整
2022-03-19 01:11:27 +08:00