MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
15.56k stars 2.56k forks source link

[Bug] win11在tun模式下本地ula地址的smb连接没有绕过核心 #1543

Open rumianoesa opened 21 hours ago

rumianoesa commented 21 hours ago

Verify steps

操作系统

Windows

系统版本

22631.4169

Mihomo 版本

Mihomo Meta v1.18.8 windows amd64 with go1.23.0 Mon Sep 2 08:37:40 UTC 2024

配置文件

log-level: debug
mode: rule
find-process-mode: off
interface-name: 以太网
ipv6: true
keep-alive-idle: 600
keep-alive-interval: 15
external-ui: ui
external-ui-name: yacd
external-ui-url: https://mirror.ghproxy.com/https://github.com/MetaCubeX/Yacd-meta/archive/refs/heads/gh-pages.zip
external-controller: 127.0.0.1:9090
secret: null
profile:
  store-selected: true
  store-fake-ip: true
allow-lan: false
port: 25378
socks-port: null
mixed-port: 25379
redir-port: null
tproxy-port: null
geodata-mode: true
geodata-loader: standard
geox-url:
  geosite: https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat
  mmdb: https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb
  geoip: https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat
  asn: https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb
geo-auto-update: false
geo-update-interval: 24
unified-delay: true
tcp-concurrent: true
proxies:
  - name: 🇭🇰 香港优选
    server: 
    port: 8443
    type: trojan
    password: 
    tls: true
    sni: 
    skip-cert-verify: false
    network: ws
    ws-opts:
      path: /?ed=2560
      headers:
        host: 
    tfo: true
  - name: ⚛ GPT优选
    server: 
    port: 8443
    type: trojan
    password: 
    tls: true
    sni: 
    skip-cert-verify: false
    network: ws
    ws-opts:
      path: /?ed=2560
      headers:
        host: 
    tfo: true
  - name: 🇭🇰 香港节点ws
    server: 
    port: 80
    type: vmess
    uuid: 
    alterId: 0
    cipher: auto
    tls: false
    network: ws
    ws-opts:
      path: /
      headers:
        host: 
    tfo: true
    udp: true
  - name: 🇹🇼 台湾节点ws
    server: 
    port: 80
    type: vmess
    uuid: 
    alterId: 0
    cipher: auto
    tls: false
    network: ws
    ws-opts:
      path: /
      headers:
        host: 
    tfo: true
    udp: true
  - name: 🇸🇬 狮城节点ws
    server: 
    port: 80
    type: vmess
    uuid: 
    alterId: 0
    cipher: auto
    tls: false
    network: ws
    ws-opts:
      path: /
      headers:
        host: 
    tfo: true
    udp: true
  - name: 🇯🇵 日本节点ws
    server: 
    port: 80
    type: vmess
    uuid: 
    alterId: 0
    cipher: auto
    tls: false
    network: ws
    ws-opts:
      path: /
      headers:
        host: 
    tfo: true
    udp: true
  - name: 🇭🇰 香港节点ss
    server: 
    port: 
    type: ss
    cipher: chacha20-ietf-poly1305
    password: 
    tfo: true
    udp: true
  - name: 🇹🇼 台湾节点ss
    server: 
    port: 
    type: ss
    cipher: chacha20-ietf-poly1305
    password: 
    tfo: true
    udp: true
  - name: 🇸🇬 狮城节点ss
    server: 
    port: 
    type: ss
    cipher: chacha20-ietf-poly1305
    password: 
    tfo: true
    udp: true
  - name: 🇯🇵 日本节点ss
    server: 
    port: 
    type: ss
    cipher: chacha20-ietf-poly1305
    password: 
    tfo: true
    udp: true
