Commit graph

312 commits

Author SHA1 Message Date
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
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
587d8a6386 feat: add inbound-mptcp for listeners 2023-08-09 17:09:03 +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
75e285b63e feat: Updater detect and download AMD64v3 artifact
Co-authored-by: Larvan2 <78135608+larvan2@users.noreply.github.com>
2023-05-14 12:34:47 +08:00
gVisor bot
23a7aaeeed chore: force set SelectAble when start load cache 2023-04-24 08:07:17 +08:00
gVisor bot
e604ec6bf8 chore: wireguard dns can work with domain-based server 2023-04-11 14:10:57 +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
56a715377c chore: update use compatible version for windows/linux amd64 2023-04-01 15:16:45 +08:00
gVisor bot
96461ab557 feat: nameserver-policy support use rule-providers and reduce domain-set memory 2023-04-01 11:53:39 +08:00
gVisor bot
78d1ab2509 fix: upgrade backup 2023-03-29 13:59:36 +00:00
gVisor bot
a461d29a84 chore: clean up code 2023-03-29 16:19:26 +08:00
gVisor bot
380b3eaa0d chore: use inner for upgrade core 2023-03-29 06:03:13 +00: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
2fc32a28e2 chore: update for testing the updater 2023-03-23 21:04:04 +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
ce14c86e4c chore: Chore: adjust the loading order, and then load the resource at last 2023-03-14 22:37:07 +08:00
gVisor bot
7811bb31a8 chore: add /restart to restful api 2023-03-14 22:19:12 +08:00
gVisor bot
e5eab112d0 feta: add hosts support domain and mulitple ip (#439)
* feat: host support domain and multiple ips

* chore: append local address via `clash`

* chore: update hosts demo

* chore: unified parse mixed string and array

* fix: flatten cname

* chore: adjust logic

* chore: reuse code

* chore: use cname in tunnel

* chore: try use domain mapping when normal dns

* chore: format code
2023-03-12 15:00:59 +08:00
gVisor bot
7ef83f5131 chore: exposure ipv6 wait time 2023-03-10 23:38:16 +08:00
gVisor bot
08c113b079 chore: cleanup dialer's code 2023-03-06 23:23:05 +08:00
gVisor bot
bdb4aa3c1f refactor: tcp dial (#412)
Non-concurrent support to try to connect in turn

fix: serial dual stack dial
2023-02-26 12:12:25 +08:00
gVisor bot
1432dd4e97 chore: add custom ca trust 2023-02-25 22:01:20 +08:00
gVisor bot
df28a353b9 fix: tunnel's inboundTFO missing 2023-02-24 14:19:50 +08:00
gVisor bot
315d8df892 chore: add pprof api, when log-level is debug 2023-02-23 23:30:53 +08:00
gVisor bot
4be11bfa08 chore: adjust the configuration loading order 2023-02-23 14:13:27 +08:00
gVisor bot
62b2f9f3eb chore: adjust the configuration loading order 2023-02-22 23:45:18 +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
86ad74a0ae feat: better config for sniffer 2023-01-23 13:16:25 +08:00
gVisor bot
a707db90f4 chore: adjust log 2023-01-23 11:14:45 +08:00