Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] level=warning msg="Deprecated: Use Sniff instead" #1381

Closed
5 of 7 tasks
h0NponJR opened this issue Jul 11, 2024 · 1 comment
Closed
5 of 7 tasks

[Bug] level=warning msg="Deprecated: Use Sniff instead" #1381

h0NponJR opened this issue Jul 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@h0NponJR
Copy link

Verify steps

  • I have read the documentation and understand the meaning of all configuration items I have written, avoiding a large number of seemingly useful options or default values.
  • I have not reviewed the documentation and resolve this issue.
  • I have not searched the Issue Tracker for the problem I am going to raise.
  • I have tested with the latest Alpha branch version, and the issue still persists.
  • I have provided server and client configuration files and processes that can reproduce the issue locally, rather than a desensitized complex client configuration file.
  • I have provided the simplest configuration that can reproduce the error I reported, rather than relying on remote servers, TUN, graphical client interfaces, or other closed-source software.
  • I have provided complete configuration files and logs, rather than providing only parts that I believe are useful due to confidence in my own intelligence.

Operating System

Linux

System Version

Ubuntu 24.04 LTS

Mihomo Version

Mihomo Meta alpha-0e22876 linux amd64 with go1.22.4 Fri Jun 28 06:16:30 UTC 2024

Configuration File

mixed-port: 7890
socks-port: 7891
redir-port: 7892
tproxy-port: 7893
allow-lan: true
ipv6: true

mode: Rule

log-level: info
external-controller: 0.0.0.0:9090
routing-mark: 255
secret: ''

sniffer:
  enable: true
  force-dns-mapping: true
  parse-pure-ip: true
  override-destination: true

proxies:
proxy-groups:
  - name: Manual
    type: select
    proxies:
      - DIRECT

rules:
  - MATCH,Manual

Description

When the mihomo is starting, the level=warning msg="Deprecated: Use Sniff instead" appears in logs

Reproduction Steps

Enable sniffer in configuration and start mihomo

Logs

level=warning msg="Deprecated: Use Sniff instead
@h0NponJR h0NponJR added the bug Something isn't working label Jul 11, 2024
@xishang0128
Copy link

Output corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants