Commit Graph
63 Commits
Author SHA1 Message Date
tnextday 192d769f75 chore: ensure forced domains are always sniffed (#1793)
When a domain matches forceDomain:
- SkipList is not checked
- Failed attempts are not cached
- Sniffing is attempted every time

This ensures forced domains are always sniffed regardless of previous failures.
2025-01-16 10:17:32 +08:00
laburaps c7fc93df37 fix: the TLS Sniffer fails when the length of the ClientHello packet exceeds the TCP MSS (#1711)
* chore: add uniformly formatted debug info to sniffDomain

* fix: when data is not enough, attempt to peek more data and retry

* chore: reduce debug info of sniffDomain
2024-12-12 19:02:34 +08:00
laburaps 5d9d8f4d3b fix: check whether the dst port is within the specified range (#1706) 2024-12-10 16:15:08 +08:00
wwqgtxx 4fecf68b8b chore: add sourceGeoIP and sourceIPASN to metadata 2024-08-28 12:25:45 +08:00
wwqgtxx 8483178524 feat: sniff add skip-src-address and skip-dst-address 2024-08-27 20:33:43 +08:00
wwqgtxx 7fd0467aef feat: sniffer's force-domain and skip-domain support rule-set: and geosite: 2024-08-14 23:29:53 +08:00
wwqgtxx 4eb13a73bf fix: wrong usage of RLock 2024-07-22 09:57:57 +08:00
xishang0128 c504985b99 chore: Adjust sniff logs 2024-05-19 19:35:12 +08:00
Larvan2 1a0932c210 feat: support ARC for DNS cache 2023-12-03 08:37:05 +08:00
wwqgtxx 17c9d507be chore: hello mihomo 2023-11-03 21:58:21 +08:00
xishang0128 0d3197e437 chore: fix sniffer log error 2023-10-20 22:36:29 +08:00
wwqgtxx ea7e15b447 chore: decrease memory copy in quic sniffer 2023-10-19 23:51:37 +08:00
wwqgtxx 8e637a2ec7 chore: code cleanup 2023-10-19 20:44:49 +08:00
5aaee9 de90c276af feat(sniffer): add quic sniffer 2023-10-19 18:30:20 +08:00
Kiva 67d7e53f7a feat: recovering preHandleMetadata failure from sniffing (#769) 2023-09-24 19:27:55 +08:00
wwqgtxx e2e0fd4eba chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
3ef81afc76 [Feature] Proxy stores delay data of different URLs. And supports specifying different test URLs and expected statue by group (#588)
Co-authored-by: Larvan2 <[email protected]>
Co-authored-by: wwqgtxx <[email protected]>
2023-06-04 11:51:30 +08:00
Skyxim 7513761540 fix: not match top domain 2023-04-20 05:45:22 +00:00
Skyxim cfd03a99c2 feat: nameserver-policy support use rule-providers and reduce domain-set memory 2023-04-01 11:53:39 +08:00
wwqgtxx 75680c5866 chore: use early conn to support real ws 0-rtt 2023-02-24 09:54:54 +08:00
Skyxim 4643b5835e chore: setting sniffHost value 2023-02-10 13:01:53 +08:00
Skyxim c83eb2e0c9 chore: adjust log 2023-02-07 21:29:40 +08:00
Skyxim 096bb8d439 feat: add override-destination for sniffer 2023-01-23 14:08:11 +08:00
Skyxim df1f6e2b99 feat: better config for sniffer 2023-01-23 13:16:25 +08:00
Skyxim d1f5bef25d chore: better log 2023-01-23 11:17:30 +08:00
wwqgtxx dc3e144b6a Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
wwqgtxx 6dadc2357a chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
wwqgtxx 22fb219ad8 chore: trie.DomainTrie will not depend on zero value 2022-11-02 22:28:18 +08:00
wwqgtxx 023e3d0c41 chore: add parse-pure-ip in sniffer 2022-10-14 08:42:28 +08:00
wwqgtxx 0da49bd92b chore: add force-dns-mapping in sniffer 2022-10-14 07:46:33 +08:00
Skyxim 4948f3f213 chore: Cache and skip multiple failed addresses 2022-10-11 21:35:26 +08:00
Skyxim 98f4f4d6c4 chore: log error 2022-08-23 20:12:28 +08:00
Skyxim ec318f1cc5 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
Skyxim 835cab58cf fix: http sniffer skip ip 2022-08-17 12:41:36 +08:00
adlyq 8b09db5f7f fix: Rule-Set中不解析DNS
feat: RULE-SET支持no-resolve
2022-05-18 18:43:44 +08:00
Skyxim aded1b78b5 chore: sniffer give the err to the caller 2022-05-08 09:09:39 +08:00
Skyxim f0a22a4a4c chore: modify sniff error log 2022-05-07 12:44:28 +08:00
adlyq 7db07630a7 fix: DNS mapping error when sniffing result is ip, Discard sniffs that result in ip 2022-05-02 22:24:14 +08:00
Skyxim 80ff5917f7 fix: The sniffer does not clean up the original address 2022-05-02 17:09:24 +08:00
MetaCubeX 4b04faa88b fix: http sniffer return host that was handled correctly 2022-05-02 09:51:26 +08:00
MetaCubeX 0cf539fb82 chore: adjust sniffer constant 2022-05-02 08:49:18 +08:00
MetaCubeX 5ccc047fe4 chore: adjust sniffer err info 2022-05-02 05:17:13 +08:00
MetaCubeX 6d704b9cd1 feat: sniffer support http 2022-05-02 05:10:18 +08:00
Meta 5a1e1050b7 chore: adjust sniffer log 2022-04-27 18:04:02 +08:00
Meta 183973e823 chore: Adjust the tcp-concurrent and sniffer log 2022-04-27 15:22:42 +08:00
Skyxim 0947cb4a5a fix: whitelist 2022-04-23 09:52:23 +08:00
Skyxim 0368bb4180 fix: sniffer port whitelist error 2022-04-23 09:36:11 +08:00
adlyq b0dd74e74e fix: sniffer 2022-04-22 17:00:39 +08:00
Skyxim 9e6ba64940 fix: add wait timeout, and log 2022-04-21 08:08:37 -07:00
Skyxim bee1bddceb feat: add sniffer port whitelist, when empty will add all ports 2022-04-21 07:06:08 -07:00