proxy-groups:
  - name: 📺 Bilibili
    type: select
    proxies:
      - DIRECT
      - 🇭🇰 香港优选
      - 🇭🇰 香港节点ws
      - 🇹🇼 台湾节点ws
      - 🇭🇰 香港节点ss
      - 🇹🇼 台湾节点ss
  - name: 🎮 Steam
    type: select
    proxies:
      - DIRECT
      - PROXY
  - name: ⚛ OpenAI
    type: select
    proxies:
      - ⚛ GPT优选
      - 🇹🇼 台湾节点ws
      - 🇸🇬 狮城节点ws
      - 🇯🇵 日本节点ws
      - 🇹🇼 台湾节点ss
      - 🇸🇬 狮城节点ss
      - 🇯🇵 日本节点ss
  - name: PROXY
    type: select
    proxies:
      - 🇭🇰 香港优选
      - 🇭🇰 香港节点ws
      - 🇹🇼 台湾节点ws
      - 🇸🇬 狮城节点ws
      - 🇯🇵 日本节点ws
      - 🇭🇰 香港节点ss
      - 🇹🇼 台湾节点ss
      - 🇸🇬 狮城节点ss
      - 🇯🇵 日本节点ss
rules:
  - GEOSITE,private,DIRECT
  - GEOIP,private,DIRECT,no-resolve
  - GEOSITE,category-ads-all,REJECT
  - DOMAIN,upos-hz-mirrorakam.akamaized.net,DIRECT
  - DOMAIN-SUFFIX,bilivideo.cn,DIRECT
  - DOMAIN-SUFFIX,bilivideo.com,DIRECT
  - DOMAIN-SUFFIX,bilivideo.net,DIRECT
  - GEOSITE,bilibili,📺 Bilibili
  - GEOIP,bilibili,📺 Bilibili,no-resolve
  - GEOSITE,steam,🎮 Steam
  - GEOSITE,openai,⚛ OpenAI
  - GEOSITE,github,PROXY
  - GEOSITE,youtube,PROXY
  - GEOSITE,google-cn,DIRECT
  - GEOSITE,google,PROXY
  - GEOIP,google,PROXY,no-resolve
  - GEOSITE,telegram,PROXY
  - GEOIP,telegram,PROXY,no-resolve
  - GEOSITE,twitter,PROXY
  - GEOIP,twitter,PROXY,no-resolve
  - GEOSITE,apple,DIRECT
  - GEOIP,apple,DIRECT,no-resolve
  - GEOSITE,microsoft,DIRECT
  - GEOSITE,geolocation-!cn,PROXY
  - GEOSITE,cn,DIRECT
  - GEOIP,cn,DIRECT
  - MATCH,PROXY
dns:
  enable: true
  listen: null
  enhanced-mode: redir-host
  respect-rules: false
  ipv6: true
  proxy-server-nameserver:
    - https://223.5.5.5/dns-query#h3=true
  nameserver:
    - https://1.1.1.1/dns-query#h3=true
    - https://8.8.8.8/dns-query#PROXY
  nameserver-policy:
    geosite:private: dhcp://以太网
    geosite:bilibili: https://223.5.5.5/dns-query#h3=true
    geosite:steam: https://223.5.5.5/dns-query#h3=true
    geosite:google-cn: https://223.5.5.5/dns-query#h3=true
    geosite:apple: https://223.5.5.5/dns-query#h3=true
    geosite:microsoft: https://223.5.5.5/dns-query#h3=true
    geosite:cn: https://223.5.5.5/dns-query#h3=true
  fallback: null
  fallback-filter: null
tun:
  enable: true
  stack: mixed
  device: Mihomo
  mtu: 1500
  dns-hijack:
    - any:53
  strict-route: true
  auto-route: true
  auto-detect-interface: true

描述

win11在tun模式下本地ula地址的smb连接没有绕过核心

日志未能发现有帮助的信息,只有匹配规则并建立连接的信息(最后一条)

重现方式

./mihomo -d ./ | Out-File -FilePath ".\log.txt" 在目录裸核运行mihomo并输出日志

