MetaCubeX / mihomo

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

[Bug] IN-USER 不生效(实际是入口名字,而不是用户名) #1214

Closed arkxfly closed 7 months ago

arkxfly commented 7 months ago

Verify steps

Mihomo version

1.18.3

What OS are you seeing the problem on?

No response

Mihomo config

listeners:
- name: mixed
  type: mixed
  port: 7892
  listen: 0.0.0.0
  udp: true

authentication:
- "aaa:a123456"

rules:
  - IN-USER,aaa,USERA

Mihomo log

No response

Description

IN-USER 的值为 mixed,而不是 aaa ,导致匹配不到规则。

xishang0128 commented 7 months ago

@arkxfly 仅vmess等在listeners配置user的支持in-user,这是预期行为

xishang0128 commented 7 months ago

好了,现在http/socks有in user了