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
6bcd91a801
feat: add skip-auth-prefixes
2023-10-10 21:29:12 +08:00
wwqgtxx
5ff4473083
chore: migrate from gorilla/websocket to gobwas/ws
2023-10-06 17:44:36 +08:00
Larvan2
dbaee284e4
fix: hy2/tuic inbound cert isn't path
...
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-10-01 12:04:34 +08:00
NyaMisty
10e7c533d7
feat: support clash premium's structured log stream ( #735 )
...
* feat: support clash premium's structured log stream
New version of Clash for Windows uses `ws://external-controller/logs?token=&level=info&format=structured` to get real time log. When Clash Premium Core reveices `format=structured`, it returns a different form of JSON log entry. Supporting this feature will allow better Clash for Windows integration
Signed-off-by: Misty <gyc990326@gmail.com>
2023-09-29 08:50:50 +08:00
wwqgtxx
e0458a8fde
chore: decrease goroutine used in core tunnel
2023-09-28 18:59:31 +08:00
Larvan2
e6366f7442
chore: fix typo
2023-09-24 19:00:51 +08:00
PuerNya
0d300a3540
chore: handle provider proxies in proxies api
2023-09-24 15:39:14 +08:00
Larvan2
8f515ecc05
chore: updateUI API return 501 when config incomplete
2023-09-23 18:00:07 +08:00
xishang0128
34f62a0919
feat: add provider proxies api
2023-09-23 17:54:20 +08:00
Larvan2
7c21768e99
feat: update external-ui
2023-09-18 19:21:30 +08:00
Larvan2
c3d72f6883
feat: download/upgrade XD to external-ui
2023-09-16 11:44:15 +08:00
Larvan2
d099375200
chore: rename func name
2023-08-30 15:52:41 +08:00
Alpha
9536372cfb
fix: call shutdown before restart ( #709 )
2023-08-30 15:49:28 +08:00
Larvan2
b8a60261ef
chore: restore unselected
...
clear selected node in outboundgoup/URLtest when getGroupDelay triggered
2023-08-18 22:17:07 +08:00
wwqgtxx
614cc93cac
chore: better close single connection in restful api
2023-06-26 18:25:36 +08:00
wwqgtxx
42ef4fedfa
chore: avoid unneeded map copy when close connection in restful api
2023-06-26 17:46:14 +08:00
wwqgtxx
919daf0dbb
fix: tuic server cwnd parsing
2023-06-21 14:00:49 +08:00
wwqgtxx
e914317bef
feat: support tuicV5
2023-06-12 18:42:46 +08:00
Larvan2
093453582f
fix: Resolve delay omission in the presence of nested proxy-groups
2023-06-07 13:20:45 +08:00
wwqgtxx
ad11a2b813
fix: go1.19 compile
2023-06-06 10:47:50 +08:00
タイムライン
dafecebdc0
chore: Something update from clash :) ( #606 )
2023-06-06 09:45:05 +08:00
wzdnzd
3ef81afc76
[Feature] Proxy stores delay data of different URLs. And supports specifying different test URLs and expected statue by group ( #588 )
...
Co-authored-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-06-04 11:51:30 +08:00
Larvan2
6b1a4385b2
chore: better updater
2023-05-17 00:33:59 +08:00
Larvan2
ecdde647b1
chore: cleanup listener before restart
2023-04-10 21:13:23 +08:00
rookisbusy
8fb2c68722
fix: chat.js not begin with zero
2023-04-08 01:39:48 +08:00
rookisbusy
76340cc99c
feat: core support memory chat
2023-04-08 00:55:25 +08:00
Larvan2
affc453b6e
chore: better upgrade
2023-04-02 15:16:42 +08:00
wwqgtxx
2c7153cd7a
chore: clean up code
2023-03-29 16:19:26 +08:00
Larvan2
545cbeeec0
chore: skip restart when update error
2023-03-27 00:49:47 +08:00
Larvan2
4d30788738
chore: clean up code
2023-03-25 22:56:24 +08:00
Larvan2
99ede63a9a
feat: add upgrade api
...
example: curl -X POST -H "Authorization: Bearer 123456" http://ip:port/upgrade
2023-03-23 20:48:20 +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
68d7a6da7f
fix: ensure restart api return ok
2023-03-14 22:38:59 +08:00
wwqgtxx
0f24c2f849
chore: add /restart to restful api
2023-03-14 22:19:12 +08:00
wwqgtxx
545a79d406
chore: cleanup dialer's code
2023-03-06 23:23:05 +08:00
Skyxim
a1d008e6f0
chore: add pprof api, when log-level is debug
2023-02-23 23:30:53 +08:00
wwqgtxx
fc50392ec7
chore: cleanup natTable's api
2023-02-18 13:16:07 +08:00
yaling888
03520e0d6f
Fix: dns api panic on disable dns section ( #2498 )
2023-01-28 00:55:30 +08:00
Dreamacro
a6a72a5b54
Feature: add dns query json api
2023-01-28 00:55:24 +08:00
wwqgtxx
b5b06ea49c
fix: config crash
2022-12-06 09:04:30 +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
Skyxim
ba884c29bd
refactor: adjust config
2022-12-03 14:14:15 +08:00
Skyxim
2fe271f19f
feat: add tls port for RESTful api and external controller
2022-12-03 12:25:10 +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
wwqgtxx
1880a485f8
chore: better tfo inbound code
2022-11-16 10:43:16 +08:00
wwqgtxx
dc3e144b6a
Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha
2022-11-12 20:43:48 +08:00
wwqgtxx
3eacce9a66
chore: add vmess, shadowsocks, tcptun and udptun listener
2022-11-11 20:56:08 +08:00
wwqgtxx
90f6cc233c
fix: correct yaml config name
2022-11-04 17:38:24 +08:00
wwqgtxx
e20d01a679
chore: try to let tun's restful patch api work
2022-11-04 08:52:30 +08:00
Dreamacro
50105f0559
Migration: go1.19
2022-08-07 21:45:50 +08:00
Skyxim
1e7af0bbc7
fix: repeat set http status
2022-08-01 22:12:36 +08:00
Skyxim
2cdf4a0532
chore: RESTful test group use request context
2022-06-25 08:53:11 +08:00
Skyxim
21098d2627
feat: RESTful api add interface-name field on patch config
2022-06-18 17:29:19 +08:00
adlyq
4092a7c84b
feat: proxies group URLTest api
2022-05-30 22:07:09 +08:00
adlyq
2ebc0383b5
feat: RESTful API support set tcp-concurrent
2022-05-26 19:49:12 +08:00
adlyq
7431001ed6
feat: RESTful API support update Geo file
...
and can set update url by user, eg.
geox-url:
geoip: "http://xxxx/gepip.dat "
mmdb: "http://xxxx/country.mmdb "
geosite: "http://xxxx/geosite.dat "
2022-05-24 15:04:13 +08:00
adlyq
149b4b5b43
feat: RESTful API support disable sniffer
2022-05-24 13:44:52 +08:00
adlyq
c0eb9aac1c
feat: fallback can be select by user
2022-05-24 10:17:44 +08:00
adlyq
3ab82849d4
feat: IN-TYPE rule support
...
eg. IN-TYPE,SOCKS/REDIR/INNER,Proxy
support list: HTTP HTTPS SOCKS SOCKS4 SOCKS5 REDIR TPROXY TUN INNER
2022-05-20 23:17:16 +08:00
adlyq
c4408612b3
chore: 暴露数据给前端
2022-05-17 16:47:21 +08:00
CHIZI-0618
5bd5f1bfda
chore: remove Script mode residual code.
2022-05-14 13:00:33 +08:00
Skyxim
22c1e05e1c
fix: rule provider http api crash
2022-04-28 09:44:29 +08:00
Dreamacro
aef4dd3fe7
Fix: make log api unblocked
2022-04-26 22:36:10 +08:00
yaling888
4fd7d0f707
Chore: use generics as possible
2022-04-25 13:18:30 +08:00
MetaCubeX
7a54d616c4
[SKIP CI]
...
Merge remote-tracking branch 'Pro-Plus/with-tun' into Alpha
# Conflicts:
# README.md
# hub/route/server.go
2022-03-23 13:23:34 +08:00
yaling888
ef915c94dc
Feature: flush fakeip pool
2022-03-23 01:05:43 +08:00
MetaCubeX
435bee0ca2
update
2022-03-17 23:24:07 +08:00
MetaCubeX
609d69191a
Merge remote-tracking branch 'clash/dev' into Alpha
...
# Conflicts:
# .github/workflows/docker.yml
# adapter/outboundgroup/fallback.go
# adapter/outboundgroup/loadbalance.go
# adapter/outboundgroup/relay.go
# adapter/outboundgroup/selector.go
# adapter/outboundgroup/urltest.go
# config/config.go
# go.mod
# go.sum
# main.go
# test/go.mod
# test/go.sum
2022-03-17 01:41:51 +08:00
yaling888
346d817dba
Chore: Merge branch 'ogn-dev' into with-tun
2022-03-16 20:16:30 +08:00
Dreamacro
6a661bff0c
Migration: go 1.18
2022-03-16 12:10:13 +08:00
yaling888
8333815e95
Chore: refactor TUN
2022-03-09 05:08:35 +08:00
yaling888
b192238699
Merge from remote branch
2022-02-23 01:00:27 +08:00
Clash-Mini
176eb3926b
Merge remote-tracking branch 'pro-plus/plus-pro' into Feature
...
# Conflicts:
# .github/workflows/Alpha.yml
# .github/workflows/codeql-analysis.yml
# .github/workflows/docker.yml
# .github/workflows/linter.yml
# .github/workflows/stale.yml
# Makefile
# README.md
# adapter/outbound/vless.go
# component/dialer/dialer.go
# component/geodata/geodata.go
# component/geodata/router/condition.go
# config/config.go
# config/initial.go
# constant/metadata.go
# constant/path.go
# constant/rule.go
# constant/rule_extra.go
# dns/filters.go
# go.mod
# go.sum
# hub/executor/executor.go
# hub/route/configs.go
# listener/listener.go
# listener/tun/dev/dev.go
# listener/tun/dev/dev_darwin.go
# listener/tun/dev/dev_linux.go
# listener/tun/dev/dev_windows.go
# listener/tun/dev/dev_windows_extra.go
# listener/tun/dev/wintun/dll_windows.go
# listener/tun/dev/wintun/session_windows.go
# listener/tun/ipstack/gvisor/tun.go
# listener/tun/ipstack/gvisor/tundns.go
# listener/tun/ipstack/stack_adapter.go
# listener/tun/ipstack/system/tun.go
# listener/tun/tun_adapter.go
# main.go
# rule/base.go
# rule/common/process.go
# rule/geoip.go
# rule/parser.go
# rule/port.go
# test/go.mod
# test/go.sum
# test/vless_test.go
# transport/vless/xtls.go
# tunnel/tunnel.go
2022-02-04 05:30:21 +08:00
Skyxim
a832cfdb65
[Fixed] compatible cfw
2022-01-05 19:28:54 +08:00
yaling888
c14dd79e69
Merge from remote branch
2022-01-05 01:46:37 +08:00
Clash-Mini
9475799615
make tun config compatible with premium
2022-01-05 00:33:42 +08:00
Maze.tsz
3bb32d12e0
Merge remote-tracking branch 'clash/dev' into Meta
...
# Conflicts:
# .github/workflows/docker.yml
# dns/server.go
# go.mod
# go.sum
# hub/executor/executor.go
# test/go.mod
# test/go.sum
2022-01-04 17:31:07 +08:00
Maze.tsz
e2a0437685
[fix]
2021-12-27 03:16:48 +08:00
yaling888
5657aa50cf
Merge from remote branch
2021-12-09 21:38:24 +08:00
bobo liu
78e105f3b2
Chore: builtin right mime of .js ( #1808 )
2021-12-08 13:38:25 +08:00
maze.y2b@gmail.com
99f0231a9b
style
2021-12-03 21:54:45 +08:00
maze.y2b@gmail.com
edf1bb476d
test
2021-12-03 20:38:40 +08:00
Skyxim
c6f923041f
Feature:Supported Rule-Set
2021-12-02 22:56:17 +08:00
maze.y2b@gmail.com
aeddc8eb1d
fix proxies callback
2021-11-21 16:57:22 +08:00
Mazeorz
900e852525
[test]
2021-11-17 16:03:47 +08:00
Mazeorz
5d510eb5aa
[test]core 1.8
2021-11-16 20:08:52 +08:00
yaling888
ba2fd00f01
Merge from remote branch
2021-07-28 22:13:21 +08:00
ayanamist
247dd84970
Chore: logging real listen port ( #1492 )
2021-07-19 14:07:51 +08:00
yaling888
5852245045
Merge from remote branch
2021-07-07 03:53:32 +08:00
Dreamacro
d755383e39
Chore: move provider interface to constant
2021-07-06 00:31:13 +08:00
yaling888
d7732f6ebc
Code: refresh code
2021-07-01 22:49:29 +08:00
ayanamist
244cb370a4
Change: config reload API use default path when both path and payload don't exist ( #1447 )
2021-06-21 17:33:34 +08:00
Dreamacro
6091fcdfec
Style: code style
2021-06-13 17:23:10 +08:00
Dreamacro
045edc188c
Style: code style
2021-06-10 14:05:56 +08:00