在本机资源管理器通过\主机名,连接smb服务器上下载/上传文件

路由器启用了slaac和dhcpv6,ula地址范围为fd00::/64 本机的dhcpv6后缀指定为::4,smb服务器的dhcpv6后缀指定为::8

windows的ipconfig /all信息如下

以太网适配器 以太网:

连接特定的 DNS 后缀 . . . . . . . : lan 描述. . . . . . . . . . . . . . . : Realtek Gaming 2.5GbE Family Controller 物理地址. . . . . . . . . . . . . : DHCP 已启用 . . . . . . . . . . . : 是 自动配置已启用. . . . . . . . . . : 是 IPv6 地址 . . . . . . . . . . . . : 2409:::4(首选) 获得租约的时间 . . . . . . . . . : 2024年9月25日 4:01:47 租约过期的时间 . . . . . . . . . : 2024年9月27日 8:56:15 IPv6 地址 . . . . . . . . . . . . : 2409:slaac(首选) IPv6 地址 . . . . . . . . . . . . : fd00::4(首选) 获得租约的时间 . . . . . . . . . : 2024年9月25日 4:01:48 租约过期的时间 . . . . . . . . . : 2160年11月1日 12:16:33 IPv6 地址 . . . . . . . . . . . . : fd00::slaac(首选) 临时 IPv6 地址. . . . . . . . . . : 2409:slaac(首选) 临时 IPv6 地址. . . . . . . . . . : fd00::slaac(首选) 本地链接 IPv6 地址. . . . . . . . : fe80::%20(首选) IPv4 地址 . . . . . . . . . . . . : 192.168.0.4(首选) 子网掩码 . . . . . . . . . . . . : 255.255.255.0 获得租约的时间 . . . . . . . . . : 2024年9月25日 4:01:46 租约过期的时间 . . . . . . . . . : 2160年11月1日 12:16:33 默认网关. . . . . . . . . . . . . : fe80::%20 192.168.0.1 DHCP 服务器 . . . . . . . . . . . : 192.168.0.1 DHCPv6 IAID . . . . . . . . . . . : DHCPv6 客户端 DUID . . . . . . . : DNS 服务器 . . . . . . . . . . . : fd00::1 192.168.0.1 TCPIP 上的 NetBIOS . . . . . . . : 已启用

日志

