Commit graph

138 commits

Author SHA1 Message Date
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
c675e82fbf chore: migrate from gorilla/websocket to gobwas/ws 2023-10-06 17:44:36 +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
0932a9c83f 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
gVisor bot
d960e63dda chore: decrease goroutine used in core tunnel 2023-09-28 18:59:31 +08:00
gVisor bot
20ca57e1ab chore: fix typo 2023-09-24 19:00:51 +08:00
gVisor bot
5cae2e157b chore: handle provider proxies in proxies api 2023-09-24 15:39:14 +08:00
gVisor bot
e340aee94e chore: updateUI API return 501 when config incomplete 2023-09-23 18:00:07 +08:00
gVisor bot
23970f4332 feat: add provider proxies api 2023-09-23 17:54:20 +08:00
gVisor bot
c79c2f48f9 feat: update external-ui 2023-09-18 19:21:30 +08:00
gVisor bot
f398b6fda9 feat: download/upgrade XD to external-ui 2023-09-16 11:44:15 +08:00
gVisor bot
b8894c3d09 chore: rename func name 2023-08-30 15:52:41 +08:00
gVisor bot
c5631f0519 fix: call shutdown before restart (#709) 2023-08-30 15:49:28 +08:00
gVisor bot
4de7bc8eae chore: restore unselected
clear selected node in outboundgoup/URLtest when getGroupDelay triggered
2023-08-18 22:17:07 +08:00
gVisor bot
ea6e63e94c chore: better close single connection in restful api 2023-06-26 18:25:36 +08:00
gVisor bot
679348d994 chore: avoid unneeded map copy when close connection in restful api 2023-06-26 17:46:14 +08:00
gVisor bot
e051dc6eb6 fix: tuic server cwnd parsing 2023-06-21 14:00:49 +08:00
gVisor bot
011cde328c feat: support tuicV5 2023-06-12 18:42:46 +08:00
gVisor bot
f7362f82b5 fix: Resolve delay omission in the presence of nested proxy-groups 2023-06-07 13:20:45 +08:00
gVisor bot
18b21afee6 fix: go1.19 compile 2023-06-06 10:47:50 +08:00
gVisor bot
ea5a231145 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
gVisor bot
dadd626f91 [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
gVisor bot
46ed30506e chore: better updater 2023-05-17 00:33:59 +08:00
gVisor bot
fee9cb7bc8 chore: cleanup listener before restart 2023-04-10 21:13:23 +08:00
gVisor bot
99df383103 fix: chat.js not begin with zero 2023-04-08 01:39:48 +08:00
gVisor bot
868497ac6b feat: core support memory chat 2023-04-08 00:55:25 +08:00
gVisor bot
b7b6e1c646 chore: better upgrade 2023-04-02 15:16:42 +08:00
gVisor bot
a461d29a84 chore: clean up code 2023-03-29 16:19:26 +08:00
gVisor bot
dacad9b9cc chore: skip restart when update error 2023-03-27 00:49:47 +08:00
gVisor bot
dba4917ed3 chore: clean up code 2023-03-25 22:56:24 +08:00
gVisor bot
404323dee4 feat: add upgrade api
example: curl -X POST -H "Authorization: Bearer 123456" http://ip:port/upgrade
2023-03-23 20:48:20 +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
d2b5e19b68 fix: ensure restart api return ok 2023-03-14 22:38:59 +08:00
gVisor bot
7811bb31a8 chore: add /restart to restful api 2023-03-14 22:19:12 +08:00
gVisor bot
08c113b079 chore: cleanup dialer's code 2023-03-06 23:23:05 +08:00
gVisor bot
315d8df892 chore: add pprof api, when log-level is debug 2023-02-23 23:30:53 +08:00
gVisor bot
aa9da5dcb0 chore: cleanup natTable's api 2023-02-18 13:16:07 +08:00
gVisor bot
8fd0eae10b Fix: dns api panic on disable dns section (#2498) 2023-01-28 00:55:30 +08:00
gVisor bot
a4a9886077 Feature: add dns query json api 2023-01-28 00:55:24 +08:00
gVisor bot
2df61cdaa0 fix: config crash 2022-12-06 09:04:30 +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
f459018eae refactor: adjust config 2022-12-03 14:14:15 +08:00
gVisor bot
ad73c505bb feat: add tls port for RESTful api and external controller 2022-12-03 12:25:10 +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
24cfa48eef chore: better tfo inbound code 2022-11-16 10:43:16 +08:00
gVisor bot
722e8a6c27 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00