Commit graph

45 commits

Author SHA1 Message Date
gVisor bot
92b88136f4 feat: recovering preHandleMetadata failure from sniffing (#769) 2023-09-24 19:27:55 +08:00
gVisor bot
fd9aca5f39 chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
gVisor bot
6c51ee9b38 fix: not match top domain 2023-04-20 05:45:22 +00: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
a132fe585b chore: use early conn to support real ws 0-rtt 2023-02-24 09:54:54 +08:00
gVisor bot
7021dc1878 chore: setting sniffHost value 2023-02-10 13:01:53 +08:00
gVisor bot
86fe3c1f24 chore: adjust log 2023-02-07 21:29:40 +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
643979800c chore: better log 2023-01-23 11:17:30 +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
d5d5dc2303 chore: remove AddrType on Metadata 2022-11-11 09:19:50 +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
aadd28d149 chore: Cache and skip multiple failed addresses 2022-10-11 21:35:26 +08:00
gVisor bot
4a3d53c7ee chore: log error 2022-08-23 20:12:28 +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
fb3472c53a fix: Rule-Set中不解析DNS
feat: RULE-SET支持no-resolve
2022-05-18 18:43:44 +08:00
gVisor bot
7c22b555a8 chore: sniffer give the err to the caller 2022-05-08 09:09:39 +08:00
gVisor bot
83b64eb86e chore: modify sniff error log 2022-05-07 12:44:28 +08:00
gVisor bot
46bf5d2561 fix: DNS mapping error when sniffing result is ip, Discard sniffs that result in ip 2022-05-02 22:24:14 +08:00
gVisor bot
6a3e0c0225 fix: The sniffer does not clean up the original address 2022-05-02 17:09:24 +08:00
gVisor bot
41f430e981 chore: adjust sniffer constant 2022-05-02 08:49:18 +08:00
gVisor bot
8ade548ab8 chore: adjust sniffer err info 2022-05-02 05:17:13 +08:00
gVisor bot
6e56205ba6 chore: adjust sniffer log 2022-04-27 18:04:02 +08:00
gVisor bot
746e1382b5 chore: Adjust the tcp-concurrent and sniffer log 2022-04-27 15:22:42 +08:00
gVisor bot
b5e7abfa15 fix: whitelist 2022-04-23 09:52:23 +08:00
gVisor bot
7cdbab467f fix: sniffer port whitelist error 2022-04-23 09:36:11 +08:00
gVisor bot
de105c08f6 fix: sniffer 2022-04-22 17:00:39 +08:00
gVisor bot
8695847210 fix: add wait timeout, and log 2022-04-21 08:08:37 -07: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
e2dbbb7cfe Refactor: metadata use netip.Addr 2022-04-20 22:52:05 +08:00
gVisor bot
b6a134b34c refactor: sniffer param force and reverses deprecated, will be removed when release version, replace force-domain and skip-sni,
force-domain add '+' equivalent to force is true
sniffer:
  enable: true
  force-domain:
    - "google.com"
  skip-sni:
    - www.baidu.com
  sniffing:
    - tls
2022-04-17 20:02:13 +08:00
gVisor bot
363f9ff181 fix: domain tree match failed 2022-04-16 11:55:49 +08:00
gVisor bot
566ed821fc fix: domain type fix Mapping 2022-04-16 09:51:31 +08:00
gVisor bot
181d213321 chore: log style 2022-04-16 09:04:43 +08:00
gVisor bot
baac54e8ee fix: reverse error when force is false 2022-04-16 08:53:31 +08:00
gVisor bot
6c56a3b80e feat: add domain list for sniffer, reverse force logic
when force is false, if domain in the list, will force replace
when force is true, if sniff domain in the list, will skip it
2022-04-16 08:21:31 +08:00
gVisor bot
d55f77798d chore:adjust sniffer debuglog info 2022-04-13 08:38:55 +08:00
gVisor bot
7b22a3bd62 chore: adjust code 2022-04-12 21:39:31 +08:00
gVisor bot
895d93b10b chore:merge & adjust code 2022-04-12 20:20:04 +08:00
gVisor bot
c9a9c49a16 chore: adjust code 2022-04-11 13:23:59 +08:00
gVisor bot
d7d6ed5c70 fix: code logic error 2022-04-10 20:01:35 +08:00
gVisor bot
b2becaffe3 feat: sniffer support
sniffer:
  enable: true
  force: false # Overwrite domain
  sniffing:
    - tls
2022-04-09 22:30:36 +08:00