time="2024-09-25T05:35:57.1423615+08:00" level=info msg="Start initial configuration in progress"
time="2024-09-25T05:35:57.1469253+08:00" level=info msg="Geodata Loader mode: standard"
time="2024-09-25T05:35:57.1469253+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2024-09-25T05:35:57.1469253+08:00" level=info msg="Load GeoSite rule: cn"
time="2024-09-25T05:35:57.2768784+08:00" level=info msg="Load GeoSite rule: private"
time="2024-09-25T05:35:57.2954301+08:00" level=info msg="Finished initial GeoSite rule private => DIRECT, records: 131"
time="2024-09-25T05:35:57.2954301+08:00" level=info msg="Load GeoIP rule: cn"
time="2024-09-25T05:35:57.2974271+08:00" level=info msg="Load GeoIP rule: private"
time="2024-09-25T05:35:57.2984199+08:00" level=info msg="Finished initial GeoIP rule private => DIRECT, records: 18"
time="2024-09-25T05:35:57.2984199+08:00" level=info msg="Load GeoSite rule: category-ads-all"
time="2024-09-25T05:35:57.3176258+08:00" level=info msg="Finished initial GeoSite rule category-ads-all => REJECT, records: 753"
time="2024-09-25T05:35:57.3176258+08:00" level=info msg="Load GeoSite rule: bilibili"
time="2024-09-25T05:35:57.3346293+08:00" level=info msg="Finished initial GeoSite rule bilibili => 馃摵 Bilibili, records: 50"
time="2024-09-25T05:35:57.3346293+08:00" level=info msg="Load GeoIP rule: bilibili"
time="2024-09-25T05:35:57.3356224+08:00" level=info msg="Finished initial GeoIP rule bilibili => 馃摵 Bilibili, records: 8"
time="2024-09-25T05:35:57.3356224+08:00" level=info msg="Load GeoSite rule: steam"
time="2024-09-25T05:35:57.3543356+08:00" level=info msg="Finished initial GeoSite rule steam => 馃幃 Steam, records: 48"
time="2024-09-25T05:35:57.3543356+08:00" level=info msg="Load GeoSite rule: openai"
time="2024-09-25T05:35:57.3718587+08:00" level=info msg="Finished initial GeoSite rule openai => 鈿?OpenAI, records: 13"
time="2024-09-25T05:35:57.3718587+08:00" level=info msg="Load GeoSite rule: github"
time="2024-09-25T05:35:57.3908252+08:00" level=info msg="Finished initial GeoSite rule github => PROXY, records: 27"
time="2024-09-25T05:35:57.3908252+08:00" level=info msg="Load GeoSite rule: youtube"
time="2024-09-25T05:35:57.4088999+08:00" level=info msg="Finished initial GeoSite rule youtube => PROXY, records: 176"
time="2024-09-25T05:35:57.4088999+08:00" level=info msg="Load GeoSite rule: google-cn"
time="2024-09-25T05:35:57.428877+08:00" level=info msg="Finished initial GeoSite rule google-cn => DIRECT, records: 190"
time="2024-09-25T05:35:57.428877+08:00" level=info msg="Load GeoSite rule: google"
time="2024-09-25T05:35:57.4483793+08:00" level=info msg="Finished initial GeoSite rule google => PROXY, records: 1135"
time="2024-09-25T05:35:57.4483793+08:00" level=info msg="Load GeoIP rule: google"
time="2024-09-25T05:35:57.4493764+08:00" level=info msg="Finished initial GeoIP rule google => PROXY, records: 559"
time="2024-09-25T05:35:57.4493764+08:00" level=info msg="Load GeoSite rule: telegram"
time="2024-09-25T05:35:57.4669292+08:00" level=info msg="Finished initial GeoSite rule telegram => PROXY, records: 19"
time="2024-09-25T05:35:57.4669292+08:00" level=info msg="Load GeoIP rule: telegram"
time="2024-09-25T05:35:57.467938+08:00" level=info msg="Finished initial GeoIP rule telegram => PROXY, records: 12"
time="2024-09-25T05:35:57.467938+08:00" level=info msg="Load GeoSite rule: twitter"
time="2024-09-25T05:35:57.4871044+08:00" level=info msg="Finished initial GeoSite rule twitter => PROXY, records: 23"
time="2024-09-25T05:35:57.4871044+08:00" level=info msg="Load GeoIP rule: twitter"
time="2024-09-25T05:35:57.4881424+08:00" level=info msg="Finished initial GeoIP rule twitter => PROXY, records: 21"
time="2024-09-25T05:35:57.4881424+08:00" level=info msg="Load GeoSite rule: apple"
time="2024-09-25T05:35:57.5074538+08:00" level=info msg="Finished initial GeoSite rule apple => DIRECT, records: 1771"
time="2024-09-25T05:35:57.5074538+08:00" level=info msg="Load GeoIP rule: apple"
time="2024-09-25T05:35:57.5094586+08:00" level=info msg="Finished initial GeoIP rule apple => DIRECT, records: 10"
time="2024-09-25T05:35:57.5094586+08:00" level=info msg="Load GeoSite rule: microsoft"
time="2024-09-25T05:35:57.5270465+08:00" level=info msg="Finished initial GeoSite rule microsoft => DIRECT, records: 632"
time="2024-09-25T05:35:57.5270465+08:00" level=info msg="Load GeoSite rule: geolocation-!cn"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule geolocation-!cn => PROXY, records: 30934"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule cn => DIRECT, records: 92130"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoIP rule cn => DIRECT, records: 7461"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule private => dns.nameserver-policy, records: 131"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule bilibili => dns.nameserver-policy, records: 50"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule steam => dns.nameserver-policy, records: 48"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule google-cn => dns.nameserver-policy, records: 190"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule apple => dns.nameserver-policy, records: 1771"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule microsoft => dns.nameserver-policy, records: 632"
time="2024-09-25T05:35:57.5831359+08:00" level=info msg="Finished initial GeoSite rule cn => dns.nameserver-policy, records: 92130"
time="2024-09-25T05:35:57.5861315+08:00" level=info msg="Initial configuration complete, total time: 439ms"
time="2024-09-25T05:35:57.5861315+08:00" level=info msg="RESTful API listening at: 127.0.0.1:9090"
time="2024-09-25T05:35:57.5871277+08:00" level=info msg="Sniffer is closed"
time="2024-09-25T05:35:57.5871277+08:00" level=info msg="Use tcp concurrent"
time="2024-09-25T05:35:57.5871277+08:00" level=info msg="HTTP proxy listening at: 127.0.0.1:25378"
time="2024-09-25T05:35:57.5871277+08:00" level=info msg="Mixed(http+socks) proxy listening at: 127.0.0.1:25379"
time="2024-09-25T05:35:58.0044247+08:00" level=info msg="[TUN] Tun adapter listening at: Mihomo([198.18.0.1/30],[fdfe:dcba:9876::1/126]), mtu: 1500, auto route: true, auto redir: false, ip stack: Mixed"
time="2024-09-25T05:35:58.0070928+08:00" level=info msg="Start initial Compatible provider PROXY"
time="2024-09-25T05:35:58.0070928+08:00" level=info msg="Start initial Compatible provider 馃幃 Steam"
time="2024-09-25T05:35:58.0070928+08:00" level=info msg="Start initial Compatible provider 鈿?OpenAI"
time="2024-09-25T05:35:58.0070928+08:00" level=info msg="Start initial Compatible provider 馃摵 Bilibili"
time="2024-09-25T05:35:58.0070928+08:00" level=info msg="Start initial Compatible provider default"
time="2024-09-25T05:35:58.0070928+08:00" level=info msg="UI already exists, skip downloading"
time="2024-09-25T05:35:58.0314008+08:00" level=debug msg="[https://223.5.5.5:443/dns-query] using HTTP/3 for this upstream: QUIC was faster"
time="2024-09-25T05:35:58.0319344+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:35:58.0319344+08:00" level=info msg="[UDP] 198.18.0.1:60853 --> 223.5.5.5:443 match GeoIP(cn) using DIRECT"
time="2024-09-25T05:35:58.0629649+08:00" level=debug msg="[DNS] go.microsoft.com --> [23.32.225.160] A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:35:58.0629649+08:00" level=debug msg="[DNS] go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:35:58.0634714+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:35:58.0634714+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:01"
time="2024-09-25T05:35:58.0634714+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:35:58.1273532+08:00" level=info msg="[TCP] 198.18.0.1:3543 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:35:58.2634754+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:35:58.2634754+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:01"
time="2024-09-25T05:35:58.2634754+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:35:58.3046489+08:00" level=info msg="[TCP] 198.18.0.1:3547 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] hijack udp:[fdfe:dcba:9876::2]:53 from [fdfe:dcba:9876::1]:58103"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] hijack udp:[fdfe:dcba:9876::2]:53 from [fdfe:dcba:9876::1]:61818"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] resolve www.msftconnecttest.com A from https://1.1.1.1:443/dns-query"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="creating a new http client"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] resolve www.msftconnecttest.com A from https://8.8.8.8:443/dns-query"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="creating a new http client"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[https://8.8.8.8:443/dns-query] using HTTP/2 for this upstream: <nil>"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] resolve www.msftconnecttest.com AAAA from https://8.8.8.8:443/dns-query"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] resolve www.msftconnecttest.com AAAA from https://1.1.1.1:443/dns-query"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] resolve 节点域名 A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[DNS] resolve 节点域名 AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:35:58.4266555+08:00" level=debug msg="[https://1.1.1.1:443/dns-query] using HTTP/3 for this upstream: QUIC was faster"
time="2024-09-25T05:35:58.4271569+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:35:58.4271569+08:00" level=debug msg="PROXY UDP is not supported"
time="2024-09-25T05:35:58.4271569+08:00" level=info msg="[UDP] 198.18.0.1:61820 --> 1.1.1.1:443 doesn't match any rule using DIRECT"
time="2024-09-25T05:35:58.4368383+08:00" level=debug msg="[DNS] 节点域名 --> [162.*] A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:35:58.4368383+08:00" level=debug msg="[DNS] 节点域名 --> [2606:*] AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:35:58.5134605+08:00" level=debug msg="[DNS] www.msftconnecttest.com --> [23.220.70.165 23.220.70.142] A from https://1.1.1.1:443/dns-query"
time="2024-09-25T05:35:58.5139663+08:00" level=debug msg="[DNS] www.msftconnecttest.com --> [] AAAA from https://1.1.1.1:443/dns-query"
time="2024-09-25T05:35:58.5808985+08:00" level=info msg="[TCP] mihomo --> 8.8.8.8:443 doesn't match any rule using 馃嚟馃嚢 棣欐腐浼橀€?
time="2024-09-25T05:35:58.7294231+08:00" level=debug msg="[DNS] www.msftconnecttest.com --> [] AAAA from https://8.8.8.8:443/dns-query"
time="2024-09-25T05:35:58.733713+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:35:58.7342932+08:00" level=debug msg="[DNS] cache hit 节点域名 --> [162.*] A, expire at 2024-09-25 05:35:59"
time="2024-09-25T05:35:58.7342932+08:00" level=debug msg="[DNS] cache hit 节点域名 --> [2606:*] AAAA, expire at 2024-09-25 05:35:59"
time="2024-09-25T05:35:58.8785601+08:00" level=info msg="[TCP] 198.18.0.1:3552 --> www.msftconnecttest.com:80 match Match using PROXY[馃嚟馃嚢 棣欐腐浼橀€塢"
time="2024-09-25T05:36:00.1456166+08:00" level=debug msg="[DNS] resolve geo.prod.do.dsp.mp.microsoft.com A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:00.1456166+08:00" level=debug msg="[DNS] resolve geo.prod.do.dsp.mp.microsoft.com AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:00.1533295+08:00" level=debug msg="[DNS] geo.prod.do.dsp.mp.microsoft.com --> [] AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:00.1538458+08:00" level=debug msg="[DNS] geo.prod.do.dsp.mp.microsoft.com --> [13.74.142.6] A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:00.1543514+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:00.1543514+08:00" level=debug msg="[DNS] cache hit geo.prod.do.dsp.mp.microsoft.com --> [13.74.142.6] A, expire at 2024-09-25 05:37:37"
time="2024-09-25T05:36:00.1543514+08:00" level=debug msg="[DNS] cache hit geo.prod.do.dsp.mp.microsoft.com --> [] AAAA, expire at 2024-09-25 05:36:01"
time="2024-09-25T05:36:00.407596+08:00" level=info msg="[TCP] 198.18.0.1:3554 --> geo.prod.do.dsp.mp.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:01.2001631+08:00" level=debug msg="[DNS] resolve kv601.prod.do.dsp.mp.microsoft.com A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:01.2001631+08:00" level=debug msg="[DNS] resolve kv601.prod.do.dsp.mp.microsoft.com AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:01.2090421+08:00" level=debug msg="[DNS] kv601.prod.do.dsp.mp.microsoft.com --> [] AAAA from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:01.2090421+08:00" level=debug msg="[DNS] kv601.prod.do.dsp.mp.microsoft.com --> [23.37.117.177] A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:01.2116591+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:01.2121866+08:00" level=debug msg="[DNS] cache hit kv601.prod.do.dsp.mp.microsoft.com --> [23.37.117.177] A, expire at 2024-09-25 05:36:26"
time="2024-09-25T05:36:01.2121866+08:00" level=debug msg="[DNS] cache hit kv601.prod.do.dsp.mp.microsoft.com --> [] AAAA, expire at 2024-09-25 05:36:02"
time="2024-09-25T05:36:01.277947+08:00" level=info msg="[TCP] 198.18.0.1:3556 --> kv601.prod.do.dsp.mp.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.1114402+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:01"
time="2024-09-25T05:36:05.1114402+08:00" level=debug msg="[DNS] resolve go.microsoft.com A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:05.1119416+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.1119416+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:01"
time="2024-09-25T05:36:05.1119416+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.120107+08:00" level=debug msg="[DNS] go.microsoft.com --> [23.32.225.160] A from https://223.5.5.5:443/dns-query"
time="2024-09-25T05:36:05.1564839+08:00" level=info msg="[TCP] 198.18.0.1:3559 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.2539721+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.2539721+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:05.2539721+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.2966715+08:00" level=info msg="[TCP] 198.18.0.1:3563 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.3919049+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.3919049+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.3919049+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:05.433685+08:00" level=info msg="[TCP] 198.18.0.1:3567 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.5223815+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.5229229+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:05.5229229+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.5645929+08:00" level=info msg="[TCP] 198.18.0.1:3571 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.665197+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.6657083+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:05.6657083+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.708153+08:00" level=info msg="[TCP] 198.18.0.1:3575 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.8163987+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.8163987+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:05.8169512+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.8577889+08:00" level=info msg="[TCP] 198.18.0.1:3579 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:05.9532827+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:05.9532827+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:05.9532827+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:05.9945903+08:00" level=info msg="[TCP] 198.18.0.1:3583 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:06.0839793+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:06.0839793+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [23.32.225.160] A, expire at 2024-09-25 05:36:31"
time="2024-09-25T05:36:06.0839793+08:00" level=debug msg="[DNS] cache hit go.microsoft.com --> [2600:140b:a00:38f::2c1a 2600:140b:a00:399::2c1a] AAAA, expire at 2024-09-25 05:36:28"
time="2024-09-25T05:36:06.125919+08:00" level=info msg="[TCP] 198.18.0.1:3587 --> go.microsoft.com:443 match GeoSite(microsoft) using DIRECT"
time="2024-09-25T05:36:07.0997817+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:07.0997817+08:00" level=info msg="[UDP] 198.18.0.1:58429 --> 150.138.226.253:41234 match GeoIP(cn) using DIRECT"
time="2024-09-25T05:36:18.0181096+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:18.0354217+08:00" level=info msg="[UDP] 198.18.0.1:58431 --> 218.12.121.55:41234 match GeoIP(cn) using DIRECT"
time="2024-09-25T05:36:24.2132719+08:00" level=debug msg="[Rule] use default rules"
time="2024-09-25T05:36:24.2154207+08:00" level=info msg="[TCP] [fdfe:dcba:9876::1]:3591 --> [fd00::8]:445 match GeoIP(private) using DIRECT"
rumianoesa commented 20 hours ago

尝试通过route-exclude-address解决

在配置文件添加 route-exclude-address:

smb连接没有绕过核心,通过isp前缀的dhcpv6地址建立了连接

将isp的网段也排除 route-exclude-address:

有效,smb连接不再经过核心

rumianoesa commented 20 hours ago

推测为auto-route在windows自动设置全局路由时,无法检测并排除路由器下发的ipv6公网网段和ula网段,或是无法适用于smb等windows系统服务