wwqgtxx
f5834dd5e2
chore: code cleanup
2024-08-24 14:20:21 +08:00
Larvan2
0793998de8
chore: drop support of eBPF
Trigger CMFA Update / trigger-CMFA-update (push) Has been cancelled
2024-08-16 14:15:36 +08:00
wwqgtxx
09be5cbc99
feat: tun support auto-redirect
, route-address-set
and route-exclude-address-set
Trigger CMFA Update / trigger-CMFA-update (push) Waiting to run
2024-06-17 22:04:51 +08:00
wwqgtxx
5af7f4e847
chore: allow config table-index
for tun
...
https://github.com/MetaCubeX/mihomo/issues/1128
2024-03-24 21:31:52 +08:00
wwqgtxx
9fc1fc4cfe
chore: add GSO support for TUN
...
lwip had been dropped, also cgo build will be removed
2023-12-10 08:32:54 +08:00
wwqgtxx
17c9d507be
chore: hello mihomo
2023-11-03 21:58:21 +08:00
wwqgtxx
a82ce85707
chore: add route exclude support
2023-11-02 11:37:40 +08:00
wwqgtxx
1cf9a55e3e
chore: code cleanup
2023-10-10 21:29:12 +08:00
wwqgtxx
e0458a8fde
chore: decrease goroutine used in core tunnel
2023-09-28 18:59:31 +08:00
Larvan2
d79c13064e
chore: cleanup codes
2023-09-02 14:12:53 +08:00
YanceyChiew
427a377c2a
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
YanceyChiew
9feb4d6668
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
YanceyChiew
54fee7bd3a
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
wwqgtxx
0336435ebc
chore: shadowsocks listener support the "udp" setting
2023-03-21 12:40:36 +08:00
wwqgtxx
998d407d44
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
wwqgtxx
fc50392ec7
chore: cleanup natTable's api
2023-02-18 13:16:07 +08:00
wwqgtxx
a9839abd4c
fix: tun create panic
2022-12-08 11:29:39 +08:00
wwqgtxx
cd99b2e795
fix: config code merge
2022-12-06 10:13:05 +08:00
wwqgtxx
b5b06ea49c
fix: config crash
2022-12-06 09:04:30 +08:00
wwqgtxx
fd9c4cbfa5
chore: listeners support tun
2022-12-05 17:43:50 +08:00
wwqgtxx
8c58d8a8ad
fix: remove unneed listener's start
2022-12-05 16:29:50 +08:00
wwqgtxx
b7d976796a
chore: listeners support shadowsocks/vmess
2022-12-05 10:12:53 +08:00
wwqgtxx
c7f83d3ff1
chore: listeners support tuic
2022-12-04 23:05:13 +08:00
wwqgtxx
62226e8b3d
chore: rebuild InboundListener
2022-12-04 21:53:13 +08:00
wwqgtxx
6fc62da7ae
chore: change C.PacketAdapter from a struct to an interface
2022-12-04 14:37:52 +08:00
Skyxim
4f75201a98
feat: add linsters
2022-12-04 13:37:14 +08:00
wwqgtxx
b4b9ef2362
Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha
2022-11-28 20:04:56 +08:00
wwqgtxx
01e382285d
chore: tuic-server support restful api patch
2022-11-28 18:53:09 +08:00
wwqgtxx
551283c16e
chore: add tuic-server listener
2022-11-28 17:09:25 +08:00
Dreamacro
efa4b9e0b8
Fix: lint warning
2022-11-22 21:01:51 +08:00
Dreamacro
5b07d7b776
Feature: add tunnels
2022-11-20 21:30:55 +08:00
wwqgtxx
1880a485f8
chore: better tfo inbound code
2022-11-16 10:43:16 +08:00
zhudan
0eecd11fdc
ss and vmess inbound add tfo
2022-11-16 10:18:10 +08:00
wwqgtxx
68b28ed530
chore: shadowsocks listener support old cipher
2022-11-11 22:44:44 +08:00
wwqgtxx
3eacce9a66
chore: add vmess, shadowsocks, tcptun and udptun listener
2022-11-11 20:56:08 +08:00
wwqgtxx
e20d01a679
chore: try to let tun's restful patch api work
2022-11-04 08:52:30 +08:00
wwqgtxx
9a5c0a4b6d
chore: better tun config passing
2022-11-03 18:56:03 +08:00
adlyq
1b0d09068b
fix: RESTful API empty tun device name
2022-11-03 18:04:37 +08:00
adlyq
7b0cd14b00
chore: netlink duplicate contains
2022-11-02 23:58:51 +08:00
wwqgtxx
2c236387b7
fix: flush default interface when tun config hasn't change
2022-10-10 09:32:42 +08:00
wwqgtxx
94246104b8
chore: use sing-tun to replace old tun_adapter
2022-10-06 19:23:38 +08:00
metacubex
d3b88d1b4f
fix: ebpf support
2022-08-22 23:17:41 +08:00
zhudan
97270dcbe0
rm EBpf tun && disable android ebpf
2022-08-08 10:21:16 +08:00
zhudan
31f4d20477
support ebpf
2022-07-29 09:08:35 +08:00
zhudan
143c5de51d
inbound tfo
2022-07-22 15:16:09 +08:00
adlyq
708b8beadf
fix: compile
2022-05-29 20:02:30 +08:00
adlyq
13e907bbd0
refactor: 使用 netlink 配置 ip rule
2022-05-29 15:03:27 +08:00
adlyq
149b4b5b43
feat: RESTful API support disable sniffer
2022-05-24 13:44:52 +08:00
adlyq
c787bbe0e5
fix: 热重载Tun配置
2022-05-19 19:19:19 +08:00
Skyxim
2fbbf7519f
fix: provider auto update
2022-05-08 00:04:16 +08:00