Skip to content

[Bug] conn.Receive: netlink receive: operation not supported #2341

@tkvycom-lgtm

Description

@tkvycom-lgtm

验证步骤

  • 我已经阅读了 文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我仔细看过 文档 并未解决问题
  • 我已在 Issue Tracker 中寻找过我要提出的问题,并且没有找到
  • 我是中文用户,而非其他语言用户
  • 我已经使用最新的 Alpha 分支版本测试过,问题依旧存在
  • 我提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器或者堆砌大量对于复现无用的配置等。
  • 我提供了完整的日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
  • 我直接使用 Mihomo 命令行程序重现了错误,而不是使用其他工具或脚本。

操作系统

Linux

系统版本

Linux version 5.4.0-216-generic (buildd@lcy02-amd64-014) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)) #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025

Mihomo 版本

Mihomo Meta v1.19.14 linux amd64 with go1.25.1 Wed Sep 24 09:08:18 UTC 2025
Use tags: with_gvisor

配置文件

allow-lan: false
bind-address: '*'
clash-for-android:
  append-system-dns: false
  ui-subtitle-pattern: ""
disable-keep-alive: false
dns:
  cache-algorithm: arc
  cache-max-size: 0
  default-nameserver:
  - 8.8.8.8
  - 114.114.114.114
  - tls://1.12.12.12:853
  - tls://223.5.5.5:853
  - system
  direct-nameserver: null
  direct-nameserver-follow-policy: false
  enable: true
  enhanced-mode: fake-ip
  fake-ip-filter:
  - dns.msftnsci.com
  - www.msftnsci.com
  - www.msftconnecttest.com
  fake-ip-filter-mode: blacklist
  fake-ip-range: 198.18.0.1/16
  fallback:
  - tls://8.8.4.4
  - tls://1.1.1.1
  fallback-filter:
    domain: null
    geoip: true
    geoip-code: CN
    geosite: []
    ipcidr: []
  ipv6: false
  ipv6-timeout: 100
  listen: 0.0.0.0:53
  nameserver:
  - 114.114.114.114
  - 8.8.8.8
  - tls://223.5.5.5:853
  - https://doh.pub/dns-query
  nameserver-policy: null
  prefer-h3: false
  proxy-server-nameserver: null
  respect-rules: false
  use-hosts: true
  use-system-hosts: true
etag-support: true
experimental:
  dialer-ip4p-convert: false
  fingerprints: null
  quic-go-disable-ecn: true
  quic-go-disable-gso: false
external-controller: 0.0.0.0:9090
external-controller-cors:
  allow-origins:
  - '*'
  allow-private-network: true
external-controller-pipe: ""
external-controller-tls: 127.0.0.1:9443
external-controller-unix: ""
external-doh-server: /dns-query
external-ui: ""
external-ui-name: ""
external-ui-url: https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip
find-process-mode: "off"
geo-auto-update: false
geo-update-interval: 24
geodata-loader: memconservative
geodata-mode: false
geosite-matcher: ""
geox-url:
  asn: https://raw.githubusercontent.com/Loyalsoldier/geoip/release/GeoLite2-ASN.mmdb
  geoip: https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
  geosite: https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
  mmdb: https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb
global-client-fingerprint: ""
global-ua: clash.meta/v1.15
hosts: null
inbound-mptcp: false
inbound-tfo: false
interface-name: ""
iptables:
  bypass:
  - 47.76.203.10/32
  dns-redirect: true
  enable: false
  inbound-interface: lo
ipv6: false
keep-alive-idle: 15
keep-alive-interval: 15
lan-allowed-ips:
- 0.0.0.0/0
- ::/0
lan-disallowed-ips: null
listeners:
- name: socks5-in-1
  port: 10808
  type: socks
log-level: info
mixed-port: 0
mode: rule
ntp:
  dialer-proxy: ""
  enable: false
  interval: 30
  port: 123
  server: time.cloudflare.com
  write-to-system: false
port: 0
profile:
  store-fake-ip: false
  store-selected: true
proxy-providers: null
redir-port: 0
routing-mark: 0
rules:
- MATCH,DIRECT
secret: vastmediads
skip-auth-prefixes:
- 127.0.0.1/8
- ::1/128
sniffer:
  enable: false
  force-dns-mapping: true
  force-domain: []
  override-destination: true
  parse-pure-ip: true
  port-whitelist: []
  skip-domain: []
  skip-dst-address: null
  skip-src-address: null
  sniff:
    HTTP:
      override-destination: true
      ports:
      - "80"
      - "8010"
      - 8080-8880
    TLS:
      override-destination: null
      ports:
      - "443"
      - "8443"
      - "8004"
  sniffing: null
socks-port: 0
ss-config: ""
tcp-concurrent: false
tls:
  certificate: ""
  client-auth-cert: ""
  client-auth-type: ""
  custom-certifactes: null
  ech-key: ""
  private-key: ""
tproxy-port: 0
tuic-server:
  alpn:
  - h3
  authentication-timeout: 1000
  certificate: ""
  enable: false
  listen: ""
  max-idle-time: 15000
  max-udp-relay-packet-size: 1500
  private-key: ""
  token: null
tun:
  auto-detect-interface: true
  auto-redirect: true
  auto-route: true
  device: vmNetwork
  dns-hijack:
  - 0.0.0.0:53
  enable: true
  exclude-interface:
  - lo
  file-descriptor: 0
  inet6-address:
  - fdfe:dcba:9876::1/126
  recvmsgx: true
  route-address:
  - 0.0.0.0/1
  - 128.0.0.0/1
  stack: Mixed
  strict-route: true
tunnels: null
unified-delay: false
vmess-config: ""

描述

WARN[2025-11-06T08:59:03.226378200Z] [TUN] default interface changed by monitor, => eth0
ERRO[2025-11-06T08:59:03.357142500Z] Start TUN listening error: auto redirect: conn.Receive: netlink receive: operation not supported

重现方式

./mihomo-linux-amd64-v3-v1.19.14

日志

WARN[2025-11-06T09:09:55.334985500Z] [TUN] default interface changed by monitor, => eth0
ERRO[2025-11-06T09:09:55.495204500Z] Start TUN listening error: auto redirect: conn.Receive: netlink receive: operation not supported
netlink receive: operation not supported
INFO[2025-11-06T09:09:55.495446600Z] Start initial compatible provider default

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions