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
gVisor bot
80cc0d8c10
fix: ipv6 logic
2023-01-21 22:31:07 +08:00
gVisor bot
bc34532418
Fix: Remove EnableProcess from config.go and enable-process from config.yaml.
...
Fix: FindProcess is now enabled by default when the rule set contains process-name rules.
2023-01-20 16:29:08 +08:00
gVisor bot
8ec6c87a2b
refactor: replace experimental.fingerprints with custom-certificates and Change the fingerprint verification logic to SSL pinning
2023-01-14 21:08:06 +08:00
gVisor bot
4a0413a33d
fix #322 : add option general.find-process-mode, user can turn off findProcess feature in router
...
findProcess slow down connection due to repeat call to FindProcessName in router environment
this option has 3 values: always, strict, off
- always, equal to enable-process: true. Just try to merge all process related option into one
- strict, as default value, behavior remains unchanged
- off, turn off findProcess, useful in router environment
2023-01-09 19:48: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
3b1b077f80
chore: rebuild InboundListener
2022-12-04 21:53:13 +08:00
gVisor bot
e01cfc5627
chore: support skip the same config Listeners' Close and Listen
2022-12-04 17:20:24 +08:00
gVisor bot
1bcd6cac83
fix: close linstener
2022-12-04 15:15:23 +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
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
722e8a6c27
Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha
2022-11-12 20:43:48 +08:00
gVisor bot
4abbe8ce65
chore: add vmess, shadowsocks, tcptun and udptun listener
2022-11-11 20:56:08 +08:00
gVisor bot
31f6c66e70
fix: correct yaml config name
2022-11-04 17:38:24 +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
560862d4e2
chore: add parse-pure-ip in sniffer
2022-10-14 08:42:28 +08:00
gVisor bot
02dd19e311
chore: add force-dns-mapping in sniffer
2022-10-14 07:46:33 +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
e96e586a37
Migration: go1.19
2022-08-07 21:45:50 +08:00
gVisor bot
31d17d28d3
Merge branch 'dev' into Alpha
2022-08-01 22:13:46 +08:00
gVisor bot
1013612dc1
fix: repeat set http status
2022-08-01 22:12:36 +08:00
gVisor bot
2c10af7b1d
support ebpf
2022-07-29 09:08:35 +08:00
gVisor bot
9ea1020d84
clean code
2022-07-24 01:07:30 +08:00
gVisor bot
100b6b7f9b
Merge pull request #129 from zhudan/Alpha
...
入站增加TFO支持(默认不开启)
2022-07-22 06:32:34 -04:00
gVisor bot
9daef5bf44
inbound tfo
2022-07-22 15:16:09 +08:00
gVisor bot
21d44fa391
refactor: DoH use fragment setting params
2022-07-21 21:40:28 +08:00
gVisor bot
b25ad6fda0
chore: log level should be setting after launched
2022-07-16 13:33:27 +08:00
gVisor bot
27b5ecf3ab
fix: skip-cert-verify not work
2022-07-11 12:37:27 +08:00
gVisor bot
91e1649822
feat: add fingerprint for tls verify
2022-07-10 20:44:24 +08:00
gVisor bot
12338f285b
feat: try h3 connect DOH, failed will fall back h2; turn on with dns.prefer-h3: true
2022-07-03 21:59:47 +08:00
gVisor bot
21e9374ed6
Merge branch 'dev' into Alpha
2022-06-26 21:53:03 +08:00
gVisor bot
3116efd498
chore: RESTful test group use request context
2022-06-25 08:53:11 +08:00
gVisor bot
62eca0c8fa
ClashX hack. ( #102 )
2022-06-24 20:08:33 +08:00
gVisor bot
f9150e09ea
feat: RESTful api add interface-name field on patch config
2022-06-18 17:29:19 +08:00
gVisor bot
14dafb2d5c
feat: add param general.enable-process, it will always find process or uid, default value is false
2022-06-14 23:08:07 +08:00
gVisor bot
271be43a9d
refactor: finding process and uid should to find with match process or uid rule, reduce memory allocation
2022-06-14 22:52:56 +08:00
gVisor bot
272b3e924a
Chore: add redir-host deprecated warnning
2022-06-14 11:26:04 +08:00
gVisor bot
b0f7b9e4e0
feat: proxies group URLTest api
2022-05-30 22:07:09 +08:00
gVisor bot
322edc166f
feat: RESTful API support set tcp-concurrent
2022-05-26 19:49:12 +08:00
gVisor bot
6f2dc0336f
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
gVisor bot
09690122e4
feat: RESTful API support disable sniffer
2022-05-24 13:44:52 +08:00
gVisor bot
010a2aaf9c
feat: fallback can be select by user
2022-05-24 10:17:44 +08:00
gVisor bot
ba7e0887bd
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
gVisor bot
2a00f57fd9
feat: 安卓恢复进程规则,可通过enable-process开关,默认true
2022-05-19 20:44:09 +08:00
gVisor bot
d3e20a87de
fix: 热重载Tun配置
2022-05-19 19:19:19 +08:00
gVisor bot
cae1e23735
chore: 暴露数据给前端
2022-05-17 16:47:21 +08:00
gVisor bot
125f35e426
fix: 当dns被禁用时,dns将根据general ipv6设置解析dns
2022-05-17 09:01:41 +08:00
gVisor bot
c3e7173187
chore: remove Script mode residual code.
2022-05-14 13:00:33 +08:00
gVisor bot
3d0048425b
fix: limit load provider concurrent size
2022-05-08 22:52:46 +08:00
gVisor bot
e6df3342da
fix: Adjust the timing of loading proxy selection
2022-05-08 07:58:26 +08:00
gVisor bot
4ccedb34e8
fix: provider auto update
2022-05-08 00:04:16 +08:00
gVisor bot
85a465bacd
chore: Initialize provider ahead of time
2022-05-05 21:14:46 +08:00
gVisor bot
cb06de7d15
chore: sniffer param skip-sni renamed to ship-domain, old param will be removed in the release version
2022-05-03 23:10:59 +08:00
gVisor bot
4d8ba83abe
fix: patch update support tun
2022-05-03 19:31:00 +08:00
gVisor bot
adcad74452
refactor: provider init order
2022-05-02 16:47:48 +08:00
gVisor bot
4464d486fb
fix: tun dns
2022-05-02 14:21:37 +08:00
gVisor bot
b6efac8d79
refactor: remove dns and tun relationship, the enabled of dns module should be decided by user
2022-05-01 09:41:27 +08:00
gVisor bot
07b2f4e4f3
fix: rule provider http api crash
2022-04-28 09:44:29 +08:00
gVisor bot
88346ccdcd
Merge remote-tracking branch 'meta/Alpha' into Alpha
2022-04-28 08:56:00 +08:00
gVisor bot
c076d38ab1
refactor: adjust provider loading order, remove meaningless pointers
2022-04-28 08:55:45 +08:00
gVisor bot
d1aa6d1431
refactor: tcp concurrent
2022-04-27 21:37:20 +08:00
gVisor bot
c9740c2708
Fix: make log api unblocked
2022-04-26 22:36:10 +08:00
gVisor bot
ad67a1c34c
Chore: use generics as possible
2022-04-25 13:18:30 +08:00
gVisor bot
83ecca0061
fix: ipv6 enable logic
2022-04-23 14:21:58 +08:00
gVisor bot
fbcf9b6801
fix: ipv6 enable logic
2022-04-23 02:03:10 +08:00
gVisor bot
532ec82a08
feat: support tcp concurrent, Separate dialing and dns resolver ipv6
...
tcp-concurrent:true
2022-04-23 00:27:22 +08:00
gVisor bot
03a014957f
feat: add sniffer port whitelist, when empty will add all ports
2022-04-21 07:06:08 -07:00
gVisor bot
caf271a669
Chore: fix typo
2022-04-19 22:38:20 +08:00