#2758·mihomo

[Feature] 支持通过 HTTP /TCP Body来确认节点可用

Author: techblackCreated Apr 28, 2026Updated Sep 16, 2026
Labelsenhancement

验证步骤

  • 我已经阅读了 文档,确认了该功能没有实现
  • 我已在 Issue Tracker 中寻找过我要提出的功能请求,并且没有找到
  • 我是中文用户,而非其他语言用户

描述

一个自定义“智能“分组: 填写detection_url: 和 detection_code_match: detection_body_match: 来判定代理该不该在这个组出现 (用途: 流媒体判定,甚至配合cloudflare的cdn-cgi/trace里面的地理位置,直接可以做地区分流,摆脱之前的用代理名来分)

  - name: "HK地区节点"
    type: detection
    proxies:
      - ss1
      - ss2
      - vmess1
    interval: 300
    detection_url: https://cp.cloudflare.com/cdn-cgi/trace
    detection_code_match: [200]
    detection_body_match: loc=HK

  - name: "Netflix解锁"
    type: detection
    proxies:
      - ss1
      - ss2
      - vmess1
    interval: 300
    detection_url: https://www.netflix.com/title/70143836
    detection_code_match: [200]
    detection_body_match: "Breaking Bad"