Commit graph

282 commits

Author SHA1 Message Date
gVisor bot
4055f72f48 feat: nameserver policy support multiple server 2023-02-03 21:40:05 +08:00
gVisor bot
05436374b5 fix: parse error 2023-01-28 16:09:14 +08:00
gVisor bot
b2c7c989e0 chore: clear code 2023-01-27 17:10:15 +08:00
gVisor bot
f64f1b787f chore: better parsing pure UDP DNS 2023-01-27 17:02:58 +08:00
gVisor bot
cb0e7b71da Chore: Better parsing pure IPv6 UDP DNS 2023-01-27 15:08:05 +08:00
gVisor bot
1c2c9e7368 chore: better parse udp dns 2023-01-27 13:07:52 +08:00
gVisor bot
9d9d4565e3 feat: add override-destination for sniffer 2023-01-23 14:08:11 +08:00
gVisor bot
86ad74a0ae feat: better config for sniffer 2023-01-23 13:16:25 +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
bb68939b56 fix: config parse error 2023-01-14 22:34:54 +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
f59d3e1c6d fix: parse DoH url 2022-12-08 12:46:46 +08:00
gVisor bot
2a1eb085a5 fix: let any type of dns server can use remote proxy 2022-12-07 13:00:45 +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
b414d0ef10 chore: cleanup rule parse code 2022-12-05 22:29:52 +08:00
gVisor bot
cfce7d4838 chore: listeners support tun 2022-12-05 17:43:50 +08:00
gVisor bot
3b1b077f80 chore: rebuild InboundListener 2022-12-04 21:53:13 +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
146f05f903 fix: a temporary solution for error reporting when enabling tun for devices that do not have an ipv6 environment. 2022-12-03 00:10:50 +08:00
gVisor bot
b48387d9f4 chore: optimize DomainTrie for only one child 2022-11-30 19:42:05 +08:00
gVisor bot
537035ffa8 chore: decrease DomainTrie's memory use 2022-11-30 18:50:46 +08:00
gVisor bot
cc1f051d99 Chore: allow tunnels don't set special proxy 2022-11-28 20:31:32 +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
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
70c6e586ca Merge pull request #256 from Skimmle/Alpha
featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy
2022-11-12 11:19:04 +08:00
gVisor bot
34ec07f589 featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy, DoH support perfer and force http3 2022-11-12 11:14:51 +08:00
gVisor bot
4abbe8ce65 chore: add vmess, shadowsocks, tcptun and udptun listener 2022-11-11 20:56:08 +08:00
gVisor bot
3d4ad0d317 fix: when host's ip in fakeip's range, don't send to remote server 2022-11-10 21:08:06 +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
99a1561cd4 chore: trie.DomainTrie will not depend on zero value 2022-11-02 22:28:18 +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
5aea89f2fd chore: add sing-tun's custom route support 2022-10-13 19:26:14 +08:00
gVisor bot
5574d8e688 fix: tun stack shown 2022-10-10 19:02:57 +08:00
gVisor bot
b4d4dc251d fix: try let fakeip mode get real destination ip 2022-10-09 10:48:26 +08:00
gVisor bot
a73f1f0b37 fix: don't set auto detect interface with tun name 2022-10-07 16:54:08 +08:00
gVisor bot
110e0014d1 chore: fix sing-tun's BuildAndroidRules 2022-10-06 22:18:49 +08:00
gVisor bot
afd5e48adc chore: use sing-tun to replace old tun_adapter 2022-10-06 19:23:38 +08:00
gVisor bot
d6dc5ba19c feat: support sub-rule, eg.
rules:
  - SUB-RULE,(AND,((NETWORK,TCP),(DOMAIN-KEYWORD,google))),TEST2
  - SUB-RULE,(GEOIP,!CN),TEST1
  - MATCH,DIRECT

sub-rules:
  TEST2:
    - MATCH,Proxy
  TEST1:
    - RULE-SET,Local,DIRECT,no-resolve
    - GEOSITE,CN,Domestic
    - GEOIP,CN,Domestic
    - MATCH,Proxy
2022-09-06 17:30:35 +08:00
gVisor bot
f2d7db4a41 Merge remote-tracking branch 'origin/Alpha' into Alpha
# Conflicts:
#	component/sniffer/http_sniffer.go
2022-08-22 23:22:26 +08:00
gVisor bot
48f30b01ef fix: ebpf support 2022-08-22 23:17:41 +08:00
gVisor bot
be49fcfd12 Chore: the default sniffing is changed to a standard port, and the sniffing result is only used for this connection. 2022-08-21 08:43:57 +08:00
gVisor bot
2c10af7b1d support ebpf 2022-07-29 09:08:35 +08:00